Right now, Mp3manager.clone(source, dest) always copies and renames in the same format '[artist] - [title].mp3'. This is, of course, very limited, and the main weakness of the gem holding up its release imo. We need to come up with a good format. I propose the following: a simple string, with tags to be inserted as [tagname]. This will be passed in as an argument to the command line version, or to clone(), if called from another ruby file.
example:
[artist] - [album] - [title] would clone the mp3s along the lines of 'Zamfir - Pan Flute Crazy - Pan Do Attitude (Extended Cut).mp3'
this formatting should not allow any characters that aren't valid parts of a filename. Also the '/' character should be reserved to indicate that new directories should be created (we'll track that functionality in another issue). Other things to figure out:
what do we do when the specified tag is blank (empty string) or doesn't exist?
what do we do about duplicate files?
any other ideas welcome here, this issue is also for brainstorming. :)
Right now, Mp3manager.clone(source, dest) always copies and renames in the same format '[artist] - [title].mp3'. This is, of course, very limited, and the main weakness of the gem holding up its release imo. We need to come up with a good format. I propose the following: a simple string, with tags to be inserted as [tagname]. This will be passed in as an argument to the command line version, or to clone(), if called from another ruby file.
example: [artist] - [album] - [title] would clone the mp3s along the lines of 'Zamfir - Pan Flute Crazy - Pan Do Attitude (Extended Cut).mp3'
this formatting should not allow any characters that aren't valid parts of a filename. Also the '/' character should be reserved to indicate that new directories should be created (we'll track that functionality in another issue). Other things to figure out:
any other ideas welcome here, this issue is also for brainstorming. :)