
Originally Posted by
GoHybrid
hmm... i was afraid of that. If iTunes will still correctly reproduce album art that is embedded in the mp3 with another program then maybe all is not lost. I'm going to do some looking around and see if that's the case. Then it's just a matter of telling iTunes to add all files in all folders from a cd named _______ . That shouldn't be too hard... i don't think, but i've been wrong before.
You are right. iTunes should still be able to read the album art that is embedded in the file by another program (id3 tag v2.whatever or something or another.) I can still DL CD's and add them to my iTunes library and iTunes 7.0 still picks up the album art embedded in the files. Perhaps iTunes' new way only affects songs that you are adding album art to, for the first time, within iTunes.
Yes, it's entirely possible to have iTunes add all files in all folders, etc. I wrote an importer for my front-end, AMP, that would copy all files from a folder. To have iTunes import the file, i had iTunes set to "automatically copy files to the music folder when added to the library", and then gave the following AppleScript command (I'm pasting it from my source-code, so just rip out the AppleScript from the obj-c):
PHP Code:
NSString *processSetup = [NSString stringWithFormat:@"set del_song to %@\nset this_item to \"%@\"\n", delete, hfsStylePathString];
NSString *processiTunes = @"try\ntell application \"iTunes\"\nlaunch\nset this_track to add this_item to playlist \"Library\" of source \"Library\"\nif the playlist_status is \"OK\" then\nduplicate this_track to this_playlist\nend if\nend tell\nset counter to counter + 1\nend try\n";
NSString *processDelete = @"if del_song is 1 then\ntell application \"Finder\"\ndelete this_item\nend tell\nend if\n";
NSString *scriptToRun = [NSString stringWithFormat:@"%@ %@ %@", processSetup, processiTunes, processDelete];
[AMPDiskUtils runAppleScript: scriptToRun];
(the delete was an NSString that was set to 0 or 1 depending on if the user wanted to delete the files after importing.)
Bookmarks