Extract information about the song currently playing in XMMS and upload that information to a web server.
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.
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.
./np_xmms.rb
There are five variables at the beginning of the script that need your attention. Change them accordingly to your needs.
np_xmms.rb is released under the GNU General Public License.
np_xmms.rb is (c) 2004 Robert Weiler.
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