Feature request: Flows registration
  • I modify ls_script.liq to register my radio station with flows.liquidsoap.fm. Perhaps other people who are not programmers would like a simple method to do that also - it's free promotion. You could add a checkbox in the preferences to permit flows registration.

    Here's the code I use to register my radio:

    s = register_flow(radio="Lizardbreath Radio",website="http://lizardbreath.listen2myradio.com",description="Music, satire, news, humor",genre="misc",user="<user>",password="<password>",streams=[("mp3/128k","http://109.169.47.188:11642")],s)

    Note: this declaration must happen before the input is consumed (before the stream is output). I put it directly under add_skip_command(s). Change <user> to your radio's user name and <password> to your radio's password. My registration goes to a shoutcast (type 1) output so the streams section is tailored for that: it uses mp3/128k and the URL has no mount point because shoutcast doesn't use one. Icecast, OGG, AAC streams need slight modifications to this example to register correctly.

  • 2 Comments sorted by
  • Someone buy that guy a beer! Correct approach - rather than say "Here (non-programmers) add this to your system" he submitted it as a Feature Request.

    Please add this one guys.
  • Thanks for the tip! :)
    Airtime Pro Hosting: http://airtime.pro