add a default stream flux to airtime
  • hi,

    i'm sorry because i ask a lot of question but i find your project intersting for my future webradio

    so now, airtime work very good in my debian 6 server

    but my question is :

    if i can modify the ls_scripts.liq and add a second flux

    now when i have nothing in the calendar in airtime, the server stream nothing

    but i prefered if the server will streaming a default folder, the file in the folder in continous and will repeat the flux 24/24h.

    and if possible, if i add a playlist in the calendar, airtime will stop the second flux and play just the playlist.

    exemple of default streaming if nothing is programming in airtime calendar :

    output.icecast.vorbis(
    host = icecast_host, port = icecast_port,
    password = icecast_pass,
    mount = "test.ogg",
    mksafe(playlist("/media/CORSAIR/ASRALL/streaming/test"))
    url = icecast_url,
    description = icecast_description, genre =icecast_genre,)


    the folder /media/CORSAIR/ASRALL/streaming/test have a few mp3 file to play
  • 6 Comments sorted by
  • Vote Up0Vote Down Daniel JamesDaniel James
    Posts: 844Member, Sourcefabric Team
    Hi Tounsi,

    > i'm sorry because i ask a lot of question

    No need to apologise, questions are welcome :-)

    > now when i have nothing in the calendar in airtime, the server stream
    > nothing
    >
    > but i prefered if the server will streaming a default folder, the file
    > in the folder in continous and will repeat the flux 24/24h.

    We have a 'smart playlist' feature planned which is a little more
    complex than an auto repeat or random play feature. It will select
    tracks automatically depending on criteria that the station manager defines.

    This smart playlists feature is necessary because just playing the same
    tracks on repeat doesn't make for great radio - anyone with a PC at home
    can do that with a standard media player.

    > and if possible if i add a playlist in the calendar, airtime will stop
    > the second flux and play just the playlist.

    I already put a comment on the ticket about the need for this feature:

    http://dev.sourcefabric.org/browse/CC-84?focusedCommentId=12 910&page=com.atlassian.jira.plugin.system.issuetabpanels %3Acomment-tabpanel#action_12910

    Cheers!

    Daniel
  • hi,

    thinks for your reponse Daniel.

    it's a great news, and it's a good idea for my radio too

    thanks
  • I already run a Liquidsoap radio station and am looking to use Airtime as a scheduling frontend. Until there is something built in, I'm just pointing "default" in ls_script.liq to a version of my old .liq so I get a mix of music and jingles. Seems okay so far but I might hold off on production rollout of Airtime until there is a built in solution.
    Maybe something similar to Rivendell's log generator would be good?
  • Vote Up0Vote Down Daniel JamesDaniel James
    Posts: 844Member, Sourcefabric Team
    Hi aukondk,

    > I already run a Liquidsoap radio station and am looking to use Airtime
    > as a scheduling frontend.

    That should be possible - did you put any media into the Airtime
    database yet?

    > I might hold off on
    > production rollout of Airtime until there is a built in solution.

    Do you mean a way to acomodate installations where Liquidsoap is already
    up and running?

    > Maybe something similar to Rivendell's log generator would be good?

    Have you tried the Playlist Builder in Airtime?

    Cheers!

    Daniel
  • Hi Daniel,
    My current LS install has a script which plays random tracks by default, mixed with jingles and hourly chime, and a web-based scheduler which uses cron to push a track when needed.

    Airtime could replace my scheduler if I splice my random track and jingle script into Airtime's .liq but it's not going to integrate with the web interface.

    The playlist editor in Airtime is great for specific tracks, but is time consuming. I refer to Rivendell where they have an option to generate a playlist based on a user defined template http://rivendell.tryphon.org/wiki/Log_Creation#Clocks
  • Vote Up0Vote Down Daniel JamesDaniel James
    Posts: 844Member, Sourcefabric Team
    Hi aukondk,

    > The playlist editor in Airtime is great for specific tracks, but is time
    > consuming. I refer to Rivendell where they have an option to generate a
    > playlist based on a user defined template
    > http://rivendell.tryphon.org/wiki/Log_Creation#Clocks

    That feature is planned for Airtime, we call it Smart Playlists.

    Cheers!

    Daniel