skip to main | skip to sidebar

Tables Latency Benchmark

Being the blog of Pete Hopkins. This pirate kills fascists.

Bling-Bling

www.flickr.com

Thursday, October 12

Sync Odeo and iTunes with Automator

I hearts Odeo. It’s slick, gradienty, and nicely usable. It’s also available anywhere the tubes go, so I can subscribe while at work. And, of course, it’s run by awesome dudes. Check out my profile! Nevertheless, it does not match iTunes for podcast usability.

iTunes’s big advantage is that podcasts show up in separate channels on my iPod. This is key. But subscribing is only possible on the Mac that I’ve set up to be my podcatcher, which runs essentially headlessly. (iTunes over VNC: not so fun.)

In an earlier post, I talked about using Automator to print the New York Times crossword every morning. In another I described using a separate, dock-tethered Mac for podcasts while keeping my music library on a different computer.

Now I’m going to revisit both those topics with an Automator script that makes iTunes subscribe to everything I’ve subscribed to in Odeo. Now I can find stuff through the nice web interface, dozens of miles away from my Mac mini, and still have the podcasts sync and download for when I plug my iPod in in the morning. Download it here: Sync with Odeo.workflow.

One requirement this script has is that you need to make your Odeo subscriptions public in order to grab the OPML file unauthenticated. Do this in the privacy settings part of your account settings.

I cheated with OPML XML parsing and just pushed the file through sed. I use curl here instead of Automator’s Safari-backed downloading because keeping the data in stdin and stdout means I don’t have to clean up any temp files.

curl $1 | sed -n -e 's/.* xmlUrl="\([^"]*\)".*/\1/pg'

This pipes into a simple AppleScript that loops through the text items in the input and tells iTunes to subscribe to each in turn. I won’t repeat it here because the formatting is a pain.

And there it is! I run it in the middle of the night so I can be sure that everything will be downloaded by the time I sync the iPod in the morning, by saving it as an iCal plug-in and setting up a repeating event. There are just two remaining caveats:
  • Subscriptions are additive. To unsubscribe, I’d have to unsubscribe in Odeo and also iTunes. However, iTunes is good about not updating shows you stop listening to, so not bothering to unsubscribe works, too.
  • I had to unsubscribe from my Odeo inbox. If I didn’t, I’d get everything twice, both through iTunes and through Odeo. This means that I can’t use the “add to inbox” links on Odeo, which is too bad.
Posted by Fin at 1:20 AM

2 comments:

  1. Donny12:36 AM

    Thanks for making me aware of Odeo. This is fantastic!

    ReplyDelete
    Replies
      Reply
  2. immixmarketer10:26 AM

    I just wanted to thank you for the Blogs of Note blog. It's the only evidence I have of once existings on the Blogs of Note section. I need to do something new & fresh, any thoughts?
    Peace,

    ReplyDelete
    Replies
      Reply
Add comment
Load more...

Newer Post Older Post Home
Subscribe to: Post Comments (Atom)

Followers

Subscribe To

Posts
Atom
Posts
Comments
Atom
Comments

Blog Archive

  • ►  2009 (7)
    • ►  March (5)
    • ►  January (2)
  • ►  2008 (36)
    • ►  December (4)
    • ►  October (1)
    • ►  September (4)
    • ►  August (8)
    • ►  July (4)
    • ►  May (2)
    • ►  April (4)
    • ►  March (4)
    • ►  February (3)
    • ►  January (2)
  • ►  2007 (24)
    • ►  December (1)
    • ►  November (2)
    • ►  October (5)
    • ►  September (1)
    • ►  June (6)
    • ►  May (2)
    • ►  March (3)
    • ►  February (1)
    • ►  January (3)
  • ▼  2006 (32)
    • ►  December (3)
    • ►  November (1)
    • ▼  October (5)
      • Sync Odeo and iTunes with Automator
      • Checking All Those Comments Feeds
      • Cultural Notes and Products
      • IDE and Language Religion. Move Along.
      • Opera Mini: Where have you been all my recently?
    • ►  September (3)
    • ►  August (2)
    • ►  May (1)
    • ►  April (2)
    • ►  March (1)
    • ►  February (6)
    • ►  January (8)
  • ►  2005 (53)
    • ►  December (8)
    • ►  November (30)
    • ►  October (5)
    • ►  September (10)

Gamercard

Geekness

Twitter Updates

Twitter Updates

    follow me on Twitter

    About Me

    My Photo
    Fin
    I play board games and video games, and sing sea shanties when I can. I like shiny things and tech things and cat macros. I am aware of all Internet traditions.
    View my complete profile

    Search This Blog

    Friends’ Blogs

    • Mihai Parparita
      Infinite Mac: Snow and A/UX
      4 weeks ago
    • Jason Shellen
      methaphone
      10 months ago
    • Graham Waldon
      Card Game: The Fellowship of the Ring
      1 year ago
    • Michael Greenberg
      I’m looking for students!
      2 years ago
    • Adam Saks
      Mengatasi Ambeien Atau Wasir Kambuh
      6 years ago
    • Abstractioneer
      Things People Have Been Impeached For In the Past
      6 years ago
    • Kellan Elliott-McCrea
      New-ish site
      7 years ago
    • tins ::: Rick Klau's weblog
      Jaguar I-Pace first impressions
      7 years ago
    • Jason Goldman
      Links for 2017-02-22 [del.icio.us]
      9 years ago
    • Greg Stein
      PSA: Redbud Custom Homes
      9 years ago
    • --verbose
      How to Write Hello World in Go (in Go)
      12 years ago
    • Stacy Jenson
      I promise not to mommyblog
      12 years ago
    • Eric Case
      Creepy
      13 years ago
    • Vast Public Indifference
      Pompe Stevens, Enslaved Artisan
      13 years ago
    • watched pots | news
      Dogs are cool.
      14 years ago
    • Rachel Grey
      Six months with Ido Portal: game-changer 2011
      14 years ago
    • Lauren Davis
      Best Thing Today: Opinioncat Lady
      14 years ago
    • massless
      Dreams, discernment, and Google Reader
      14 years ago
    • saladwithsteve
      Building F# on Mac OS X
      16 years ago
    • Farang
      Kaiseki
      17 years ago
    • Marty Lichmann
      Janko Keyboard
      17 years ago
    • Shriram Krishnamurthi
      Project Beansprout Successful
      17 years ago
    • Mobile Vince
      Hawaii wrap-up
      19 years ago
    • Chinese Migrant Worker
      More Real Than Real
      19 years ago
    • Laurence Gonsalves
      Copyright Law and the King
      19 years ago
    • Josh Peterson
      St. Pardi Gras Shirts
      19 years ago
    • Buzz Andersen
    • Tina Huang
    • Evan Williams
    • Andy Yen
    • Biz Stone, Genius
    • Kimmy Richardson
    • tajc | taj campbell
    Show 10 Show All
    Powered By Blogger