Earlier in the year I asked about Cascading Playlists: http://sourceforge.net/p/savonet/mailman/message/32170779/ and David suggested I look into pushing the files to a queue.
I’m still having problems with these latest playlists not playing properly, sometimes they don’t start at all oddly and the fallback kicks in (maybe Liquidsoap sees them as ‘played’ even though I have reload=3200 set?) or sometimes halfway through a show if it was interupted before. It’s not good. I looked at it then and ran away screaming because the examples are so complex/involved, but have more time now. Is there a simple - and I mean REALLY simple - example or tutorial of creating a dynamic playlist, especially if adding a file/playlist entry to the queue at a preset time? And get the newest file in the directory? All the examples I see are about people requesting tracks, or using telnet/scripts to queue a track - not really what I want to do, I’d like to keep it all in the .liq file if possible. Here’s what I want to do: 1. Take the latest (i.e. file creation date) file in a directory 2. At a certain time add the show to the queue to be played - so it’s 10pm Wednesday, play this latest file 3. Fall back to music or other shows if the show is too short for the slot. Guessing my existing switch would do this. Re: 1 - I currently do this via Python creating a PLS file, so I might be able to hack this in Python but can Liquidsoap do this with list.sort in any way? I suspect not…I guess I could hack up a script that returns the latest file URL... or I guess I could somehow tell it what the latest show was? Automatic would be better, since it would be days beforehand and I’m guessing the queue is lost if a restart happens. Thanks TIm ------------------------------------------------------------------------------ Meet PCI DSS 3.0 Compliance Requirements with EventLog Analyzer Achieve PCI DSS 3.0 Compliant Status with Out-of-the-box PCI DSS Reports Are you Audit-Ready for PCI DSS 3.0 Compliance? Download White paper Comply to PCI DSS 3.0 Requirement 10 and 11.5 with EventLog Analyzer http://p.sf.net/sfu/Zoho _______________________________________________ Savonet-users mailing list Savonet-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/savonet-users