0xDECAFBAD

It's all spinning wheels and self-doubt until the first pot of coffee.

Using iTunes as a podcast aggregator, with a little help from XSLT

So I had an idea for a quick podcasting listening hack on the way into work this morning. Check it out:

And, oh yeah, I just happen to have an xsltproc web service laying around, so:

Now, this has been barely tested and is the product of a ten-minute hacking session. There are likely an enormous number of things wrong with this. That said, iTunes does seem to open the playlist happily, and it looks like only new streams are added with repeated openings of the playlist.

You will want to be careful to ensure that your OPML is valid XML (mine wasn't, on initial export from iPodderX - escape those freaking ampersands in URLs already!), and I have no idea what would happen if any of the RSS feeds in your subscriptions turn up invalid.

Have I mentioned that, despite their unforgiving and sometimes fragile nature, I love XML technologies?

If this looks useful, maybe I'll work it over a bit more and pair it up with some python to handle actually downloading the MP3s and torrents.

Update: Oh yeah, and I'm expecting this will be useful with an iTunes smart playlist crafted along these lines:

  • Date Added in the last 1 days
  • Play Count is less than 1

Update #2: Another use I just found for this playlist, is on my Xbox Media Center. I generate this playlist via cronjob every few hours, and store it on an SMB share accessible to the XBMC. Voila! Listening to podcasts on my stereo system via the Xbox. Yeah, nothing big, just kind of nifty.

shortname=itunesxslt

Archived Comments

  • This is a great idea... My playlist seems to be formated all wrong, so i need to work on it. Any advancements on this one?