Romain, that makes sense to me, but it's not as big a priority that the
track falls dead on the time, pushing other tracks out of the way to do so.
My main priority is making sure that every time I load a playlist, it
starts playing the track at the beginning of the playlist first. It
looks/feels like it's picking up in the middle of playlists at times, and I
suspect it's because I've got an incorrect reload setting or perhaps should
be using playlist.once instead of regular playlist, but I'm not sure I
fully understand the difference.


On Fri, Apr 19, 2013 at 4:52 PM, Romain Beauxis <[email protected]>wrote:

> Hi Christopher,
>
> If having a top-of-the hour track played is prioritary then you should
> probably use a track insensitive switch (or fallback) to make sure
> that track is always played first.
>
> Something on these lines:
>
> normal_stream = (...)
>
> special_id_stream = (...)
>
> def when_to_play_special_id_stream() =
> (...)
> end
>
> # Switch
> stream = switch(track_sensitive=false, [
>   (when_to_play_special_id_stream, special_id_stream),
>   ({true}, normal_stream)
> ])
>
> Hope this makes sense..
> Romain
>
> 2013/4/18 Christopher Muldrow <[email protected]>:
> > So we're using Liquidsoap (with Airtime, but the Airtime piece isn't
> really
> > relevant to my question) to run a station that is going out to an FM and
> FM
> > HD translator as well. In order to do that, I have to run legal IDs at
> the
> > top of the hour every hour and run repeater IDs at three pretty specific
> > windows during the day. What I've done, following Kevin's suggestion on
> this
> > list, is create a script that builds hour-long and 30-minute-long
> playlists
> > for our regular programming and for specialty shows during the day. The
> > legal ID is the very first item on each playlist, and I'm using a switch
> to
> > do the scheduling.
> >
> >  It looks, however, like my legal IDs aren't always hitting when the
> switch
> > triggers at the top of the hour. It's almost like when it does the
> switch,
> > it's popping into the middle of the playlist isntead of the front.
> >
> > I'm suspecting it has something to do with how often the reload hits the
> > playlists in the liquidsoap script, but I'm not sure. I'm attaching the
> > ls_script.liq I'm using to do this, and I'm also attaching the python
> script
> > I use to build the playlists just in case anyone is interested.
> >
> > Does anyone have any ideas?
> > --
> > Chris Muldrow
> > Chief Digital Officer
> > The Free Lance-Star Companies
> > [email protected]
> > 540-368-5006
> >
> >
> ------------------------------------------------------------------------------
> > Precog is a next-generation analytics platform capable of advanced
> > analytics on semi-structured data. The platform includes APIs for
> building
> > apps and a phenomenal toolset for data science. Developers can use
> > our toolset for easy data analysis & visualization. Get a free account!
> > http://www2.precog.com/precogplatform/slashdotnewsletter
> > _______________________________________________
> > Savonet-users mailing list
> > [email protected]
> > https://lists.sourceforge.net/lists/listinfo/savonet-users
> >
>
>
> ------------------------------------------------------------------------------
> Precog is a next-generation analytics platform capable of advanced
> analytics on semi-structured data. The platform includes APIs for building
> apps and a phenomenal toolset for data science. Developers can use
> our toolset for easy data analysis & visualization. Get a free account!
> http://www2.precog.com/precogplatform/slashdotnewsletter
> _______________________________________________
> Savonet-users mailing list
> [email protected]
> https://lists.sourceforge.net/lists/listinfo/savonet-users
>



-- 
Chris Muldrow
Chief Digital Officer
The Free Lance-Star Companies
[email protected]
540-368-5006
------------------------------------------------------------------------------
Precog is a next-generation analytics platform capable of advanced
analytics on semi-structured data. The platform includes APIs for building
apps and a phenomenal toolset for data science. Developers can use
our toolset for easy data analysis & visualization. Get a free account!
http://www2.precog.com/precogplatform/slashdotnewsletter
_______________________________________________
Savonet-users mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/savonet-users

Reply via email to