Tom Morris



2008.10.29

  No. 879 

Wesley Elsberry dismantles the "we don't want to teach ID, we want to teach the controversy!" bullshit that is (still) being spread by the DI. 2008-10-29T22:16:47ZUntitled entry permalink

Anthony Cox: Churnalism, which consists of rewriting press releases rather than news reporting, is common at the BBC online news pages. In fact, it is [a] weakness that is being exploited to good effect. 2008-10-29T22:12:41ZUntitled entry permalink

George Monbiot has a great article on the ignorance in America which makes Sarah Palin possible. It truly is very sad to see. (Via Brian Leiter). 2008-10-29T16:33:12ZUntitled entry permalink

Remember playback position: iPod killer feature 2008-10-29T00:45:47ZPermalink

In the last few days, with the slow death of my Mac laptop and the return of my repaired Acer AspireOne, I've decided that I have few reasons to stay on the Mac platform. I'd love to switch completely to Ubuntu, but there's one big thing that keeps me on the Mac platform - iPod podcast sync and playback position storing.

If you are listening to an hour long podcast and you stop half way through - your computer crashes, you decide that you want a spurt of music rather than talk, someone phones you, whatever - when you start playing again, it should start from where you stopped. There's a proposal for integrating this into AmaroK. It's definitely needed. As far as I can tell, the iPod is the only device that has this feature - everyone I've spoken to about other devices looks at me like I'm a nutcase rather than explains how their obviously-better-than-an-iPod player of the week has that feature. But it's not just the portable device having it that is important - it's the sync back and forth from device to desktop. GtkPod claims to sync this data from the iPod back to Linux, but the problem I see is that there's nothing that will do anything intelligent with the playback position data.

This is my particular deal breaker. There's about five things that keep me tied to operating systems other than Linux, and this is a major one. I desperately want it resolved.

Until it is, I've built a little Ruby script that gives you a sample implementation of how it could work. It's built on top of mpg123 (mpg321 is there for GPL purists). What it does is pretty simple: it runs an mpg123 instance, waits until it terminates, grabs the timer from the STDERR, pokes it into a YAML file. It's not tremendously quick - I thought about writing it on top of SQLite, but I frankly couldn't be bothered to faff around with SQL queries and the like. You won't notice any speed problems when you have more than a few hundred entries in the YAML file. If, for some strange reason, you felt that this is a problem, you can always swap out the storage as YAML, use something even simpler (CSV, say) and call grep to extract the line you are interested in. You can see the script on Gist. Installation is pretty obvious: install the ruby-mp3info gem, copy the script somewhere, chmod it and run it with an MP3 file as the first argument. I might get it to start reading M3U files, XSPFs and so on. Or I might not. Consider it GPL licensed.

Why write this script? One of the reasons I built it was because it might help scratch someone else's need, and lower the barrier to having one of the big audio playing apps on Linux adopt it, bootstrapping them into implementing this key feature. It's useful enough to solve my problem. It's annoying enough to prompt someone into doing it better. Just like the original iPodder (now Juice).

Comments
blog comments powered by Disqus


Tom Morris 9f4907d871750fd4c9b9bad7086701b51d6abd10 bd9f81a05283ed85e699175ed057b4a497f20b77 802c68123e12bf69d99a25a87cef360f18813fe4
Currently in: Kent, England
Usually in: East Sussex, England

I am a , an , like to code in and (and Java, but let’s not talk about that), and noodle about with and the .

I have an MA in philosophy from Heythrop College, University of London. My philosophical interests are in analytic metaphysics, ontology, modality, the work of , , , and . I have a strange, unfulfilled interest in . I’ve been influenced by Gadamer, by , , and .

Musically, I like jazz fusion, soul and P-Funk. My musical nirvana would be a mixture of Beethoven, Miles Davis and George Clinton topped with a side-serving of Erykah, Jill and Angie.

I also write for the Citizendium, an online encyclopedia project. If you know about stuff, you should join in. I occasionally produce audio recordings for The Pod Delusion.

Elsewhere:

  • GPG Key
  • del.icio.us
  • Flickr
  • Twitter
  • Jaiku
  • LinkedIn
  • ma.gnolia
  • blip.tv
  • upcoming.org
  • MetaFilter
  • LiveJournal
  • CiteULike
  • Technorati Profile

RSS Feed Subscribe:

RDF

« October 2008 »
SuMoTuWeThFrSa
 1234
567891011
12131415161718
19202122232425
262728293031 

View in month context

On this day in: 2006 2007 2009