Are you sure this works? I would expect that only one track of the playlist talk would be played. At least as much track as will fit into the minute "0".
Merge_track would also not help, as it will not merge a playlist only once. Maybe playlist.once() can help here, but I have the fear it will not trigger again in the next hour. My idea would be to use a rotate( [50,10], [Talk,Music] ) Wehre 50 is exactly the amount of Tracks Inside The Playlist Music. But i don't know how to start the rotate again from the beginning in the next hour... Unfortunately I'm not in my PC this weekend to try this.... BR Michael ----------------------------------------- Von meinem iPhone gesendet Erreichbar auch unter: XMPP: mich...@augusta.de ICQ: 64853635 MSN: mikesch8...@hotmail.com Yahoo: mikesch8...@yahoo.de Astra: Mikesch1964 Skype: Mikesch8764 > Am 27.05.2016 um 20:00 schrieb Fernando Carmona <fcarp....@gmail.com>: > > Hi Tom, > > You can try with something like this: > > talk = playlist(...) > music = playlist(...) > > output = switch( > track_sensitive=false, > [ > ({0m}, talk), > ({true}, music) > ] > ) > > That should work (disclaimer: I haven't tested it). The cron job is not > needed, unless you need it for another task. Off the top of my head, you > could run in two problems: > -Since talk is a playlist, only a track from it is played, and the rest is > ignored. I think merge_tracks could help there. Changing talk to a single > file would work too, but I guess that's not acceptable. > -If talk is longer that 60 minutes, it won't be selected at the next hour, > and you'll get music until the next hour. Since you've explicitily said that > this is not the case, there's shouldn't be any problem. > > If you need more help or clarifications, just ask :) > > >> On Fri, May 27, 2016 at 4:54 PM, Tom Hoover <tomhoo...@truth.fm> wrote: >> Hello Everyone, >> >> I'm new here and have, I hope, a simple question... >> >> I've been given two playlists, TALK and MUSIC. We need to fill 60 minutes of >> airtime. >> >> The TALK playlist is less than 60 minutes long by a random amount, usually 2 >> or 3 minutes. >> >> The MUSIC playlist is supposed to fill in the time until we have 3600 >> seconds done, 1 hour. >> >> Then the playlist ends, and a cron job should start the next hour. >> >> Seems like this should be an easy thing to accomplish, but I can't work it >> out. Can somebody point me towards a sample .liq that I could pick apart to >> accomplish this? >> >> Thanks, >> Tom >> >> >> >> >> ------------------------------------------------------------------------------ >> What NetFlow Analyzer can do for you? Monitors network bandwidth and traffic >> patterns at an interface-level. Reveals which users, apps, and protocols are >> consuming the most bandwidth. Provides multi-vendor support for NetFlow, >> J-Flow, sFlow and other flows. Make informed decisions using capacity >> planning reports. https://ad.doubleclick.net/ddm/clk/305295220;132659582;e >> _______________________________________________ >> Savonet-users mailing list >> Savonet-users@lists.sourceforge.net >> https://lists.sourceforge.net/lists/listinfo/savonet-users > > ------------------------------------------------------------------------------ > What NetFlow Analyzer can do for you? Monitors network bandwidth and traffic > patterns at an interface-level. Reveals which users, apps, and protocols are > consuming the most bandwidth. Provides multi-vendor support for NetFlow, > J-Flow, sFlow and other flows. Make informed decisions using capacity > planning reports. https://ad.doubleclick.net/ddm/clk/305295220;132659582;e > _______________________________________________ > Savonet-users mailing list > Savonet-users@lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/savonet-users
smime.p7s
Description: S/MIME cryptographic signature
------------------------------------------------------------------------------ What NetFlow Analyzer can do for you? Monitors network bandwidth and traffic patterns at an interface-level. Reveals which users, apps, and protocols are consuming the most bandwidth. Provides multi-vendor support for NetFlow, J-Flow, sFlow and other flows. Make informed decisions using capacity planning reports. https://ad.doubleclick.net/ddm/clk/305295220;132659582;e
_______________________________________________ Savonet-users mailing list Savonet-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/savonet-users