ido.nl.eu.org/listen/xchatscript/

Listen IRC X-Chat Python Script

Information

IRC Script to control and display track information from the Listen music player in XChat. It is written from scratch in Python by yours truly using the DBus management interface for Listen.

It's most important feature is the all famous Now-Playing(tm) command. ;-)

It was inspired by harshj's xchat listen plugin which uses the Listen command line options to retreive track information. Since this didn't work for my version of Listen (On a Debian system) i wrote my own plugin based on the DBus interface.

Please keep in mind that there are several known limitations with the current stable version (0.5) which is packaged in distributions like Debian (at the time of writing) and the DBus interface.

For the best user experience, aka using most commands, you must at least for now run your own version of listen from the trunk/svn repository.

 $ dpkg --purge listen
 $ cd /usr/src
 $ svn checkout https://svn.listen-project.org/trunk listen-trunk
 $ cd listen-trunk
 $ ./check.py
(solve any problem or missing dependency that you'll see here)
 $ make install
More information about running Listen from trunk can be found on there wiki and download page.

I developed this plugin mostly for my own use, but if there are (enough) people interested in this plugin i might develop it further. If you want to send me patches or just want to write in to show your support please send email to trbs AT trbs net.

Features:

  • Now Playing for both normal tracks and shoutcast url's
  • Play/Pause song
  • Next song
  • Previous song
  • Bring Listen to top of your workspace/desktop

Download

listen.py (save in your ~/.xchat directory)

A Django site.