Hi Brandon! Le 22 juin 2011 19:29, Brandon Casci <[email protected]> a écrit : > Just looking for an opinion here. I'm reworking how scheduled content works. > As you know the simple way to do it is to have liquidsoap schedule switching > between playlists. If you have a more detailed setup, then maybe you want to > get all your content via request.dynamic and have your script handle > fetching scheduled content or some other type of content if there is nothing > scheduled. I went with request.dynamic, choosing to place all the rotation > logic in a script. Now I'm tossing around ideas how to make schedules > tighter, so when a scheduled show starts it will fade out what's currently > playing and fade into the the scheduled content. What liquidsoap feature is > best suited for this? I don't know if this is too complicated, but I though > about having our content scheduler connect to liquidsoap via telnet and do a > playlist.next when a schedule is up. What do you think?
There might be several ways to do this. One question first: do you use a request.dynamic along with a playlist or is everything stuffed into a request.dynamic? Now, concerning the various ways of tweaking a transition, I think my favorite one is to use a custom smart_crossfade. For instance, in radiopi we have added a special transition case for jingles, to avoid fading in and out on those short files.. More generally, you can tag your tracks using annotate and use this information in a custom smart_crossfade to pick any transition you like. Of course, the general warning apply here: do not use (smart_)crossfading on live sources such as input.http/input.harbor as these transitions will exhaust the live buffer..! In case of transitions from/to live sources, you may use the switch/fallback transitions option. As for now, these functions do not have any metadata passed to them. However, you could for instance register the latest metadata passed on a given stream and use that information inside the transition function. I think I have described how to record the latest metadata in a previous email but I'll be happy to do it again :) Romain ------------------------------------------------------------------------------ Simplify data backup and recovery for your virtual environment with vRanger. Installation's a snap, and flexible recovery options mean your data is safe, secure and there when you need it. Data protection magic? Nope - It's vRanger. Get your free trial download today. http://p.sf.net/sfu/quest-sfdev2dev _______________________________________________ Savonet-users mailing list [email protected] https://lists.sourceforge.net/lists/listinfo/savonet-users
