Hi,

I've searched the list archives but haven't found a solution.  I would like
to show on my web page, the next song that is coming up.  I am not using a
playlist.m3u; I am using a directory.

dirone = playlist("/opt/myradio/songs/One")

I know can retrieve the next song using a telnet call (I'd rather not run a
telnet command every 15s but I will if it's the only way)  but I have a
problem with this because I am using 'switch' to switch between two lists:

 myplaylist = switch( [ ({ 7h30-20h30 }, dirone), ({ 20h30-2h }, dirtwo) ] )

I don't know how to tell which list LiquidSoap is running (especially when
it's close to switch time) so I don't know whether I should be telnetting
dirone.next or dirtwo.next to the server.

Can you please show me programmatically how to determine the current "list"
so that I can make the correct telnet call, or else show me another way to
get the next track?

thanks,
Stephan
------------------------------------------------------------------------------
Check out the vibrant tech community on one of the world's most
engaging tech sites, Slashdot.org! http://sdm.link/slashdot
_______________________________________________
Savonet-users mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/savonet-users

Reply via email to