SHOUTcast DNAS
  • Hi there,

    Is everyone here using Icecast2 only ?

    Anyone manage to stream Airtime directly to a SHOUTcast DNAS ?

    Trying to figure out why Airtime wont stream to a SHOUTcast server when other sources work fine.

     

  • 49 Comments sorted by
  • I'm able to stream to Shoutcast and Icecast at the same time with Airtime.  The only difference in the settings is the port I use for both and of course the sv_serv2 cfg file which has to be modified to match the port in Airtime.  I'm doing this all on Debian Wheezy.
  • hmm...
    I don't have a sv_serv2 cfg ... probably a different version to me.
    All I get is this:


    *******************************************************************************
    ** SHOUTcast Distributed Network Audio Server
    ** Copyright (C) 1998-2004 Nullsoft, Inc.  All Rights Reserved.
    ** Use "sc_serv filename.ini" to specify an ini file.
    *******************************************************************************

    Event log:
    <05/09/13@17:02:02> [SHOUTcast] DNAS/win32 v1.9.8 (Feb 28 2007) starting up...
    <05/09/13@17:02:02> [main] loaded config from C:\SHOUTcast\sc_serv.80.ini
    <05/09/13@17:02:02> [main] initializing (usermax:32 portbase:80)...
    <05/09/13@17:02:02> [main] No ban file found (sc_serv.ban)
    <05/09/13@17:02:02> [main] No rip file found (sc_serv.rip)
    <05/09/13@17:02:02> [main] opening source socket
    <05/09/13@17:02:02> [main] source thread starting
    <05/09/13@17:02:02> [main] opening client socket
    <05/09/13@17:02:02> [source] listening for connection on port 81
    <05/09/13@17:02:02> [main] Client Stream thread [0] starting
    <05/09/13@17:02:02> [main] client main thread starting
    <05/09/13@17:03:26> [dest: 192.168.1.1] server unavailable, disconnecting
    <05/09/13@17:03:41> [sleeping] 0 listeners (0 unique)

  • I think Airtime is looking for the SHOUTcast server on the same IP.

    In my case it should be a different IP.

     

    <05/09/13@17:28:12> [dest: 192.168.1.1] server unavailable, disconnecting
    <05/09/13@17:28:57> [dest: 192.168.1.222] Invalid resource request(/admin.cgi?si
    d=1&mode=viewxml)
    <05/09/13@17:30:58> [dest: 192.168.1.1] Invalid resource request(/admin.cgi?sid=
    1&mode=viewxml)

  •  

    Post edited by Thomas Hackett at 2013-05-09 11:46:27


  • An unconfirmed report  says AOL's Winamp/SHOUTcast service will also remain operational.

    So... no excuse...

    I still need to configure it somehow for now.
  • You're trying to make out with a zombie! Shoutcast2 is DOA and the 1.9.x series has essentially been abandoned. The bugfixes will never come. AOL has not and will not invest in this project, trust me.
  •  

    You're trying to make out with a zombie! Shoutcast2 is DOA and the 1.9.x series has essentially been abandoned. The bugfixes will never come. AOL has not and will not invest in this project, trust me.



    Not sure if I can get the aggregators (TuneIN, RadioTuna etc) to play from Icecast. Relaying Icecast to Shoutcast doesn't work (or is not allowed). Not even my foobar2000 client seems to work with Airtime's Icecast stream. Shoutcast 1.9.x had no bugs as far as all the above was concerned, no need for support when it works :-)

    Post edited by Thomas Hackett at 2013-05-10 21:31:30
  • I double checked... my Shoutcast server played non stop for a couple of years, and it still works when encoding from SAM, so I'd really like to know why Airtime can't speak to it.
  • Here's what it should look like... this is using MIXXX which is also one of Airtime's recommended partner products. (This test was also done from a different IP than the airtime Server):

    *******************************************************************************
    ** SHOUTcast Distributed Network Audio Server
    ** Copyright (C) 1998-2004 Nullsoft, Inc.  All Rights Reserved.
    ** Use "sc_serv filename.ini" to specify an ini file.
    *******************************************************************************

    Event log:
    <05/09/13@20:45:27> [SHOUTcast] DNAS/win32 v1.9.8 (Feb 28 2007) starting up...
    <05/09/13@20:45:27> [main] loaded config from C:\SHOUTcast\sc_serv.80.ini
    <05/09/13@20:45:27> [main] initializing (usermax:32 portbase:80)...
    <05/09/13@20:45:27> [main] No ban file found (sc_serv.ban)
    <05/09/13@20:45:27> [main] No rip file found (sc_serv.rip)
    <05/09/13@20:45:27> [main] opening source socket
    <05/09/13@20:45:27> [main] source thread starting
    <05/09/13@20:45:27> [main] opening client socket
    <05/09/13@20:45:27> [source] listening for connection on port 81
    <05/09/13@20:45:27> [main] Client Stream thread [0] starting
    <05/09/13@20:45:27> [main] client main thread starting
    <05/09/13@20:45:29> [source] connected from 192.168.1.1
    <05/09/13@20:45:30> [source] icy-name: ; icy-genre:Live Mix
    <05/09/13@20:45:30> [source] icy-pub:0 ; icy-br:160 ; icy-url:http://www.bistro.fm
    <05/09/13@20:45:30> [source] icy-irc: ; icy-icq: ; icy-aim:
    <05/09/13@20:46:12> [dest: 192.168.1.1] starting stream (UID: 0)[L: 1]{A: foobar2000/1.1.7}(P: 0)
    <05/09/13@20:46:40> [active] 1 listeners (1 unique)

    Post edited by Thomas Hackett at 2013-05-09 14:51:11
  • So, it's probably an encoder problem ... taking us back to liquidsoap/pypo stuff...
  • Thought so...

    LIQUIDSOAP_PROCESS_ID          = FAILED

    Strange that IceCast2 is actually streaming while liquidsoap shows this failure.

    (I mean clicking on M3U within the IceCast page works but Shoutcasting to a client doesn't).

    ::

    root@aptosid:/var/log/airtime/pypo-liquidsoap# airtime-check-system
    AIRTIME_STATUS_URL             = http://localhost:8888/api/status/format/json/api_key/%%api_key%%
    AIRTIME_SERVER_RESPONDING      = OK
    KERNEL_VERSION                 = 3.9-0.slh.4-aptosid-amd64
    MACHINE_ARCHITECTURE           = x86_64
    TOTAL_MEMORY_MBYTES            = 4055184
    TOTAL_SWAP_MBYTES              = 0
    AIRTIME_VERSION                = 2.3.1
    OS                             = Debian GNU/Linux unstable (sid) x86_64
    CPU                            = AMD Phenom(tm) 9950 Quad-Core Processor
    WEB_SERVER                     = Apache/2.2.22 (Debian)
    PLAYOUT_ENGINE_PROCESS_ID      = 2334
    PLAYOUT_ENGINE_RUNNING_SECONDS = 250511
    PLAYOUT_ENGINE_MEM_PERC        = 0.9%
    PLAYOUT_ENGINE_CPU_PERC        = 0.0%
    LIQUIDSOAP_PROCESS_ID          = FAILED
    LIQUIDSOAP_RUNNING_SECONDS     = 0
    LIQUIDSOAP_MEM_PERC            = 0%
    LIQUIDSOAP_CPU_PERC            = 0%
    -- Displaying log file /var/log/airtime/pypo-liquidsoap/ls_script.log
    -- 2013/05/09 21:35:21 [frame:3] Using 44100Hz audio, 25Hz video, 44100Hz master.
    -- 2013/05/09 21:35:21 [frame:3] Frame size must be a multiple of 1764 ticks = 1764 audio samples = 1 video samples.
    -- 2013/05/09 21:35:21 [frame:3] Targetting 'frame.duration': 0.04s = 1764 audio samples = 1764 ticks.
    -- 2013/05/09 21:35:21 [frame:3] Frames last 0.04s = 1764 audio samples = 1 video samples = 1764 ticks.
    -- 2013/05/09 21:35:21 [lang:3] /usr/lib/airtime/pypo/bin/liquidsoap_scripts/notify.sh --liquidsoap-started &
    --
    --
    MEDIA_MONITOR_PROCESS_ID       = 4192
    MEDIA_MONITOR_RUNNING_SECONDS  = 250419
    MEDIA_MONITOR_MEM_PERC         = 0.4%
    MEDIA_MONITOR_CPU_PERC         = 0.0%
    -- There appears to be a problem with your Airtime installation.
    -- Please visit http://wiki.sourcefabric.org/x/HABQ

  • Airtime works with SHOUTcast. If Liquidsoap has failed, then please provide
    us with the log file.


    On Thu, May 9, 2013 at 3:41 PM, Thomas Hackett <<br />airtime-support@lists.sourcefabric.org> wrote:

    > Thought so...
    >
    > LIQUIDSOAP_PROCESS_ID = FAILED
    >
    > Strange that IceCast2 is actually streaming while liquidsoap shows this
    > failure.
    >
    > (I mean clicking on M3U within the IceCast page works but Shoutcasting to
    > a client doesn't).
    >
    > ::
    >
    > root@aptosid:/var/log/airtime/pypo-liquidsoap# airtime-check-system
    > AIRTIME_STATUS_URL =
    > http://localhost:8888/api/status/format/json/api_key/%%api_key%%
    > AIRTIME_SERVER_RESPONDING = OK
    > KERNEL_VERSION = 3.9-0.slh.4-aptosid-amd64
    > MACHINE_ARCHITECTURE = x86_64
    > TOTAL_MEMORY_MBYTES = 4055184
    > TOTAL_SWAP_MBYTES = 0
    > AIRTIME_VERSION = 2.3.1
    > OS = Debian GNU/Linux unstable (sid) x86_64
    > CPU = AMD Phenom(tm) 9950 Quad-Core Processor
    > WEB_SERVER = Apache/2.2.22 (Debian)
    > PLAYOUT_ENGINE_PROCESS_ID = 2334
    > PLAYOUT_ENGINE_RUNNING_SECONDS = 250511
    > PLAYOUT_ENGINE_MEM_PERC = 0.9%
    > PLAYOUT_ENGINE_CPU_PERC = 0.0%
    > LIQUIDSOAP_PROCESS_ID = FAILED
    > LIQUIDSOAP_RUNNING_SECONDS = 0
    > LIQUIDSOAP_MEM_PERC = 0%
    > LIQUIDSOAP_CPU_PERC = 0%
    > -- Displaying log file /var/log/airtime/pypo-liquidsoap/ls_script.log
    > -- 2013/05/09 21:35:21 [frame:3] Using 44100Hz audio, 25Hz video, 44100Hz
    > master.
    > -- 2013/05/09 21:35:21 [frame:3] Frame size must be a multiple of 1764
    > ticks = 1764 audio samples = 1 video samples.
    > -- 2013/05/09 21:35:21 [frame:3] Targetting 'frame.duration': 0.04s = 1764
    > audio samples = 1764 ticks.
    > -- 2013/05/09 21:35:21 [frame:3] Frames last 0.04s = 1764 audio samples =
    > 1 video samples = 1764 ticks.
    > -- 2013/05/09 21:35:21 [lang:3]
    > /usr/lib/airtime/pypo/bin/liquidsoap_scripts/notify.sh --liquidsoap-started
    > &
    > --
    > --
    > MEDIA_MONITOR_PROCESS_ID = 4192
    > MEDIA_MONITOR_RUNNING_SECONDS = 250419
    > MEDIA_MONITOR_MEM_PERC = 0.4%
    > MEDIA_MONITOR_CPU_PERC = 0.0%
    > -- There appears to be a problem with your Airtime installation.
    > -- Please visit http://wiki.sourcefabric.org/x/HABQ
    >
    >
    Airtime Pro Hosting: http://airtime.pro
  • Airtime works with SHOUTcast. If Liquidsoap has failed, then please provide us with the log file.



    Hi Martin, I guess you mean this one:

    /var/log/airtime/pypo-liquidsoap/ls_script.log

    See attachment.

  • Here's the config:

    ################################################
    # THIS FILE IS AUTO GENERATED. DO NOT CHANGE!! #
    ################################################
    output_sound_device = false
    icecast_vorbis_metadata = false
    s1_user = ""
    s1_genre = "genre"
    s2_user = ""
    s2_mount = ""
    s3_enable = false
    s3_output = "icecast"
    s3_host = ""
    s3_port = 0
    s3_user = ""
    s3_pass = ""
    s3_mount = ""
    s3_url = ""
    s3_description = ""
    s3_genre = ""
    s3_name = ""
    s1_channels = "stereo"
    s2_channels = "stereo"
    s3_channels = "stereo"
    s1_type = "mp3"
    s1_bitrate = 160
    s1_host = "bistro.fm"
    s1_name = "Bistro 2000 im Kudamm Karree"
    s1_description = "Die Berliner Bierstube"
    s2_bitrate = 160
    s3_type = "ogg"
    s3_bitrate = 48
    output_sound_device_type = "None"
    s1_pass = "xxx"
    s2_port = 80
    s1_output = "icecast"
    s2_type = "mp3"
    s1_mount = "airtime"
    s2_name = "Bistro 2000 im Kudamm Karree"
    s2_description = "Die Berliner Bierstube"
    s2_genre = "AirTime80"
    s1_port = 8000
    s2_output = "shoutcast"
    s2_pass = "xxx"
    s2_enable = true
    master_live_stream_port = 0
    master_live_stream_mp = ""
    dj_live_stream_port = 0
    s2_host = "bistro.fm"
    dj_live_stream_mp = ""
    off_air_meta = "Airtime - offline"
    s1_enable = true
    log_file = "/var/log/airtime/pypo-liquidsoap/<script>.log"

  • There's nothing useful in the log file. Try running

    sudo -u pypo /usr/lib/airtime/pypo/bin/airtime-liquidsoap

    it should spit out some useful info.
    Airtime Pro Hosting: http://airtime.pro
  • That looks pretty uneventful too...

    Unless ...
    actually that command doesn't come back to a prompt until I press enter (a 2nd time).

    There's nothing useful in the log file. Try running

    sudo -u pypo /usr/lib/airtime/pypo/bin/airtime-liquidsoap

    it should spit out some useful info.


    root@aptosid:/var/log/airtime/pypo-liquidsoap# sudo -u pypo /usr/lib/airtime/pypo/bin/airtime-liquidsoap
    root@aptosid:/var/log/airtime/pypo-liquidsoap#
    #########################################
    #           *** pypo  ***               #
    #     pypo notification gateway         #
    #########################################
    root@aptosid:/var/log/airtime/pypo-liquidsoap#



    Only the 
     airtime-check-system   seems to show the failure.
    While airtime does indeed show On Air and I can still click the M3U icon and listen to the stream. What's also strange is the name of the mount point no longer matches what's in the stream config within the webgui... I guess it's cached somewhere. Noticed the Listen button no longer works for either of the 2 streams though.
    Post edited by Thomas Hackett at 2013-05-09 19:27:07
  • I got rid of this error:

    2013/05/10 15:52:51 [dynamic.loader:3] Could not find dynamic module for aacplus encoder.

    by doing this:

    apt-get install libaacplus-ocaml
    apt-get install libaacplus-ocaml-dev libaacplus-ocaml-dynlink

    but...

    still cannot stream to SHOUTcast :-/


    and, this error, which is caused by Airtime within the Shoutcast console, doesn't make sense because the URL can indeed be called (when Shoutcast is running) :


    <05/11/13@04:05:14> [dest: 192.168.1.1] Invalid resource request(/admin.cgi?sid=
    1&mode=viewxml)



    http://bistro.fm/admin.cgi?sid=1&mode=viewxml


    Post edited by Thomas Hackett at 2013-05-10 22:16:56
  • Attached admin.cgi

    470 x 786 - 90K
    Post edited by Thomas Hackett at 2013-05-10 22:27:03
  • Attached screen shot of Preference/stream-setting

    577 x 653 - 43K
    Post edited by Thomas Hackett at 2013-05-10 22:35:10
  • Vote Up0Vote Down Cliff WangCliff Wang
    Posts: 339Member, Sourcefabric Team
    Hi,
    Just did a try about output stream with SHOUTcast DNAS, it works fine for me:
    airtimeqa@ubuntu:~/shoutcast$ ./sc_serv my.conf
    2013-05-11 13:20:29     I       msg:<***>       Logger startup
    2013-05-11 13:20:29     I       msg:<***>       version 2.0.0.29
    2013-05-11 13:20:29     D       msg:<***>
    2013-05-11 13:20:29     I       msg:***************************************************************
    2013-05-11 13:20:29     I       msg:** SHOUTcast Distributed Network Audio Server (DNAS)
    2013-05-11 13:20:29     I       msg:** Copyright (C) 1999-2011 Nullsoft, Inc.  All Rights Reserved.
    2013-05-11 13:20:29     I       msg:** Use "sc_serv filename.conf" to specify a config file.
    2013-05-11 13:20:29     I       msg:***************************************************************
    2013-05-11 13:20:29     I       msg:[SHOUTcast] DNAS/posix(linux x86) v2.0.0.29 (Jul 31 2011) starting up...
    2013-05-11 13:20:29     I       msg:[MAIN] PID: 10564
    2013-05-11 13:20:29     I       msg:[MAIN] Loaded config from my.conf
    2013-05-11 13:20:29     I       msg:[MAIN] Calculated CPU count is 1
    2013-05-11 13:20:29     I       msg:[MAIN] Starting 1 network threads
    2013-05-11 13:20:29     I       msg:[MICROSERVER] Listening for connection on port 8001
    2013-05-11 13:20:29     I       msg:[MICROSERVER] Listening for connection on port 8002
    2013-05-11 13:20:34     I       msg:[SRC 192.168.135.131:36953 sid=1] SHOUTcast 1 source connection.
    2013-05-11 13:22:27     I       msg:[ADMINCGI] Title update [Airtime - offline]
    2013-05-11 13:22:27     I       msg:[ADMINCGI] Title update [ - ]

    My conf file:

    logfile=logs/sc_serv.log
    w3clog=logs/sc_w3c.log
    banfile=control/sc_serv.ban
    ripfile=control/sc_serv.rip
    publicserver=never
    portbase=8001
    password=testing
    adminpassword=changeme
    streamid=1
    streampath=/test.aac

    I didn't change the default value a lot except disable publicserver and update the portbase. 
    Cloud Radio -> http://airtime.pro
  • Hi,

    Just did a try about output stream with SHOUTcast DNAS, it works fine for me:
    airtimeqa@ubuntu:~/shoutcast$ ./sc_serv my.conf
    2013-05-11 13:20:29     I       msg:<***>       Logger startup
    2013-05-11 13:20:29     I       msg:<***>       version 2.0.0.29
    2013-05-11 13:20:29     D       msg:<***>
    2013-05-11 13:20:29     I       msg:***************************************************************
    2013-05-11 13:20:29     I       msg:** SHOUTcast Distributed Network Audio Server (DNAS)
    2013-05-11 13:20:29     I       msg:** Copyright (C) 1999-2011 Nullsoft, Inc.  All Rights Reserved.
    2013-05-11 13:20:29     I       msg:** Use "sc_serv filename.conf" to specify a config file.
    2013-05-11 13:20:29     I       msg:***************************************************************
    2013-05-11 13:20:29     I       msg:[SHOUTcast] DNAS/posix(linux x86) v2.0.0.29 (Jul 31 2011) starting up...
    2013-05-11 13:20:29     I       msg:[MAIN] PID: 10564
    2013-05-11 13:20:29     I       msg:[MAIN] Loaded config from my.conf
    2013-05-11 13:20:29     I       msg:[MAIN] Calculated CPU count is 1
    2013-05-11 13:20:29     I       msg:[MAIN] Starting 1 network threads
    2013-05-11 13:20:29     I       msg:[MICROSERVER] Listening for connection on port 8001
    2013-05-11 13:20:29     I       msg:[MICROSERVER] Listening for connection on port 8002
    2013-05-11 13:20:34     I       msg:[SRC 192.168.135.131:36953 sid=1] SHOUTcast 1 source connection.
    2013-05-11 13:22:27     I       msg:[ADMINCGI] Title update [Airtime - offline]
    2013-05-11 13:22:27     I       msg:[ADMINCGI] Title update [ - ]

    My conf file:

    logfile=logs/sc_serv.log
    w3clog=logs/sc_w3c.log
    banfile=control/sc_serv.ban
    ripfile=control/sc_serv.rip
    publicserver=never
    portbase=8001
    password=testing
    adminpassword=changeme
    streamid=1
    streampath=/test.aac

    I didn't change the default value a lot except disable publicserver and update the portbase. 


    That's SC version 2... something I want to avoid if possible... do you have a version 1 test available ?

    MaxUser=32
    Password=xxxx
    PortBase=80
    LogFile=C:\SHOUTcast\logs\sc_serv.log
    RealTime=1
    ScreenLog=1
    ShowLastSongs=10
    W3CEnable=Yes
    W3CLog=C:\SHOUTcast\logs\sc_w3c.log
    SrcIP=ANY
    DestIP=ANY
    Yport=80
    NameLookups=0
    AdminPassword=xxxx
    AutoDumpUsers=0
    AutoDumpSourceTime=30
    PublicServer=default
    AllowRelay=Yes
    AllowPublicRelay=Yes
    MetaInterval=8192

    Post edited by Thomas Hackett at 2013-05-11 17:10:42
  • As mentioned further up, [airtime-check-system] already fails so that needs fixing before looking at Shoutcast I think. I'm hoping the next Airtime Liquidsoap (rather than the Debian plugins) will be the magic fix. If not then I don't know where else to look.
  • root@aptosid:~# airtime-check-system
    AIRTIME_STATUS_URL = http://localhost:8888/api/status/format/json/api_key/%%api_key%%
    AIRTIME_SERVER_RESPONDING = OK
    KERNEL_VERSION = 3.9-0.slh.4-aptosid-amd64
    MACHINE_ARCHITECTURE = x86_64
    TOTAL_MEMORY_MBYTES = 4055184
    TOTAL_SWAP_MBYTES = 0
    AIRTIME_VERSION = 2.3.1
    OS = Debian GNU/Linux unstable (sid) x86_64
    CPU = AMD Phenom(tm) 9950 Quad-Core Processor
    WEB_SERVER = Apache/2.2.22 (Debian)
    PLAYOUT_ENGINE_PROCESS_ID = 15918
    PLAYOUT_ENGINE_RUNNING_SECONDS = 67265
    PLAYOUT_ENGINE_MEM_PERC = 0.4%
    PLAYOUT_ENGINE_CPU_PERC = 0.0%
    LIQUIDSOAP_PROCESS_ID = FAILED
    LIQUIDSOAP_RUNNING_SECONDS = 0
    LIQUIDSOAP_MEM_PERC = 0%
    LIQUIDSOAP_CPU_PERC = 0%
    -- Displaying log file /var/log/airtime/pypo-liquidsoap/ls_script.log
    -- 2013/05/11 22:55:10 [frame:3] Using 44100Hz audio, 25Hz video, 44100Hz master.
    -- 2013/05/11 22:55:10 [frame:3] Frame size must be a multiple of 1764 ticks = 1764 audio samples = 1 video samples.
    -- 2013/05/11 22:55:10 [frame:3] Targetting 'frame.duration': 0.04s = 1764 audio samples = 1764 ticks.
    -- 2013/05/11 22:55:10 [frame:3] Frames last 0.04s = 1764 audio samples = 1 video samples = 1764 ticks.
    -- 2013/05/11 22:55:10 [lang:3] /usr/lib/airtime/pypo/bin/liquidsoap_scripts/notify.sh --liquidsoap-started &
    --
    --
    MEDIA_MONITOR_PROCESS_ID = 4192
    MEDIA_MONITOR_RUNNING_SECONDS = 427655
    MEDIA_MONITOR_MEM_PERC = 0.4%
    MEDIA_MONITOR_CPU_PERC = 0.0%
    -- There appears to be a problem with your Airtime installation.
    -- Please visit http://wiki.sourcefabric.org/x/HABQ
  • Kinda strange 'cause the logs show nothing and it worked briefly:

    http://forum.sourcefabric.org/discussion/15353/airtime-ssl


  • Vote Up0Vote Down Cliff WangCliff Wang
    Posts: 339Member, Sourcefabric Team
    Did you ever try to build liquidsoap by yourself?
    Cloud Radio -> http://airtime.pro
  • No ... correction yes... 'make' didn't work because ./configure failed... lemmee try to remember why ...

    Here's the result after ./configure:

    checking for ocamlc version... 3.12.1
    checking for ocaml graphics module... Not found.

    checking for ocaml pcre module... configure: error: Not found.

    ::

    OK loaded a load of other modules... now configure works
    make and make install worked now too.

    Executed :
    invoke-rc.d airtime-playout restart

    No change

    Post edited by Thomas Hackett at 2013-05-11 17:24:08
  • Vote Up0Vote Down Cliff WangCliff Wang
    Posts: 339Member, Sourcefabric Team
    Try SHOUTcast DNAS 1.9, too. And it works. I disable the publicserver by:
    PublicServer=never
    Cloud Radio -> http://airtime.pro
  • Ok thanks, good to know that 1.9.x works with your Airtime.
    No clue why mine doesn't, not even with the new self compiled liquidsoap:

    root@aptosid:~/liquidsoap-1.1.1# liquidsoap --version
    Liquidsoap 1.1.1
    Copyright (c) 2003-2013 Savonet team
    Liquidsoap is open-source software, released under GNU General Public License.
    See <http://liquidsoap.fm&gt; for more information.

  • Attached new log

    /var/log/airtime/pypo-liquidsoap/ls_script.log

    ah, wait Airtime isn't using the new 1.1.1.
    Post edited by Thomas Hackett at 2013-05-11 17:32:52
  • Vote Up0Vote Down Cliff WangCliff Wang
    Posts: 339Member, Sourcefabric Team
    Actually, I did meet the problem as you mentioned:
    <05/11/13@14:17:20> [dest: 192.168.135.131] Invalid resource request(/admin.cgi?sid=1&mode=viewxml)
    But I solved it by disable publicserver.
    Cloud Radio -> http://airtime.pro

  • But then you wont be listed in the Shoutcast directory right?

    Actually, I did meet the problem as you mentioned:

    <05/11/13@14:17:20> [dest: 192.168.135.131] Invalid resource request(/admin.cgi?sid=1&mode=viewxml)
    But I solved it by disable publicserver.



  • Vote Up0Vote Down Cliff WangCliff Wang
    Posts: 339Member, Sourcefabric Team
    sudo service airtime-liquidsoap stop
    sudo cp /usr/bin/liquidsoap /usr/bin/liquidsoap.bak
    sudo cp liquidsoap-full/liquidsoap/src/liquidsoap /usr/bin/liquidsoap
    sudo service airtime-liquidsoap start

    Attached new log

    /var/log/airtime/pypo-liquidsoap/ls_script.log

    ah, wait Airtime isn't using the new 1.1.1.



    I'm using mplayer to listen to http://my.machine.addr:8001/ directly.


    But then you wont be listed in the Shoutcast directory right?

    Actually, I did meet the problem as you mentioned:

    <05/11/13@14:17:20> [dest: 192.168.135.131] Invalid resource request(/admin.cgi?sid=1&mode=viewxml)
    But I solved it by disable publicserver.






    Cloud Radio -> http://airtime.pro
  • sudo service airtime-liquidsoap stop
    sudo cp /usr/bin/liquidsoap /usr/bin/liquidsoap.bak
    sudo cp liquidsoap-full/liquidsoap/src/liquidsoap /usr/bin/liquidsoap
    sudo service airtime-liquidsoap start

    Attached new log

    /var/log/airtime/pypo-liquidsoap/ls_script.log

    ah, wait Airtime isn't using the new 1.1.1.



    I'm using mplayer to listen to http://my.machine.addr:8001/ directly.


    But then you wont be listed in the Shoutcast directory right?

    Actually, I did meet the problem as you mentioned:

    <05/11/13@14:17:20> [dest: 192.168.135.131] Invalid resource request(/admin.cgi?sid=1&mode=viewxml)
    But I solved it by disable publicserver.








    Tried those steps and I get:

    root@aptosid:/usr/bin# service airtime-liquidsoap start
    Starting Liquidsoap: At /usr/lib/airtime/pypo/bin/liquidsoap_scripts/ls_lib.liq, line 260, char 49:
    the variable output.shoutcast used here has not been previously defined.
    Done.

    ::

    If this works (wishful thinking) I do indeed want to be listed, not only in Shoutcast but in as many directories as possible... promotion would be part of the objective.
  • Above error is familiar ... it also happened when:

    Preparing to replace liquidsoap 1.0.1~squeeze~sfo-4 (using .../liquidsoap_1.0.1+repack1-1.1_amd64.deb) ...

    So, if you (Cliff) are using your own compiled version of LiquidSoap with Airtime I'd be interested to know how you got round that one.
  • Vote Up0Vote Down Cliff WangCliff Wang
    Posts: 339Member, Sourcefabric Team
    Well, understood your situation but I don't have SHOUTcast account to make it public. At least we may be sure some publicserver related settings cause the problem.

    Please try to restart airtime-playout then airtime-check-system:

    Above error is familiar ... it also happened when:

    Preparing to replace liquidsoap 1.0.1~squeeze~sfo-4 (using .../liquidsoap_1.0.1+repack1-1.1_amd64.deb) ...

    So, if you (Cliff) are using your own compiled version of LiquidSoap with Airtime I'd be interested to know how you got round that one.




    Post edited by Cliff Wang at 2013-05-11 18:10:50
    Cloud Radio -> http://airtime.pro
  • I don't think making the server private will help... but I'll give it a go...

    PublicServer=never


    Restarted ShoutCast


    root@aptosid:~# service airtime-liquidsoap stop
    Stopping Liquidsoap: Done.
    root@aptosid:~# service airtime-liquidsoap start
    Starting Liquidsoap: At /usr/lib/airtime/pypo/bin/liquidsoap_scripts/ls_lib.liq, line 260, char 49:
    the variable output.shoutcast used here has not been previously defined.

    Done.

    root@aptosid:~# invoke-rc.d airtime-playout restart
    Restarting Airtime Scheduler Engine: Done.


    root@aptosid:~# airtime-check-system
    AIRTIME_STATUS_URL = http://localhost:8888/api/status/format/json/api_key/%%api_key%%
    AIRTIME_SERVER_RESPONDING = OK
    KERNEL_VERSION = 3.9-0.slh.4-aptosid-amd64
    MACHINE_ARCHITECTURE = x86_64
    TOTAL_MEMORY_MBYTES = 4055184
    TOTAL_SWAP_MBYTES = 0
    AIRTIME_VERSION = 2.3.1
    OS = Debian GNU/Linux unstable (sid) x86_64
    CPU = AMD Phenom(tm) 9950 Quad-Core Processor
    WEB_SERVER = Apache/2.2.22 (Debian)
    PLAYOUT_ENGINE_PROCESS_ID = 8804
    PLAYOUT_ENGINE_RUNNING_SECONDS = 20
    PLAYOUT_ENGINE_MEM_PERC = 0.4%
    PLAYOUT_ENGINE_CPU_PERC = 0.0%
    LIQUIDSOAP_PROCESS_ID = FAILED
    LIQUIDSOAP_RUNNING_SECONDS = 0
    LIQUIDSOAP_MEM_PERC = 0%
    LIQUIDSOAP_CPU_PERC = 0%
    -- Displaying log file /var/log/airtime/pypo-liquidsoap/ls_script.log
    -- 2013/05/11 23:51:44 [frame:3] Using 44100Hz audio, 25Hz video, 44100Hz master.
    -- 2013/05/11 23:51:44 [frame:3] Frame size must be a multiple of 1764 ticks = 1764 audio samples = 1 video samples.
    -- 2013/05/11 23:51:44 [frame:3] Targetting 'frame.duration': 0.04s = 1764 audio samples = 1764 ticks.
    -- 2013/05/11 23:51:44 [frame:3] Frames last 0.04s = 1764 audio samples = 1 video samples = 1764 ticks.
    -- 2013/05/11 23:51:44 [lang:3] /usr/lib/airtime/pypo/bin/liquidsoap_scripts/notify.sh --liquidsoap-started &
    --
    --
    MEDIA_MONITOR_PROCESS_ID = 4192
    MEDIA_MONITOR_RUNNING_SECONDS = 433725
    MEDIA_MONITOR_MEM_PERC = 0.4%
    MEDIA_MONITOR_CPU_PERC = 0.0%
    -- There appears to be a problem with your Airtime installation.
    -- Please visit http://wiki.sourcefabric.org/x/HABQ


    Post edited by Thomas Hackett at 2013-05-11 19:14:09
  • /var/log/airtime/pypo-liquidsoap/ls_script.log 

    was not written to since LiquidSoap 1.1.1
    Changed back to Airtime's 1.0.1

     

    2013/05/12 01:10:56 >>> LOG START
    2013/05/12 01:10:55 [protocols.external:3] Didn't find "ufetch".
    2013/05/12 01:10:55 [protocols.external:3] Found "/usr/bin/wget".
    2013/05/12 01:10:55 [main:3] Liquidsoap 1.0.1
    2013/05/12 01:10:55 [main:3] Using: graphics=[distributed with Ocaml] pcre=6.2.5 dtools=0.3.0 duppy=0.4.2 duppy.syntax=0.4.2 cry=0.2.2 mm=0.2.0 xmlplaylist=0.1.3 lasm=0.3.0 ogg=0.4.3 vorbis=0.6.1 speex=0.2.0 mad=0.4.4 flac=0.1.1 flac.ogg=0.1.1 dynlink=[distributed with Ocaml] lame=0.3.1 gstreamer=0.1.0 voaacenc=0.1.0 theora=0.3.schroedinger=0.1.0 gavl=0.1.4 bjack=0.1.3 alsa=0.2.1 ao=0.2.0 samplerate=0.1.1 taglib=0.2.0 magic=0.7.3 camomile=0.8.4 faad=0.3.0 soundtouch=0.1.7 portaudio=0.2.0 pueaudio=0.1.2 ladspa=0.1.4 dssi=0.1.0 sdl=0.9.0 camlimages=4.0.0 lo=0.1.0 yojson=1.0.3 gd=1.0a5
    2013/05/12 01:10:55 [dynamic.loader:3] Loaded dynamic aacplus encoder from /usr/lib/ocaml/aacplus
    2013/05/12 01:10:55 [dynamic.loader:2] Loaded plugin file /usr/lib/liquidsoap/1.0.1/plugins/cry.cmxs.
    2013/05/12 01:10:55 [dynamic.loader:2] Loaded plugin file /usr/lib/liquidsoap/1.0.1/plugins/flac.cmxs.
    2013/05/12 01:10:55 [dynamic.loader:2] Loaded plugin file /usr/lib/liquidsoap/1.0.1/plugins/mad.cmxs.
    2013/05/12 01:10:55 [dynamic.loader:2] Loaded plugin file /usr/lib/liquidsoap/1.0.1/plugins/faad.cmxs.
    2013/05/12 01:10:55 [dynamic.loader:2] Loaded plugin file /usr/lib/liquidsoap/1.0.1/plugins/lame.cmxs.
    2013/05/12 01:10:55 [dynamic.loader:2] Loaded plugin file /usr/lib/liquidsoap/1.0.1/plugins/taglib.cmxs.
    2013/05/12 01:10:55 [dynamic.loader:2] Loaded plugin file /usr/lib/liquidsoap/1.0.1/plugins/pulseaudio.cmxs.
    2013/05/12 01:10:55 [dynamic.loader:2] Loaded plugin file /usr/lib/liquidsoap/1.0.1/plugins/ogg.cmxs.
    2013/05/12 01:10:55 [dynamic.loader:2] Loaded plugin file /usr/lib/liquidsoap/1.0.1/plugins/vorbis.cmxs.
    2013/05/12 01:10:55 [dynamic.loader:2] Loaded plugin file /usr/lib/liquidsoap/1.0.1/plugins/voaacenc.cmxs.
    2013/05/12 01:10:55 [dynamic.loader:2] Loaded plugin file /usr/lib/liquidsoap/1.0.1/plugins/flac_ogg.cmxs.
    2013/05/12 01:10:56 [frame:3] Using 44100Hz audio, 25Hz video, 44100Hz master.
    2013/05/12 01:10:56 [frame:3] Frame size must be a multiple of 1764 ticks = 1764 audio samples = 1 video samples.
    2013/05/12 01:10:56 [frame:3] Targetting 'frame.duration': 0.04s = 1764 audio samples = 1764 ticks.
    2013/05/12 01:10:56 [frame:3] Frames last 0.04s = 1764 audio samples = 1 video samples = 1764 ticks.
    2013/05/12 01:10:56 [lang:3] /usr/lib/airtime/pypo/bin/liquidsoap_scripts/notify.sh --liquidsoap-started &

     

    root@aptosid:~# sudo -u pypo /usr/lib/airtime/pypo/bin/airtime-liquidsoap
    root@aptosid:~#
    #########################################
    #           *** pypo  ***               #
    #     pypo notification gateway         #
    #########################################

    root@aptosid:~#



     

    Post edited by Thomas Hackett at 2013-05-11 19:13:34
  • Hi Thomas,

    Try the following

    rm -r /var/run/airtime-liquidsoap.pid

    then restart liquidsoap. Is it "running" now in airtime-check-system?
    Airtime Pro Hosting: http://airtime.pro
  • Hi Thomas,


    Try the following

    rm -r /var/run/airtime-liquidsoap.pid

    then restart liquidsoap. Is it "running" now in airtime-check-system?




    root@aptosid:~# rm -r /var/run/airtime-liquidsoap.pid
    root@aptosid:~# airtime-check-system
    AIRTIME_STATUS_URL             = http://localhost:8888/api/status/format/json/ap                  i_key/%%api_key%%
    AIRTIME_SERVER_RESPONDING      = OK
    KERNEL_VERSION                 = 3.9-0.slh.4-aptosid-amd64
    MACHINE_ARCHITECTURE           = x86_64
    TOTAL_MEMORY_MBYTES            = 4055184
    TOTAL_SWAP_MBYTES              = 0
    AIRTIME_VERSION                = 2.3.1
    OS                             = Debian GNU/Linux unstable (sid) x86_64
    CPU                            = AMD Phenom(tm) 9950 Quad-Core Processor
    WEB_SERVER                     = Apache/2.2.22 (Debian)
    PLAYOUT_ENGINE_PROCESS_ID      = NOT MONITORED
    PLAYOUT_ENGINE_RUNNING_SECONDS = 1
    PLAYOUT_ENGINE_MEM_PERC        = 0%
    PLAYOUT_ENGINE_CPU_PERC        = 0%
    LIQUIDSOAP_PROCESS_ID          = FAILED
    LIQUIDSOAP_RUNNING_SECONDS     = 0
    LIQUIDSOAP_MEM_PERC            = 0%
    LIQUIDSOAP_CPU_PERC            = 0%
    -- Displaying log file /var/log/airtime/pypo-liquidsoap/ls_script.log
    -- 2013/05/12 11:49:19 [frame:3] Using 44100Hz audio, 25Hz video, 44100Hz master.
    -- 2013/05/12 11:49:19 [frame:3] Frame size must be a multiple of 1764 ticks = 1764 audio samples = 1 video samples.
    -- 2013/05/12 11:49:19 [frame:3] Targetting 'frame.duration': 0.04s = 1764 audio samples = 1764 ticks.
    -- 2013/05/12 11:49:19 [frame:3] Frames last 0.04s = 1764 audio samples = 1 video samples = 1764 ticks.
    -- 2013/05/12 11:49:19 [lang:3] /usr/lib/airtime/pypo/bin/liquidsoap_scripts/notify.sh --liquidsoap-started &
    --
    --
    MEDIA_MONITOR_PROCESS_ID       = 4192
    MEDIA_MONITOR_RUNNING_SECONDS  = 474011
    MEDIA_MONITOR_MEM_PERC         = 0.4%
    MEDIA_MONITOR_CPU_PERC         = 0.0%
    -- There appears to be a problem with your Airtime installation.
    -- Please visit http://wiki.sourcefabric.org/x/HABQ

     

     

    System has also been restarted a few times to make sure something wasn't stuck...

    Also tried:
    apt-get remove airtime
    apt-get install airtime

    which got me back to:
    LIQUIDSOAP_PROCESS_ID          = FAILED
    tail: cannot open /var/log/airtime/pypo-liquidsoap/ls_script.log for reading: No such file or Directory

     

    Initial fix for the above was below command but it no longer works:

    root@aptosid:/usr/local/bin# apt-get install liquidsoap=1.0.1~squeeze~sfo-4
    Reading package lists... Done
    Building dependency tree
    Reading state information... Done
    E: Version '1.0.1~squeeze~sfo-4' for 'liquidsoap' was not found

     

     

    This looks ok though:

    root@aptosid:/usr/bin#  ls -la|grep liq
    lrwxrwxrwx  1 root root          19 May 12 13:00 airtime-liquidsoap -> /usr/bin/liquidsoap
    -rwxr-xr-x  1 root root     4439000 Oct 20  2012 liquidsoap
    root@aptosid:/usr/bin#  ./liquidsoap --version
    Liquidsoap 1.0.1
    Copyright (c) 2003-2012 Savonet team
    Liquidsoap is open-source software, released under GNU General Public License.
    See <http://savonet.sf.net> for more information.

    Post edited by Thomas Hackett at 2013-05-12 07:19:36
  • After all these steps the command liquidsoap --version no longer works, even after apt-get remove and dpkg --purge. It always looks for liquidsoap in /usr/local/bin instead of /usr/bin. I can fix this with a symlink but that's not very comforting. I guess it's the result of trying the self-compiled version but I don't know how to turn it back the way it was.

    Possible fix: hash -r

    root@aptosid:~# hash -r
    root@aptosid:~#  liquidsoap --version
    Liquidsoap 1.0.1
    Copyright (c) 2003-2012 Savonet team
    Liquidsoap is open-source software, released under GNU General Public License.
    See <http://savonet.sf.net> for more information.
    root@aptosid:~# sudo -u pypo /usr/lib/airtime/pypo/bin/airtime-liquidsoap
    At /usr/lib/airtime/pypo/bin/liquidsoap_scripts/ls_lib.liq, line 260, char 49:
      the variable output.shoutcast used here has not been previously defined.


    Post edited by Thomas Hackett at 2013-05-12 08:43:54
  • So, when will the new Airtime-liquidsoap version be out?
  • Found liquidsoap=1.0.1~wheezy~sfo-4 (using apt-cache show liquidsoap)

    which got rid of the line 260, char 49: error,

    (so now I have the proper Airtime version of Liquidsoap, right?) but

    LIQUIDSOAP_PROCESS_ID    still     = FAILED

     

    root@aptosid:~# apt-get install liquidsoap=1.0.1~wheezy~sfo-4
    Reading package lists... Done
    Building dependency tree
    Reading state information... Done
    Suggested packages:
      festival mplayer
    Recommended packages:
      mp3gain vorbisgain
    The following packages will be DOWNGRADED:
      liquidsoap
    0 upgraded, 0 newly installed, 1 downgraded, 0 to remove and 0 not upgraded.
    Need to get 2,087 kB of archives.
    After this operation, 649 kB of additional disk space will be used.
    Do you want to continue [Y/n]? y
    Get:1 http://apt.sourcefabric.org/ wheezy/main liquidsoap amd64 1.0.1~wheezy~sfo-4 [2,087 kB]
    Fetched 2,087 kB in 1s (1,986 kB/s)
    dpkg: warning: downgrading liquidsoap from 1.0.1+repack1-1.1 to 1.0.1~wheezy~sfo-4
    (Reading database ... 332290 files and directories currently installed.)
    Preparing to replace liquidsoap 1.0.1+repack1-1.1 (using .../liquidsoap_1.0.1~wheezy~sfo-4_amd64.deb) ...
    Stopping liquidsoap channels: no script found in /etc/liquidsoap
    Unpacking replacement liquidsoap ...
    Processing triggers for man-db ...
    Setting up liquidsoap (1.0.1~wheezy~sfo-4) ...
    Starting liquidsoap channels: no script found in /etc/liquidsoap
    root@aptosid:~# invoke-rc.d airtime-playout restart
    Restarting Airtime Scheduler Engine: Done.
    root@aptosid:~# service airtime-liquidsoap stop
    Stopping Liquidsoap: Done.
    root@aptosid:~# rm -r /var/run/airtime-liquidsoap.pid
    rm: cannot remove â/var/run/airtime-liquidsoap.pidâ: No such file or directory
    root@aptosid:~# service airtime-liquidsoap start
    Starting Liquidsoap: Done.
    root@aptosid:~#
    #########################################
    #           *** pypo  ***               #
    #     pypo notification gateway         #
    #########################################

    root@aptosid:~# sudo -u pypo /usr/lib/airtime/pypo/bin/airtime-liquidsoap
    root@aptosid:~#
    #########################################
    #           *** pypo  ***               #
    #     pypo notification gateway         #
    #########################################

    root@aptosid:~# airtime-check-system
    AIRTIME_STATUS_URL             = http://localhost:8888/api/status/format/json/api_key/%%api_key%%
    AIRTIME_SERVER_RESPONDING      = OK
    KERNEL_VERSION                 = 3.9-0.slh.4-aptosid-amd64
    MACHINE_ARCHITECTURE           = x86_64
    TOTAL_MEMORY_MBYTES            = 4055184
    TOTAL_SWAP_MBYTES              = 0
    AIRTIME_VERSION                = 2.3.1
    OS                             = Debian GNU/Linux unstable (sid) x86_64
    CPU                            = AMD Phenom(tm) 9950 Quad-Core Processor
    WEB_SERVER                     = Apache/2.2.22 (Debian)
    PLAYOUT_ENGINE_PROCESS_ID      = 21307
    PLAYOUT_ENGINE_RUNNING_SECONDS = 46
    PLAYOUT_ENGINE_MEM_PERC        = 0.4%
    PLAYOUT_ENGINE_CPU_PERC        = 1.4%
    LIQUIDSOAP_PROCESS_ID          = FAILED
    LIQUIDSOAP_RUNNING_SECONDS     = 0
    LIQUIDSOAP_MEM_PERC            = 0%
    LIQUIDSOAP_CPU_PERC            = 0%
    -- Displaying log file /var/log/airtime/pypo-liquidsoap/ls_script.log
    -- 2013/05/12 16:45:33 [server:3] New client: localhost.
    -- 2013/05/12 16:45:33 [server:3] Client localhost disconnected.
    -- 2013/05/12 16:45:33 [server:3] New client: localhost.
    -- 2013/05/12 16:45:33 [lang:3] dynamic_source.get_id
    -- 2013/05/12 16:45:33 [server:3] Client localhost disconnected.
    --
    --
    MEDIA_MONITOR_PROCESS_ID       = 3860
    MEDIA_MONITOR_RUNNING_SECONDS  = 11188
    MEDIA_MONITOR_MEM_PERC         = 0.3%
    MEDIA_MONITOR_CPU_PERC         = 0.4%
    -- There appears to be a problem with your Airtime installation.
    -- Please visit http://wiki.sourcefabric.org/x/HABQ

     

     

     

    Attached new log ...
    Is this bad?

    2013/05/12 16:53:47 [dynamic.loader:2] Could not load plugins in directory /usr/local/lib/liquidsoap/scm/plugins. 


     

    Post edited by Thomas Hackett at 2013-05-12 10:57:00
  • Loaded more plugins... restarted LS... attached new log.

     

    2013/05/12 17:00:05 [dynamic.loader:2] Could not load plugin file /usr/lib/liquidsoap/1.0.1/plugins/gstreamer.cmxs: error loading shared library: /usr/lib/liquidsoap/1.0.1/plugins/gstreamer.cmxs: undefined symbol: camlidl_free.

     

    Post edited by Thomas Hackett at 2013-05-12 11:05:11
  • Removed gstreamer... then airtime-check-system worked briefly...

     

    root@aptosid:~# invoke-rc.d airtime-playout restart
    Restarting Airtime Scheduler Engine: Done.
    root@aptosid:~# airtime-check-system
    AIRTIME_STATUS_URL             = http://localhost:8888/api/status/format/json/api_key/%%api_key%%
    AIRTIME_SERVER_RESPONDING      = OK
    KERNEL_VERSION                 = 3.9-0.slh.4-aptosid-amd64
    MACHINE_ARCHITECTURE           = x86_64
    TOTAL_MEMORY_MBYTES            = 4055184
    TOTAL_SWAP_MBYTES              = 0
    AIRTIME_VERSION                = 2.3.1
    OS                             = Debian GNU/Linux unstable (sid) x86_64
    CPU                            = AMD Phenom(tm) 9950 Quad-Core Processor
    WEB_SERVER                     = Apache/2.2.22 (Debian)
    PLAYOUT_ENGINE_PROCESS_ID      = 19353
    PLAYOUT_ENGINE_RUNNING_SECONDS = 1
    PLAYOUT_ENGINE_MEM_PERC        = 0.4%
    PLAYOUT_ENGINE_CPU_PERC        = 0.0%
    LIQUIDSOAP_PROCESS_ID          = 19392
    LIQUIDSOAP_RUNNING_SECONDS     = 0
    LIQUIDSOAP_MEM_PERC            = 0.4%
    LIQUIDSOAP_CPU_PERC            = 0.0%
    MEDIA_MONITOR_PROCESS_ID       = 3860
    MEDIA_MONITOR_RUNNING_SECONDS  = 12639
    MEDIA_MONITOR_MEM_PERC         = 0.3%
    MEDIA_MONITOR_CPU_PERC         = 0.0%
    -- Your installation of Airtime looks OK!
    root@aptosid:~# airtime-check-system
    AIRTIME_STATUS_URL             = http://localhost:8888/api/status/format/json/api_key/%%api_key%%
    AIRTIME_SERVER_RESPONDING      = OK
    KERNEL_VERSION                 = 3.9-0.slh.4-aptosid-amd64
    MACHINE_ARCHITECTURE           = x86_64
    TOTAL_MEMORY_MBYTES            = 4055184
    TOTAL_SWAP_MBYTES              = 0
    AIRTIME_VERSION                = 2.3.1
    OS                             = Debian GNU/Linux unstable (sid) x86_64
    CPU                            = AMD Phenom(tm) 9950 Quad-Core Processor
    WEB_SERVER                     = Apache/2.2.22 (Debian)
    PLAYOUT_ENGINE_PROCESS_ID      = 19353
    PLAYOUT_ENGINE_RUNNING_SECONDS = 16
    PLAYOUT_ENGINE_MEM_PERC        = 0.4%
    PLAYOUT_ENGINE_CPU_PERC        = 0.0%
    LIQUIDSOAP_PROCESS_ID          = FAILED
    LIQUIDSOAP_RUNNING_SECONDS     = 0
    LIQUIDSOAP_MEM_PERC            = 0%
    LIQUIDSOAP_CPU_PERC            = 0%
    -- Displaying log file /var/log/airtime/pypo-liquidsoap/ls_script.log
    -- 2013/05/12 17:09:58 [server:3] New client: localhost.
    -- 2013/05/12 17:09:58 [server:3] Client localhost disconnected.
    -- 2013/05/12 17:09:58 [server:3] New client: localhost.
    -- 2013/05/12 17:09:58 [lang:3] dynamic_source.get_id
    -- 2013/05/12 17:09:58 [server:3] Client localhost disconnected.
    --
    --
    MEDIA_MONITOR_PROCESS_ID       = 3860
    MEDIA_MONITOR_RUNNING_SECONDS  = 12654
    MEDIA_MONITOR_MEM_PERC         = 0.3%
    MEDIA_MONITOR_CPU_PERC         = 0.0%
    -- There appears to be a problem with your Airtime installation.
    -- Please visit http://wiki.sourcefabric.org/x/HABQ

     

    Then it stopped again.

    Does Airtime need gstreamer?

    Post edited by Thomas Hackett at 2013-05-12 11:45:05
  • Wait ! ... the connection to Shoutcast is working... kinda...
    I still have the admin.cgi error
    but Airtime -> System -> Streams is now showing
    Connected to the streaming server

    How can this be?

    Airtime-Check-System still shows Liquidsoap Process ID Failed

    How can Airtime be streaming to Shoutcast and Icecast and fail the process id test ?

    575 x 651 - 42K
    Post edited by Thomas Hackett at 2013-05-12 12:08:34
  • root@aptosid:~# ps -ef|grep liq
    pypo     21719     1 22 16:45 ?        00:18:52 /usr/bin/airtime-liquidsoap --verbose -f -d /usr/lib/airtime/pypo/bin/liquidsoap_scripts/ls_script.liq
    root     32532 30792  0 18:10 pts/0    00:00:00 grep liq
  • The [Listen] button under Airtime's [On Air] sign fails to work for the Shoutcast stream,
    it only works for the Icecast stream.
    Post edited by Thomas Hackett at 2013-05-12 15:07:24