No sound from airtime schedule (On-air light off)
  • Hello,

    I upgraded from 1.8.2 to 1.9.4 today using the .deb repository, the upgrade was successful without errors but for some reason I don't have an output from airtime.

    This is the output of the command 'sudo service airtime-playout status'


    No entry for terminal type "unknown";
    using dumb terminal settings.
    CPU = Intel(R) Core(TM) i7 CPU 870 @ 2.93GHz
    Total RAM = 2057620 kB
    Free RAM = 1595028 kB
    OS = Ubuntu 10.04.3 LTS x86-64
    AIRTIME_CONFIG_FILES = OK
    POSTGRESQL_DATABASE = OK
    PYTHON_KOMBU_VERSION = 1.2.0
    PYTHON_POSTER_VERSION = 0.8.1
    PYTHON_MUTAGEN_VERSION = 1.20
    PYTHON_PYINOTIFY_VERSION = 0.9.2
    RABBITMQ_SERVER = OK
    AIRTIME_VERSION_URL = http://localhost:80/api/version/api_key/%%api_key%%
    APACHE_CONFIGURED = NO
    AIRTIME_VERSION = Could not contact server
    PLAYOUT_ENGINE_PROCESS_ID = 10827
    PLAYOUT_ENGINE_RUNNING_SECONDS = 573
    LIQUIDSOAP_PROCESS_ID = 10832
    LIQUIDSOAP_RUNNING_SECONDS = 573
    MEDIA_MONITOR_PROCESS_ID =
    MEDIA_MONITOR_RUNNING_SECONDS = 0
    -- WARNING! It looks like the Media Monitor engine is continually restarting.
    -- 2011-09-28 17:07:14,445 ERROR - [MainThread] [api_client.py : setup_media_monitor()] : LINE 397 - Exception: No JSON object could be decoded
    -- 2011-09-28 17:07:19,508 ERROR - [MainThread] [api_client.py : setup_media_monitor()] : LINE 397 - Exception: No JSON object could be decoded
    -- 2011-09-28 17:07:24,572 ERROR - [MainThread] [api_client.py : setup_media_monitor()] : LINE 397 - Exception: No JSON object could be decoded
    -- 2011-09-28 17:07:29,615 ERROR - [MainThread] [api_client.py : setup_media_monitor()] : LINE 397 - Exception: No JSON object could be decoded
    -- 2011-09-28 17:07:34,684 ERROR - [MainThread] [api_client.py : setup_media_monitor()] : LINE 397 - Exception: No JSON object could be decoded
    -- 2011-09-28 17:07:40,037 ERROR - [MainThread] [api_client.py : setup_media_monitor()] : LINE 397 - Exception: No JSON object could be decoded
    -- 2011-09-28 17:07:45,043 ERROR - [MainThread] [api_client.py : setup_media_monitor()] : LINE 397 - Exception: No JSON object could be decoded
    -- 2011-09-28 17:07:50,185 ERROR - [MainThread] [api_client.py : setup_media_monitor()] : LINE 397 - Exception: No JSON object could be decoded
    -- 2011-09-28 17:07:55,191 ERROR - [MainThread] [api_client.py : setup_media_monitor()] : LINE 397 - Exception: No JSON object could be decoded
    -- 2011-09-28 17:08:00,195 ERROR - [MainThread] [api_client.py : get_response_from_server()] : LINE 170 - Error Authenticating with remote server: [Errno socket error] [Errno 111] Connection refused
    SHOW_RECORDER_PROCESS_ID =
    SHOW_RECORDER_RUNNING_SECONDS = 0
    -- WARNING! It looks like the Show Recorder engine is continually restarting.
    ICECAST_PROCESS_ID = 736

    -- There appears to be problems with your setup. Please visit
    -- http://wiki.sourcefabric.org/x/HABQ for troubleshooting info.


    Is there a way to fix this without reinstalling?

    Also since the music in /stor are now under different folders can I safely delete the old empty folders (eg 0fe, be2, c0d etc)?

    Regards,
  • 14 Comments sorted by
  • What do you see when you type

    curl http://localhost:80/api/media-monitor-setup/format/json/api_key/your_api_key


    from your terminal?
    Airtime Pro Hosting: http://airtime.pro
  • This is the output of curl http://localhost:80/api/media-monitor-setup/format/json/api_ key/my_api_key


    % Total % Received % Xferd Average Speed Time Time Time Current
    Dload Upload Total Spent Left Speed

    0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0
    112 337 112 337 0 0 1159 0 --:--:-- --:--:-- --:--:-- 7170
    112 337 112 337 0 0 1157 0 --:--:-- --:--:-- --:--:-- 7170
    <!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML 2.0//EN">
    <html><head>
    <title>404 Not Found</title>
    </head><body>
    <h1>Not Found</h1>
    <p>The requested URL /api/media-monitor-setup/format/json/api_key/my_api_key was not found on this server.</p>
    <hr>
    <address>Apache/2.2.14 (Ubuntu) Server at localhost Port 80</address>
    </body></html>

    Regards,
  • Vote Up0Vote Down Andrey PodshivalovAndrey Podshivalov
    Posts: 1,526Member, Administrator, Sourcefabric Team
    Is airtime accessible via http://localhost?

    Quote:
    AIRTIME_VERSION_URL = http://localhost:80/api/version/api_key/%%api_key%%
    APACHE_CONFIGURED = NO


    It's a problem with apache site configuration. You need to check virtual host config file: /etc/apache2/sites-enabled/airtime or attach here.
  • Changing the 'base url' under 'hostname' in /etc/airtime/api_client.cfg from localhost to the server ip address fixed the problem.

    Regards,
  • Hi Folks,

    First time airtime install... neither sound nor "on air" for me.

    I get this:

    You are not allowed to access this resource.root@domU-12-31-39-0C-5E-2E[/email]:/etc/airtime# curl http://107.20.140.105/api/media-monitor-setup/format/json/ap i_key/my_api_key
    You are not allowed to access this resource.root@domU-12-31-39-0C-5E-2E[/email]:/etc/airtime#

    changing the hostname in /etc/airtime/api_client.cfg didn't help me I'm afraid.

    Info
    Linux domU-12-31-39-0C-5E-2E 2.6.32-5-xen-amd64 #1 SMP Wed Jan 12 05:46:49 UTC 2011 x86_64 GNU/Linux
    Debian Squeeze 6
    airtime-1.9.4

    Regards
  • Same problem here, it shows that the song plays but On Air is not activated nor the song play when I go to localhost:8000/airtime.ogg

    From the support feedback:

    CPU : Intel(R) Pentium(R) Dual CPU T3200 @ 2.00GHz
    TOTAL_RAM : 3089296 kB
    FREE_RAM : 186384 kB
    OS : Ubuntu oneiric (development branch) Intel 80386
    AIRTIME_CONFIG_FILES : OK
    POSTGRESQL_DATABASE : OK
    PYTHON_KOMBU_VERSION : 1.2.0
    PYTHON_POSTER_VERSION : 0.8.1
    PYTHON_MUTAGEN_VERSION : 1.20
    PYTHON_PYINOTIFY_VERSION : 0.9.2
    RABBITMQ_SERVER : OK
    AIRTIME_VERSION_URL : http://localhost:80/api/version/api_key/%%api_key%%
    APACHE_CONFIGURED : YES
    AIRTIME_VERSION : 1.9.4
    PLAYOUT_ENGINE_PROCESS_ID : 22575
    PLAYOUT_ENGINE_RUNNING_SECONDS : 18432
    LIQUIDSOAP_PROCESS_ID : 22583
    LIQUIDSOAP_RUNNING_SECONDS : 18432
    MEDIA_MONITOR_PROCESS_ID : 22640
    MEDIA_MONITOR_RUNNING_SECONDS : 18432
    SHOW_RECORDER_PROCESS_ID : 22614
    SHOW_RECORDER_RUNNING_SECONDS : 18432
    ICECAST_PROCESS_ID : 22349
    WEB_SERVER : Apache/2.2.20 (Ubuntu)

    P.S: changing the hostname in /etc/airtime/api_client.cfg didn't help
  • Thomas, Lilian
    Did you install the Airtime package or the Airtime-easy-install or did you download and run the manual install?

    Did you follow the instructions ?

    Lilian, we don't officially support oneiric but you can install Airtime and let us know your experience.


    The new easy-install is the quickest way to get Airtime installed on your machine.
    (Please make sure to remove previous installation of Airtime before installing the easy-install)
  • Hi Lilian,

    Do you see your mountpoints when you go to http://localhost:8000/

    Airtime Pro Hosting: http://airtime.pro
  • Martin Konecny wrote on Mon, 03 October 2011 14:23
    Hi Lilian,

    Do you see your mountpoints when you go to http://localhost:8000/



    That's what I see(the image is to big to post here, so here is a link): http://img710.imageshack.us/img710/2740/localhost.png


    Ofir Gal wrote on Mon, 03 October 2011 12:18

    Thomas, Lilian
    Did you install the Airtime package or the Airtime-easy-install or did you download and run the manual install?

    Did you follow the instructions ?

    Lilian, we don't officially support oneiric but you can install Airtime and let us know your experience.


    The new easy-install is the quickest way to get Airtime installed on your machine.
    (Please make sure to remove previous installation of Airtime before installing the easy-install)


    I did a manual install, no errors in the installation process.

    If it helps, I used the demo on the site and all worked ok.
  • I just did another fresh apt-get install, no errors this time but, same problem still...

    Details see topic:

    http://forum.sourcefabric.org/index.php?t=msg&th=4013&am p;am p;
  • Solved !! Found the problem !!

    Modified URLs here:

    vi /etc/airtime/liquidsoap.cfg


    ###########################################
    # Icecast Stream settings #
    ###########################################
    icecast_host = "ec2-46-137-138-155.eu-west-1.compute.amazonaws.com"
    icecast_port = 8000
    icecast_pass = "hackme"

    # Icecast mountpoint names
    mount_point_mp3 = "airtime.mp3"
    mount_point_vorbis = "airtime.ogg"

    # Webstream metadata settings
    icecast_url = "http://ec2-46-137-138-155.eu-west-1.compute.amazonaws.com"
    icecast_description = "Bistro 2000 Test"
    icecast_genre = "genre"

    All good ... my part can be closed.
  • Hi,

    we got the same problem. here following our liquidsoap.cfg as configurated. We cannot hear any sound and the ON AIR sign remain off.

    Please help.

    ###########################################
    # Liquidsoap config file                  #
    ###########################################

    ###########################################
    # Output settings                         #
    ###########################################
    output_sound_device = false
    output_icecast_vorbis = true
    output_icecast_mp3 = false
    output_shoutcast = false


    ###########################################
    # Logging settings                        #
    ###########################################
    log_file = "/var/log/airtime/pypo-liquidsoap/<script>.log"

    ###########################################
    # Icecast Stream settings                 #
    ###########################################
    icecast_host = "184.22.37.44"
    icecast_port = 8000
    icecast_pass = "maradona1"

    # Icecast mountpoint names
    mount_point_mp3 = "rlwebradio.mp3"
    mount_point_vorbis = "rlwebradio.ogg"

    # Webstream metadata settings
    icecast_description = "Radio Libriamoci Web"
    icecast_genre = "Talk"
    # Audio stream metadata for vorbis/ogg is disabled by default
    # due to a number of client media players that disconnect

  • anybody can help?
  • Post the output of airtime-check-system
    Airtime Pro Hosting: http://airtime.pro