This probably won't get as many comments as the post immediately below it, but ctypes, despite its incredibly scanty documentation, is very cool. I'm probably the last person to realize this. However, I just discovered that the beep media player has been removed from portage, and my installed copy decided to stop playing ogg files for some reason, but that there's a fork called audacious. But I didn't want to have to do what I did when I installed bmp for the first time in order to get a python interface (namely, download pyxmms and doctor the makefile), so to ctypes I turn, and Bob's your uncle; one module to control xmms, bmp, and audacious. Granted it could be better designed (like, the whole thing could be in a class, so you could have interfaces to different players running simultaneously more easily), but hey, it works.
Post a comment
Your Information
(Name and email address are required. Email address will not be displayed with the comment.)
my installed copy decided to stop playing ogg files for some reason
Because HE LEFT US. Can't you move on?
Posted by: Matt Weiner | March 15, 2006 at 05:34 AM
Ben files his oggs, to play them back later.
Posted by: Standpipe Bridgeplate | March 15, 2006 at 08:37 PM
I'm probably the last person to realize this.
Rest easy, on this score.
Posted by: Michael Roetzel | March 19, 2006 at 04:01 PM
Last among those who were realization-susceptible.
Posted by: ben wolfson | March 19, 2006 at 10:07 PM
Many thanks! I found your blog when searching for an audacious version of pyxmms. My escape plans from xmms are somewhat hindered by my python/curses xmms interface which I use a lot. Using your xmmsalike was a quick fix to get my script work with audacious, though there are still some minor issues left.
I'm interested in improving and redistributing your code, so I'd like to get in touch.
Posted by: teknohog | October 29, 2006 at 04:06 PM