Re: [Savonet-users] refresh a playlist only if changed
In this case the simplest solution might be to inverse the control: don't ask liquidsoap to check for changes, but tell liquidsoap when you changed the playlist and you want it to reload. This can be done using a queue, or even by keeping a playlist and using the ID.reload (telnet) command. Mmm... did we add this command or is the ticket still open? (I'm not on my own machine right now, it's annoying to check.) -- David -- Let Crystal Reports handle the reporting - Free Crystal Reports 2008 30-Day trial. Simplify your report design, integration and deployment - and focus on what you do best, core application coding. Discover what's new with Crystal Reports now. http://p.sf.net/sfu/bobj-july ___ Savonet-users mailing list Savonet-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/savonet-users
Re: [Savonet-users] refresh a playlist only if changed
Le mercredi 2 septembre 2009 11:11:04, Romaric Petion a écrit : Hi, Hi ! I would like to use a playlist (from an URL) with randomize, reloaded every minutes. So I use: playlist(reload=60, http://myserver/playlist.m3u;) But I would like liquidsoap refresh it's internal playlist only if my remote playlist have changed (to avoid that we never played some files of the playlist), and not refresh at each download. Is it possible? Unfortunately I don't think this is possible yet. This would probably be possible by scripting your own playlist. However, this could be a bit more tricky, so let me know if you're interested :) Romain -- Let Crystal Reports handle the reporting - Free Crystal Reports 2008 30-Day trial. Simplify your report design, integration and deployment - and focus on what you do best, core application coding. Discover what's new with Crystal Reports now. http://p.sf.net/sfu/bobj-july ___ Savonet-users mailing list Savonet-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/savonet-users
[Savonet-users] refresh a playlist only if changed
Hi, I would like to use a playlist (from an URL) with randomize, reloaded every minutes. So I use: playlist(reload=60, http://myserver/playlist.m3u;) But I would like liquidsoap refresh it's internal playlist only if my remote playlist have changed (to avoid that we never played some files of the playlist), and not refresh at each download. Is it possible? Regards -- Let Crystal Reports handle the reporting - Free Crystal Reports 2008 30-Day trial. Simplify your report design, integration and deployment - and focus on what you do best, core application coding. Discover what's new with Crystal Reports now. http://p.sf.net/sfu/bobj-july___ Savonet-users mailing list Savonet-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/savonet-users