November 23, 2004
More Pointless iTunes fun with Python

iTunes isn't too great at working with selected and de-selected tracks. You can't sort by selection, for instance - you can't sort your library so as to show all de-selected tracks then all selected tracks. Nor can you build smart playlists based on whether a tune is selected or not.

Well, not without getting your hands dirty, that is. ;-)

Since my iPod is now rather full, I've de-selected some albums, and some individual tracks. Now, I'd like to burn the albums that I've de-selected onto CD, and remove them from iTunes altogether. My hard disk is getting a bit full, too. ;-) But, I only want to do this with whole albums - individual de-selected tracks should be left alone.

My library isn't that big. Any normal person would just scroll down through the library, and manually set up a playlist of stuff to remove. Not me, oh no, I'd much rather spend several times the time writing a script to do it all for me. Plonker. Anyway, here it is - create_deselected_albums_playlist.py. I hope someone finds it handy - it would be nice if I hadn't wasted my time entirely.

See also Driving iTunes from Python on Windows.

Posted to iPod by Simon Brunning at November 23, 2004 04:55 PM
Comments

Boring repetitive tasks are boring, and repetitive.

Programming is fun.

Time is not really an issue is it.

Posted by: Darren on November 23, 2004 05:11 PM

Good point, well made.

Posted by: Simon Brunning on November 23, 2004 05:19 PM

Since deselected songs are skipped by iTunes when playing, say, an album, I finally chose to use the "Grouping" field for the subset I want in the iPod. I set it to "iPod" for all my library and after that de-grouping albums or songs is easy. A smart playlist based on that label provides automatic sync.

Posted by: fxn on November 27, 2004 09:49 PM

http://due-tre-stalla.7p.com/ suoneria cellulare suoneria cellulare

Posted by: suoneria cellulare on October 12, 2008 06:03 AM
Post a comment
Name:


Email Address:


URL:



Comments:


Remember info?