Sat 18th Jun 2005
Posted late at night, filed under
Music.
The BBC has a heap of stuff available on their website as part of the Beethoven Experience, but I found my copy of RealPlayer had expired. I’d rather dump the data to disk and listen to it later (on my iPod, probably).
But, the only ways I could find to do this didn’t work with the software I had. Specifically:
mplayer -dumpstream rtsp://rmv8.bbc.net.uk/radio3/classical/pizarro/sonata01.rm
fails, as does using VLC. I’m downloading newer versions of both of these, but I’m not that hopeful.
Mplayer seems to not want to access network protocols, VLC cannot decode. Nor can it just dump to disk, without interpreting the data.
Sat 18th Jun 2005
Posted mid-afternoon, filed under
Python ,
iTunes.
I now have the code to check the library XML file and see if there are missing tracks (ie, the files are not where they are expected to be). This code is quite slow, but simple to follow. (It took around 2 min to run).
I also have the code that gets a list of the files in the library directory. It must be simple to combine this information, and work out which ones are:
- Files that are ‘new’: they only exist on disk, not in the library.
Chances are they were added by another user.
- Files that have become detached: there is a file and a library location, but they don’t quite match up.
This is probably because the users have ‘Keep Library Arranged’ turned on, and one of them has made a change to a track name, artist or album; or made a change to the compilation flag.
The trick will be having the list of files, and removing items from the list that have been located in the library. This will leave list that just need to be sorted into alpha and beta above.
(more…)
Comments Off