Re: XMMS output to an website

Roy Schestowitz <[email protected]> Fri, 22 Jul 2005 05:54:02 +0100
Newsgroups gmane.comp.multimedia.xmms.devel
Message-ID <[email protected]>
Quoting Michael Bender <[email protected]>:

>
>>> You're looking for something like icecast / shoutcast / savonet.
>> not really... I don't wanna stream my mp3s which are listet in xmms, 
>> I just wanna list them on a website
>> Now playing: AC-DC - The Jack - 192kbps - 7.3MB or s.th. like that...
>
> Can yo use the "song change plugin"? I've played with this
> plugin to run a shell script whenever a song starts.
>
> Set under Preferences->Effect/General Plugins->Song Change

If you listen to music on the machine that acts as a Webserver, set the Song
Change plugin to execute something like:

(date +', '%R' '%D; echo -n %s) > ~/public_html/last_song

I wrote a few scripts that output a spreadsheet which contains the full 
history
of songs that I listen to throughout the day. Separate spreadsheets are 
stamped
with the dates they correspond to (using a cron job). Let me know if 
you have an
interest in this as I intend to summarise it in a Web page soon.

Roy

-- 
Roy S. Schestowitz
http://Schestowitz.com