Hi !

Le mardi 26 janvier 2010 09:04:45, Лабутин Сергей a écrit :
> Sorry for my English, but i I hope you understand me.

No problem, welcome aboard !

> My script generate me playlist for each hour. When liquidsoap finish one
> playlist, he get next playlist, but not play the first track of new
> playlist, he play first track from old playlist, then skip first track from
> new playlist and start play from second song. And so on.
> 
> My conf:
> =============================
> 
> myplaylist = playlist(
>                         mode = "normal",
>                         reload_mode = "rounds",
>                         reload = 1,
>                         "http://my.some.url";)
> 
> =============================
> How do I solve this problem? Maybe there are other options?

Hmmm... That is not an easy question :-)

I am not sure this can be solved trivially using directly a liquidsoap script. 
This can be done using the current SVN but using the latest stable release, it 
would be very tricky.

Hence, I see two solutions for you:
 * You are reckless and want to test the current SVN. In this case, I could 
show you a possible implementation. However, current SVN is being heavily 
developped, so it is not necessarily a very stable solution (although I am 
using it in production and we care about maintaining it as stable as possible)

 * You implement this using an external script. In this case, you can use the 
language of your choice, write a script that does the job and returns to 
liquidsoap the next song to play each time liquidsoap needs to queue a new 
one.

Let me know what you prefer and I can show you how to do it :-)


Romain

------------------------------------------------------------------------------
The Planet: dedicated and managed hosting, cloud storage, colocation
Stay online with enterprise data centers and the best network in the business
Choose flexible plans and management services without long-term contracts
Personal 24x7 support from experience hosting pros just a phone call away.
http://p.sf.net/sfu/theplanet-com
_______________________________________________
Savonet-users mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/savonet-users

Reply via email to