Scheduled shows finnish early..dead air?
  • Hey guys.

    I noticed that when scheduled shows finnish early (example, a 2 hour scheduled show has a file of 118:00 length..2 minuets less) then theres a dead air until the actual scheduled time of termination, then the fallback script i set up kicks in..

    how can i setup the fallback script to play exactly when scheduled FILES end?

    Script:

    #default = amplify(id="silence_src", 0.00001, noise()) 
    #default = rewrite_metadata([("artist","TranceIL Radio"), ("title", "Offline")],default) 
    music = playlist(mode='randomize',reload=1,reload_mode="rounds", "/home/tranceilmusic/fallback") 
    jingles = playlist(mode='randomize',reload=1,reload_mode="rounds", "/home/tranceilmusic/jingles/") 
    default = rotate(weights=[1,3,1],[jingles,music,jingles]) 
    ignore(output.dummy(default, fallible=true)) 
    Post edited by Guytrance at 2012-08-16 15:21:32
  • 3 Comments sorted by
  • Your code looks correct - it should kick in exactly after 118 minutes. Did you make modifications anywhere else in the script?
    Airtime Pro Hosting: http://airtime.pro
  • Well isnt that stupid :-) it was working i was just using a different server with a different installation of Airtime with no script changes..lol, sorry. 




    ;;)

    But whats interesting is when the script do kicks in after a scheduled file ends, it seems its kicking in the middle of already played file (looks like its playing in the background)...whats the modification i need so the script will stop in scheduled show and rerun on termination? (of played FILE not schedule.)
    Post edited by Guytrance at 2012-08-17 13:56:54
  • It's actually continuing to play at the point where it last left off. When scheduled content plays this fallback content is actually paused. As far as I'm aware, there is no way to get it to restart from the beginning of the track when you switch to your fallback.
    Airtime Pro Hosting: http://airtime.pro