WordPress.org

Ready to get started?Download WordPress

Plugin Directory

!This plugin hasn't 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.

SG What's Playing

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

The WordPress plugin and widget.

  • Unpack the archive.

  • Copy sgwhatsplaying.php and widget.php to a sgwhatsplaying directory in your WordPress plugins directory. Or just unpack the archive under your plugins directory - all the python stuff will be ignored.

  • Activate the plugin.

  • Goto Options->SGWhatsPlaying, and set the "password". Don't use a password you use for any real access - this is just key to keep random losers from screwing with your blog, and is not secure in any real way.

The updater program

  • Unpack the archive on the machine with access to your music player.

  • If you don't have Python installed, install it.

  • (OPTIONAL) Run python setup.py install to install the program and module into your regular Python site directories. But you can skip this: sgwpupdate.py will run fine out of any directory.

  • Copy sgwpupdate.conf to your $HOME/.sgwpupdate.conf, or /etc/sgwpupdate.conf.

  • Edit the configuration file to set password and blog in the sgwpupdate section, and (if using MPD) mpdhost and mpdport in the sgwpmpd section. See later in this document for complete configuration documentation.

  • Run sgwpupdate.py --debug to test. If you're not using MPD, you can test with sgwpupdate.py --debug --title 'Some Song Title' --artist 'Some Artist' --album 'Album Name' --state 'play'.

  • To start in daemon mode, run sgwpupdate.py --daemon.

  • The file sgwupdate.ini is a Debian-compatible initrc file. Copy it to /etc/init.d/sgwpupdate and create the desired links in /etc/rc?.d to have sgwpupdate.py automatically start on system boot.

Requires: 2.2.0 or higher
Compatible up to: 2.3
Last Updated: 2007-10-12
Downloads: 940

Ratings

1 star
1 out of 5 stars

Support

Got something to say? Need help?

Compatibility

+
=
Not enough data

0 people say it works.
0 people say it's broken.