Renaminator: Difference between revisions
No edit summary |
No edit summary |
||
Line 21: | Line 21: | ||
TTH->filename. | TTH->filename. | ||
Simple enough and it will give much better results than a flat file ever would. | Simple enough and it will give much better results than a flat file ever would. | ||
==Future== | |||
Once a stable version is finalized, I would like to make the Renaminator maintain a etree like list that will be on splra. This will be nice for the end user as it will automatically know the source and all of the details. | |||
Well that is all for now, more to come later when I am not so busy | |||
-Syco54645 |
Revision as of 10:57, 10 November 2005
Renaminator
Reason
The Renaminator is a program that is being made to help add some order to the smashing pumpkins community. Most people in the hub (cid included) are for the uniform renaming of the material as it will help keep sources straight.
Usage
The Renaminator will use calculate the tth sum of all files in a directory (recursevly) and compare the calculated sum to a berkeley db file. For this reason the Renaminator will be very useful to other communities wishing to do the same thing.
When scanning if the program finds a shn or flac (I may add ape too) file that is not in the database, it then creates a submission form. Since the files will likely be named Track01.shn or Track01.flac, the program will make a note of the directory the said files were found in. It will then prompt the user to enter information about the files (source, venue, date, etc) to be sent into the SPLRA team that is responsible for maintaining the database for the renaminator.
Specifications
The new version of the Renaminator will again be in perl (though no aditional software will be needed for windows users to run it as I have bundled cygwin perl with it). The program will be getting a frontend made by Dan which will hopefully be ready as soon as the program is done, if not the usage is not hard at all.
At the current time it is perl.exe renaminator.pl c:\scan_directory [yes|no]
If you are wondering what the yes no option is, it is to automatically get the new text and md5 files (the only text that will be changed is the ffp and the file names). This option is extremely dangerous to run and at the moment is alway set to no.
Since I do not know how to calculate a tth and am too lazy to learn the Renaminator will be using c code to accomplish this. Here i have two options. The first (and easier) is just to make the program call tthsum.exe and get the tth that way. The other (and more difficult) way is to use Inline::C and actually put the c code into the renaminator. I am not sure if this will work as I have yet to try it because I am currently using the first method.
The database setup will be as follows: TTH->filename. Simple enough and it will give much better results than a flat file ever would.
Future
Once a stable version is finalized, I would like to make the Renaminator maintain a etree like list that will be on splra. This will be nice for the end user as it will automatically know the source and all of the details.
Well that is all for now, more to come later when I am not so busy
-Syco54645