ctypes rules

Mar 13, 2006

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.

Comments

on 2006-03-15 5:34:00.0, Matt Weiner commented:

my installed copy decided to stop playing ogg files for some reason

Because HE LEFT US. Can't you move on?

[permalink]


and, further, on 2006-03-15 20:37:06.0, Standpipe Bridgeplate commented:

Ben files his oggs, to play them back later.

[permalink]


and, further, on 2006-03-19 16:01:54.0, Michael Roetzel commented:

I'm probably the last person to realize this.

Rest easy, on this score.

[permalink]


and, further, on 2006-03-19 22:07:51.0, ben wolfson commented:

Last among those who were realization-susceptible.

[permalink]


and, further, on 2006-10-29 16:06:11.0, teknohog commented:

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.

[permalink]