I've been trumping up the ability to add songs to itunes that are in the directory but not in the itunes library, for example, the file exists in c:\music where itunes stores the music, but the file has not been added to itunes yet. The bug occurs when the "Copy files to iTunes Media Folder when adding to library" option is turned on. Here's what happens....
- Add songs to library using iTunesDSM...itunes adds the song to the library and adds the file to the organized folder in the library root folder
- If the file was already there, it is duplicated, i.e. a number is added to the end of the file.
- iTunes references the duplicated file in the library...not the original.
- Tab over to the remove duplicates tab in iTunesDSM and the program dutifully finds all the recently created duplicates and the user backs them up, deletes them, and removes orphaned files in iTunes.
- All of the songs that were added in step 1-3 are removed since they are orphaned and we are now back to where we started.
If they are not properly organized before hand, the files will remain in place and itunes will reference that song outside of the usual itunes library.
This will be a tricky fix and will delay the next release.
In other aspects of the program...I have created a new icon for the program (at the top). It's basic but it gets rid of the java cup icon. Also the backup function will ask the user should the duplicate file overwrite an existing file. It's unlikely to happen but it needs to be there.