This is what i managed to sum up in my code...when its time to switch from
1 source to another, LS dose fadeout and play a jingle..but then, returns
to the same source lol
it is not continuing to a scheduled show..instead its going straight
back where it faded out...any thoughts?

def  insert_jingle(j,old,new)
        old = fade.final(old)
        #new = fade.initial(new)
        sequence([old,j,new])
end


# Schedule
#ahliveshow = rotate(weights = [1, 1], [jingles,ahlive])
    silkmornings = rotate(weights = [1, 6], [jingles,silk])
    chillout = rotate(weights = [1, 6], [jingles,chill])
    hortaweekly = rotate(weights = [1, 1, 2],
[jingles,hortaclassic,singles])
    moranhelman = rotate(weights = [1, 1, 2], [jingles,helmano,singles])
    tranceilsessions = rotate(weights = [1, 1, 2],
[jingles,tilsessions,singles])
    #danmeyer = rotate(weights = [1, 1, 2], [jingles,danmeyerdeep,singles])
    dashalove = rotate(weights = [1, 1, 2], [jingles,dasha,singles])
    rotating = rotate(weights=[1,2,1,5],[jingles,replays,jingles,singles])

default=fallback(track_sensitive=false,transitions=[insert_jingle(jingles)],[switch(track_sensitive=false,transitions=[insert_jingle(jingles),],[

#Sunday#
            ({ (0w) and 07h-12h}, silkmornings),
            ({ (0w) and 20h-21h}, moranhelman),

            #Monday#

            ({ (1w) and 02h-07h}, chillout),
            ({ (1w) and 07h-12h}, silkmornings),

            #Tuesday#

            ({ (2w) and 07h-12h}, silkmornings),

            #Wednesday#

            ({ (3w) and 02h-07h}, chillout),
            ({ (3w) and 07h-12h}, silkmornings),
            ({ (3w) and 19h-21h}, hortaweekly),

            #Thursday#

            ({ (4w) and 02h-07h}, chillout),
            ({ (4w) and 07h-12h}, silkmornings),

            #Friday#

            ({ (5w) and 07h-12h}, silkmornings),
            ({ (5w) and 12h16-14h}, hortaweekly),


            #Saturday#
            ({ (6w) and 07h-12h}, silkmornings),
            #({ (6w) and 14h27-18h}, ahliveshow),
            ({ (6w) and 18h-19h}, dashalove),
            ({ (6w) and 21h-23h}, tranceilsessions),

            ]),
            fallback.skip(input=rotating,rotating)
            ])

ignore(output.dummy(default, fallible=true))


On Fri, Nov 9, 2012 at 2:30 AM, subscriber <subscri...@labyrinthos.gr>wrote:

>
> On Nov 8, 2012, at 12:22 PM, Guy Tarazy wrote:
>
> > My station is set up and operates mostly on modified LS script.
> > im having some issues i was hoping to get help resolving,
> >
> > My LS script runs shows 24\7 with switch operator and default folder
> rotation and having these issues:
> >
> > 1.every time a show starts its brutally cutting whatever is playing and
> goes to the file, (same with scheduled shows/webstream in Airtime) how can
> i tell LS to fade out the current broadcast to a jingle and then start the
> next file? i need a fade out..not crossfade.
> do you insist on track_sensitive:false?
> switch and fallback may have transitions (you can read the API reference -
> there is also a cookbook)
> jingleF=(...)
> jingleS=(...)
> def  insert_jingle(j,old,new)
>         old = fade.final(old)
>         #new = fade.initial(new)
>         sequence([old,j,new])
> end
> >
> > 2.Every time a scheduled show ends in LS or Airtime, LS defaults back to
> the 24/7 rotation but it jumps into the middle of a track (its like the
> 24/7 is running in the background all the time) is there  way to tell LS to
> initiate the 24\7 rotation from the start when a show ends and not let it
> run in the background?
>
> default=fallback(track_sensitive=false,transitions=[insert_jingle(jingleF)],[switch(track_sensitive=false,transitions=[insert_jingle(jingleS),...],[
> ...
> fallback.skip(input=rotating,rotating)])
> >
> > This is my modified script:
> >
> >
> http://forum.sourcefabric.org/discussion/14624/snippet-complete-liquidsoap-schedule
> >
> > Thanx for your help guys!
> >
> ------------------------------------------------------------------------------
> > Everyone hates slow websites. So do we.
> > Make your web apps faster with AppDynamics
> > Download AppDynamics Lite for free today:
> >
> http://p.sf.net/sfu/appdyn_d2d_nov_______________________________________________
> > Savonet-users mailing list
> > Savonet-users@lists.sourceforge.net
> > https://lists.sourceforge.net/lists/listinfo/savonet-users
>
>
------------------------------------------------------------------------------
Everyone hates slow websites. So do we.
Make your web apps faster with AppDynamics
Download AppDynamics Lite for free today:
http://p.sf.net/sfu/appdyn_d2d_nov
_______________________________________________
Savonet-users mailing list
Savonet-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/savonet-users

Reply via email to