Changing bitrate is breaking liquisoap (1.9.1)
  • I've noticed that when i'm editing bitrate in liquidsoap.cfg, airtime-check-system wont pass (" WARNING! It looks like the Liquidsoap engine is continually restarting.")

    I'm outputing in MP3, here is my config file.

    I have no choice than uncommenting it out and leaving stream to 128kbps :/

    Any idea ?

    Thank you ! Smile

    ###########################################
    # Liquidsoap config file                  #
    ###########################################
    
    ###########################################
    # Output settings                         #
    ###########################################
    output_sound_device = false
    output_icecast_vorbis = false
    output_icecast_mp3 = true
    output_shoutcast = false
    
    # output_bitrate = 192
    # output_samplerate = 44100
    # output_stereo = true
    
    ###########################################
    # Logging settings                        #
    ###########################################
    log_file = "/var/log/airtime/pypo-liquidsoap/<script>.log"
    #log_level = 3
    
    ###########################################
    # Icecast Stream settings                 #
    ###########################################
    icecast_host = "127.0.0.1"
    icecast_port = 8000
    icecast_pass = "*************"
    
    # Icecast mountpoint names
    mount_point_mp3 = "radio"
    mount_point_vorbis = "airtime.ogg"
    
    # Webstream metadata settings
    icecast_url = "http://airtime.sourcefabric.org"
    icecast_description = "Airtime Radio!"
    icecast_genre = "genre"
    
    # Audio stream metadata for vorbis/ogg is disabled by default
    # due to a number of client media players that disconnect
    # when the metadata changes to a new track. Some versions of
    # mplayer and VLC have this problem. Enable this option at your
    # own risk!
    output_icecast_vorbis_metadata = false
    
    ###########################################
    # Shoutcast Stream settings               #
    ###########################################
    shoutcast_host = "127.0.0.1"
    shoutcast_port = 9000
    shoutcast_pass = "testing"
    
    # Webstream metadata settings
    shoutcast_url = "http://airtime.sourcefabric.org"
    shoutcast_genre = "genre"
    
    
    Follow me on Twitter : http://twitter.com/K8L
  • 3 Comments sorted by
  • Vote Up0Vote Down NaomiNaomi
    Posts: 228Member
    Those variables have been pushed to early to the config file it seems, This new liquidsoap binary we are using this release will not start if it has unused variables within the script. There is an example commented out how to set the bitrate in the script itself if needed.

    %mp3(bitrate=192, samplerate=44100, stereo=false)

    ignore(output.icecast(%mp3,
    host = icecast_host,
    port = icecast_port,
    password = icecast_pass,
    mount = mount_point_mp3,
    fallible = true,
    restart = true,
    restart_delay = 5,
    url = icecast_url,
    description = icecast_description,
    genre = icecast_genre,
    s)
    )

    replace just %mp3 above with the line above to configure these settings (you'll have to do similar for each output stream this is an example only for the mp3 icecast stream)
  • Sorry, I'm a beginner and the system is running on Debian Squeeze, could you tell me where I can find the file to edit ?

    Thanks a lot.
    Follow me on Twitter : http://twitter.com/K8L
  • Probly in /usr/lib/airtime/pypo/bin/scripts/ls_script.liq

    But it doesn't (bitrate) work with ogg in my AirTime 1.8.2