Ok,

I've been too fast before sending this mail, I did not realize that  
playlist.once was a script (not a source), so, I simply used a  
request.queue, the python script simply connect to the telnet.  Is  
there a better way to do it?

thanks,
Simon


Le 06 Aug 2008 à 15:26, Simon Renquin a écrit :

> Hi,
>
> I'm currently writting the script for the whole system of my radio,  
> but, I'm blocked by a little thing.  I'd like to to insert some  
> anouncement at given times.  The idea is to have a playlist.once  
> source (since my annoucement would be returned by a python script in  
> pls format) that would start with an at operator.  The problem is  
> that when the source as play once, it doesnt play anymore (and I  
> don't know if it could reload the playlist)...  I could use a  
> playlist.safe with reload but this one loops on the playlist which  
> is not the goal (and the timeout could not be used since the  
> playlist would change)...
>
> Finally, I'd also like to be able to start these annoucement via a  
> metadata but, since the playlist.once source can't have an id, I  
> cant use server.execute to launch it via telnet.
>
> Is there a solution or I'll have to change the code of liquidsoap to  
> add such feature?
>
> Thanks for yout help,
> Simon


-------------------------------------------------------------------------
This SF.Net email is sponsored by the Moblin Your Move Developer's challenge
Build the coolest Linux based applications with Moblin SDK & win great prizes
Grand prize is a trip for two to an Open Source event anywhere in the world
http://moblin-contest.org/redirect.php?banner_id=100&url=/
_______________________________________________
Savonet-users mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/savonet-users

Reply via email to