Menu

#125 Hook for external scripts to be launched on song play

open
Other (29)
5
2003-01-21
2003-01-21
Anonymous
No

Hi,

I really would love a feature where the SliMP3 server
could launch an external script everytime it played a
song, with the ability to pass it information on the
current track.

You could define something like:

$hook = "/usr/local/bin/webupdate.pl %s";

And SliMP3 would run webupdate.pl, passing it the song
name every time a song was played.

There could be other variables taken from the ID3 track
info as well. Album, Artist, etc..

--
Bruce Z. Lysik <eldrik@logrus.com>

Discussion


Log in to post a comment.