Skip to main content
Topic: rg_Info.php - Tool to show version of current song (Read 22132 times) previous topic - next topic

rg_Info.php - Tool to show version of current song

Sometimes it is useful to know what version of NWC was used to create a file.
This little tool may help.
Registered user since 1996

Re: rg_Info.php - Tool to show version of current song

Reply #1
Thanks Rick.

All working well.  Good to have this, rather than dropping into command mode to run nwc-conv.

Cheers
Rich.

Re: rg_Info.php - Tool to show version of current song

Reply #2
Rick,
this can be very useful.

For a dumb bloke like me,
please spell out, step by slow step,
how it is to be used.

Thank you.

Re: rg_Info.php - Tool to show version of current song

Reply #3
please spell out, step by slow step, how it is to be used.
You must be using NWC 2.5
NWC 2.5 is available in the Back Stage area in this forum.

Download the code from <here>.
Save it to your User Tool scripts folder as: rg_Info.php

Open a song into NWC 2.5
Do not use the Open Samples Command.

Press ALT+F8, click on 'New...'
For 'Name:', I simply called it 'Info'
Click on 'Browse...' and open rg_Info.php from the list.
Under 'Input Type', select 'File Text'
Leave the 'Options' unchecked.
Registered user since 1996

Re: rg_Info.php - Tool to show version of current song

Reply #4
Updated to version 1.22
'Options: Compress Input' supported (no speed advantage to this).
'Options: Long Task Handling' may be needed with large files on slow machines.
Registered user since 1996

Re: rg_Info.php - Tool to show version of current song

Reply #5
It seems that some problems resulted from a mangled forum download. I have replaced the open code with an attachment. Anyone with an old copy of rg_Info.php should replace it with the attachment at the top of this topic.
Registered user since 1996

Re: rg_Info.php - Tool to show version of current song

Reply #6
The forum mangling problem with code downloads should now be fixed.

Re: rg_Info.php - Tool to show version of current song

Reply #7
Rick,
Thanks for your installation instructions.
My apologies for taking so long.

I installed the latest rg_Info.php,
(but did NOT understand all the options available nowadays)
opened a file in NWC 2.5 Beta Preview 26
ran rg_Info as a user tool

and the output was to Stdout,
showing NWC and SMF playing times.

Re: rg_Info.php - Tool to show version of current song

Reply #8
the output was to Stdout
Were you expecting the output to go somewhere else?

showing NWC and SMF playing times.
For a new song (or a song opened via the Open Samples Command), this is the info that is available. The 'Title:' will also be displayed if it is not empty.

To get more info, use the Open Command or the History Commands. The version will appear in the Tool output.
Registered user since 1996