On Wed, 6 Aug 2008 17:12:46 +0200, Simon Renquin <[EMAIL PROTECTED]>

wrote:

> 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?



It looks fine to me.

I wrote playlist.once exactly to give a hint about how you can 

code things yourself, so I'm happy you saw it :)



About the request.queue, yes that's a good idea. The source won't be

available

until you submit another request, so it seems exactly what you need.



You can trigger the submission via a metadata using the on_metadata

operator, 

along with server.execute, which mimicks what you would do using telnet.



Have fun with liquidsoap !!





Romain

-- 

If you are the big  three,

We are the small axe...

-------------------------------------------------------------------------
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