Disable stream when off air ?
  • Hi,

    I am trying to implement Airtime for DJ events, but I already have my own radio bot running with my own scripts.
    How could I make Airtime work that it disconnects from the fallback stream (which functions as the LIVE event stream) when not playing ?
    Would make things much easier, to implement certain events using Airtime for organisers.

    Thanks !
  • 7 Comments sorted by
  • Maybe have the fallback stream disconnect instead? What you want isn't possible without modding the internals...
  • Use the Show source  instead of Master source to connect your streams.
    This means that you have to schedule each show and when the time is up they will disconnect.
    each Dj(Stream) will have there own authentication
    Just Click on Who when you create you show(its found below the WHEN

    Web Streams are similar by specifying the time you want it schedule


    Good Luck

    VOISSES
    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.
  • I stand corrected...? #-o
  • I already fixed this issue.
    Running a custom app that stream forwards the mount to the live stream mount whenever a schedule is playing.
  • Would you like to share with others the idea of the custom App ?
    worth considering and may be can be implemented in Airtime.
    You do not necessarily have to share scripts but would be a plus.


    Good Luck
    VOISSES
    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.
  • Sure, hold on.
  • Here you go.
    It's very simple:
    https://mega.co.nz/#!tdhEHR4C!SARk0GcsA0oLizhQjuz2nT3EJ9DAfvqXOZPjz6yMSqc

    Get this.
    1) Move the status2.xsl to your icecast shared folder in the admin folder. In this case, my location is here:
    /usr/share/icecast2/admin/

    2) Put the other files in a location with a PHP CLI.
    3) Modify both check.cli.php and stream_live.liq to your own needs.
    4) Run check.cli.php using start.sh which runs the check.cli.php in the background.
    5) Profit :)

    In Airtime you give a meta tag when the stream is offline.
    Thats what you use to configure the recognition in check.cli.php