I want to write a script for merging mp3 collections. i have 2 large mp3 collections on my computer, one is mine, the other i got from my brother. i started writing it in bourne a while ago, but was unable to get it to accommodate spaces in filenames. with a recent thread from shatfield and input from testuser, now i know how to deal with that issue.
i was thinking of doing it in perl (which i don t know very well) or applescript. i want to know what you think the best choice for this is.
my goals for the script are these:
1. it should be able to recurse down directory trees.
2. it should be intelligent about duplicates. if there is a duplicate, it should choose one with a better bit rate. or bigger filesize.
3. it should be smart about filenames. some files look like "artist - trackname" while others are just "trackname" contained in album directory, in artist directory.
4. it would be nice, but not imperative, if it could use ID3 tags for decisions as well. for this, i believe the easiest way would be to use applescript, and ask iTunes for tags.
any input will be appreciated.
i was thinking of doing it in perl (which i don t know very well) or applescript. i want to know what you think the best choice for this is.
my goals for the script are these:
1. it should be able to recurse down directory trees.
2. it should be intelligent about duplicates. if there is a duplicate, it should choose one with a better bit rate. or bigger filesize.
3. it should be smart about filenames. some files look like "artist - trackname" while others are just "trackname" contained in album directory, in artist directory.
4. it would be nice, but not imperative, if it could use ID3 tags for decisions as well. for this, i believe the easiest way would be to use applescript, and ask iTunes for tags.
any input will be appreciated.