Can Airtime tune in a Stream
  • Theador HairTheador Hair
    Posts: 4Member
    I am looking very seriously at getting airtime for my station. The one question I have is can airtime tune into a stream on schedule. I have DJ's who stream to a separate stream and my host computer tunes in that stream at scheduled time so they can play their own music from their own home/studio. Can air time do this?
  • 14 Comments sorted by
  • Albert FRAlbert FR
    Posts: 576Member
    Hi,

    Yes and no

    You can use a backup stream from airtime's icecast
    But you can't schedule it for the moment
    normally this feature come with the 2.2 (in 2/3 months)

    But if it's really a priority for you, you can help sourcefabric with http://fundry.com/project/147-airtime, and they do that quickly ;)
    Je peux le faire ;) [Pour vous] Gnu/Linux & Media Architect
  • Hi,
    I've tried to do this directly in liquidsoap script using "switch" for scheduling and "input.http" to catch an external stream.
    This works fine except I get a log full of lines telling me there is a problem of delay with this source (2 or 3 lines per second...). I've tried with a couple of mp3 or ogg streams with the same results. But with a stream generated from radionomy, no problem.

    If you need the right syntax, I'll see in my script to tell you.

    Fred
  • Albert FRAlbert FR
    Posts: 576Member
    Yes Fréderic, but you can't schedule them into airtime, but it is the way to do for now ;)
    Je peux le faire ;) [Pour vous] Gnu/Linux & Media Architect
  • Right: atcually not possible directly in airtime.

    By the way, is there a solution not to get all those "error" msg in the log while catching an external stream?
    I've tried to play with "input.http" arguments (i.e "buffer" and "max") without results.

    Thanks,
  • Albert FRAlbert FR
    Posts: 576Member
    put you log in a file here
    Je peux le faire ;) [Pour vous] Gnu/Linux & Media Architect
  • Here is the interesting part of the log corresponding to the external stream caught by "input.http":

    2011/12/11 23:21:52 [src_4815:3] Decoding...
    2011/12/11 23:21:53 [src_4815:3] New metadata chunk: ? -- .
    2011/12/11 23:21:53 [server:3] New client: localhost.localdomain
    2011/12/11 23:21:57 [src_4815:3] Buffer overrun: Dropping 0.01s.
    2011/12/11 23:21:57 [src_4815:3] Buffer overrun: Dropping 0.05s.
    2011/12/11 23:21:57 [src_4815:3] Buffer overrun: Dropping 0.05s.
    2011/12/11 23:21:57 [src_4815:3] Buffer overrun: Dropping 0.05s.
    2011/12/11 23:21:57 [src_4815:3] Buffer overrun: Dropping 0.05s.
    2011/12/11 23:21:57 [src_4815:3] Buffer overrun: Dropping 0.05s.
    2011/12/11 23:21:57 [src_4815:3] Buffer overrun: Dropping 0.05s.
    2011/12/11 23:21:57 [src_4815:3] Buffer overrun: Dropping 0.05s.
    2011/12/11 23:21:57 [src_4815:3] Buffer overrun: Dropping 0.05s.
    2011/12/11 23:21:57 [src_4815:3] Buffer overrun: Dropping 0.05s.
    2011/12/11 23:21:57 [src_4815:3] Buffer overrun: Dropping 0.05s.
    2011/12/11 23:21:57 [src_4815:3] Buffer overrun: Dropping 0.05s.
    2011/12/11 23:21:57 [src_4815:3] Buffer overrun: Dropping 0.05s.
    2011/12/11 23:21:57 [src_4815:3] Buffer overrun: Dropping 0.05s.
    2011/12/11 23:21:57 [src_4815:3] Buffer overrun: Dropping 0.05s.
    2011/12/11 23:21:57 [src_4815:3] Buffer overrun: Dropping 0.05s.
    2011/12/11 23:21:57 [src_4815:3] Buffer overrun: Dropping 0.05s.
    2011/12/11 23:21:58 [src_4815:3] Buffer overrun: Dropping 0.05s.

    10 lines like these per second, this makes quickly big log files...
  • Martin KonecnyMartin Konecny
    Posts: 809Member
    Hi, We currently plan to officially support this in the future. Here is a ticket:

  • Albert FRAlbert FR
    Posts: 576Member
    As say "mister" log, your buffer is to stretch, and your processor (seems to slow, but i can't be sure)
    in your ls_script change the size of your buffer.
    and retry ;)
    Je peux le faire ;) [Pour vous] Gnu/Linux & Media Architect
  • Theador HairTheador Hair
    Posts: 4Member
    Excelent. I just donated $20 to the project. As soon as it's done I'm buying a licence.
  • Albert FRAlbert FR
    Posts: 576Member
    thanks to you ;)
    Je peux le faire ;) [Pour vous] Gnu/Linux & Media Architect
  • Theador HairTheador Hair
    Posts: 4Member
    Not seeing much movement in the bug tracker. Any news?
  • Rick MundayRick Munday
    Posts: 104Member
    This is a *got* to have for a lot of community stations.

    A third of our shows are picked up from a stream. So the ability to add streams to the playlist/schedule is important. 

    The streams we pick up now are controlled via PAL script, if they fail then music get's loaded and after one song it attempts pickup again, after 10 fails it locks to music until the next scheduled event. This could go well with a random song option/tag in playlists.
    Post edited by Rick Munday at 2012-02-17 14:54:35
  • Albert FRAlbert FR
    Posts: 576Member
    @Rick+Munday:+1

    that's really mandatory for a lot of us (or our non-geek animators ;)

    Je peux le faire ;) [Pour vous] Gnu/Linux & Media Architect
  • Theador HairTheador Hair
    Posts: 4Member
    What would it take to fast track this? How much. Be honest.