Menu

#112 iTunes database support

open
nobody
None
5
2007-07-16
2007-07-16
Michael
No

Not to be confised with iTunes integration, although thats a complete option for later:

Allow streamripper to open the iTunes database (specified by the user in a config file or command line option) and 1) check to see if a song exists before ripping or copying it; 2) add the song to the appropriate iTunes artist named folder if it does not already exist (and album sub folder if that info is available); 3) add a new record to the iTunes XML database in the appropriate location and format based on available information.

iTunes uses a fairly simple user accessible XML data file.

To perform this function properly the following things need to be available in code:
1) ability to create folders for artists/albums in a specified parent directory
2) ability to automatically delete songs less than a user definable size (1MB or less advertisements mostly)
3) Ability to read and write to iTunes XML file
4) ability for user to specify more directly how the stream

This should be offered both as a real time process and as a background process. In background mode it would record everything and only copy tracks that do not already exist, deleting the dupes. This off line option should be scheduleable.

It would be assumed that iTunes is not operational during ripping as interaction with the database might cause iTunes instability (test this to be sure?). Streamripper should detect and kill iTunes automatically when database access is about to happen.

Discussion


Log in to post a comment.

MongoDB Logo MongoDB