Default to external stream-through when nothing scheduled
  • Hi,

    Is there a way that when there's nothing scheduled on the Airtime calendar, to make Airtime attach to -- and put on-air -- an external stream?

    In more detail, we have an OTS server being an automated music DJ that can be put on-air during gaps between scheduled live programs. We want to keep this (for the time being), but so as not to confuse the human DJs, have Airtime come up on the same fader on the console where OTS is now. I figure that to accomplish this, I'll need Airtime to attach-to, and play OTS through when there are no scheduled *automated* programs. So it'll look something like this:

    OTS---->Airtime---->Master console---->Transmitter.

    Is there a way to do this?

    Many thanks.

    Regards,

    Peter (Rocky)

  • 1 Comment sorted by
  • Its possible and an needs some requirements.
    I am not familiar with the software you mention but it requires either
    • encoder/dsp (simplecast,nicecast,butt,mixxx etc) or
    • a webstream  (from an existing server like shoutcast/icecast)
    Since you have put this under Airtime hack,I will assume that  you are willing to hack the ls_script

    Please refer to my one-line modification here http://forum.sourcefabric.org/discussion/comment/27338 to see the default line I am using

    and If you use tab and indents it should look like this

    default = fallback(track_sensitive = false,
                                [
                                  playlist(mode="normal","/srv/airtime/stor/imported/")

                                ]
                             )


    now the code
    Example 1 (untested)

    # Using A  source from an encoder (like m3w,butt,nicecast,simplecast,etc.)

    livesource = input.harbor("livesource",host="host",port=port,user="source",password="hackme")

                     
    default = fallback(track_sensitive = false,
                                [
                                  livesource,
                                  playlist(mode="normal","/srv/airtime/stor/imported/")
                                ]
                             )


    Example 2(untested)

    # A  source from an existing server (like Icecast or shoutcast)

    livefeed=input.http("http://host:port/")

                     
    default = fallback(track_sensitive = false,
                                [
                                  livefeed,
                                  playlist(mode="normal","/srv/airtime/stor/imported/")
                                ]
                             )


    Hope That help

    You will also find reading  my topic Preserving Your Script in this thread http://forum.sourcefabric.org/discussion/16192/trying-to-go-for-an-039autodj039-ls_script-liq-but-having-trouble

    worth reading

    V.O.I.S.S.E.S.
    Can You Hear me now

    Post edited by Voisses Tech at 2014-01-22 04:33:23
    Anyone reading this a find it funny about my grammar , I make no apology ,Go get a translator.
    "The Problem with education today is that it takes a university degree to switch on a light bulb"
    "You learn from your mistakes but wise people learn from others mistakes avoid Making mistakes there is not sufficient rooms to make them"
    "Innuendo","If's","Assumptions" and "Fear" are for politician.Who,What,where,When and How are for those seeking knowledge and care about Humanity.
    "I might be in Mud but that does not Make me a Wild Hog(pig)"
    “Any intelligent fool can make things bigger, more complex, and more violent. It takes a touch of genius — and a lot of courage to move in the opposite direction.”
    "The only thing that remains constant is change itself"
    May the force be with you,until our path or destiny bring us in tandem.