Hook for external scripts to be launched on song play
Brought to you by:
blackketter,
slimdevices
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>