np_xmms.rb

Extract information about the song currently playing in XMMS and upload that information to a web server.

Description

This script extracts information about the song currently playing in XMMS, creates an easily readable and parseable text file out of this information and finally uploads that text file to a web server via FTP. This can be used to show what you are listening to on your home page or weblog.

Requirements

np_xmms.rb requires a Ruby interpreter (tested with Ruby 1.8) and the two command line tools mp3info and ftp. Additionally XMMS has to be configured to run the xmms-info plugin that creates the special file /tmp/xmms-info.

Synopsis

./np_xmms.rb

Setup

There are five variables at the beginning of the script that need your attention. Change them accordingly to your needs.

License

np_xmms.rb is released under the GNU General Public License.

Copyright

np_xmms.rb is (c) 2004 Robert Weiler.

See also


Downloads

There is only a single version of this script available: np_xmms.rb.

Of course you may have your own look at the release directory.


a digiGeek.net project