rhythmtoweb


A Rhythmbox plugin that sends now-playing information over the web

How it works

This plugin will send information about the currently playing song in Rhythmbox to a certain URL as a series of GET parameters: * artist * title * album * genre * year * duration - in seconds When nothing is playing, or when the plugin is deactivated (i.e. Rhythmbox is closed), it will send an empty request (no parameters).

Installation

  1. Download a release from this website and unpack it to $HOME/.gnome2/rhythmbox/plugins/
  2. (Re)start Rhythmbox, go to Edit -> Plugins and check RhythmToWeb
  3. Click on Configure... and configure the plugin:
    • URL will be called with information about the currently playing song
    • Interval: This is the interval (seconds) at which the plugin checks if the song changed. The reason for polling at an interval is that this way you don't risk the server to be flooded if you change songs really quickly.
  4. Ok, Close
  5. Done!

    How to use it

In order to use this plugin, you must have a bit of server-side scripting knowledge (any language will do), oh, and yes, a server. You can either: 1. create your own handler script. Ideally, it will store the information (in a database, in a file, wherever you see fit). Then, create another script that takes that information from where it was stored and displays it on your website to your visitors; 1. use one of the provided examples and maybe tweak it to suit your needs

My RhythmToWeb

The script I'm using is also provided as an example (php/png.php):

http://znupi.no-ip.org/~felix/nowplaying/nowplaying.png

Project Information

Labels:
music nowplaying script plugin rhythmbox cloud