SG What’s Playing

Display currently playing song from MPD or other music players in a sidebar widget.

Author:Steve Greenland <steveg@moregruel.net> (profile at wordpress.org)
WordPress version required:2.2.0
WordPress version tested:2.3
Plugin version:1.1
Added to WordPress repository:13-08-2007
Last updated:12-10-2007
Warning! This plugin has not been updated in over 2 years. It may no longer be maintained or supported and may have compatibility issues when used with more recent versions of WordPress.
Rating, %:0
Rated by:0
Plugin URI:http://www.moregruel.net/?page_id=73
Total downloads:1 366
plugin download
Click to start download

Yes, it's yet another "currently playing" plugin. What makes this one better (or, at least, different)?

  • Support for MPD

  • Support for others is possible and possibly easy - see below.

  • No file transfer -- WordPress is updated via HTTP POST.

  • Updater should work on Linux/BSD, OSX, and Windows.

SG What's Playing (SGWP from now on) is comes in two components: the WordPress plugin, and a Python program (sgwpupdate.py) that reads data from the player and POSTs it to the blog.

The sgwpupdate.py program can be run as a one-shot or, on Unix-like systems, as a daemon. In one-shot mode, you can specify song details rather than reading them from the player. Thus, if your player can trigger a program on song or status change (e.g. Audacious, WinAMP (I think!)), you can probably use sgwpupdate.py to update your WordPress blog.

In daemon mode, sgwpupdate.py uses a player-specific module to obtain the song meta-data from the player and then sends the data to your WordPress blog. At present, the only included module is for MPD, but writing modules for other players shouldn't be too difficult. See the "Custom Player Modules" section below.