Multiple web sites on an AirTime server
  • AirTime 1.9.2 - troubles adding new media.

    Attemts:
    1. Uploaded a file by FTP to a watched folder;
    2. used the web uploader.

    After both successfull file uploads I still cannot find the files to add to a playlist. Nor by pieces of a filename, nor by titles from the mp3 tags.

    Which log files to view?
    How to check the database?

    Another notice: tryed using the 'airtime-import' command-line tool, which gave me an error as well:
    $ airtime-import --watch-list
    Unable to connect to the Airtime server.
    
  • 14 Comments sorted by
  • Hi,

    Are your host/port settings correct in /etc/airtime/airtime.conf and /etc/airtime/api_client.cfg?

    Look for

    base_url = 'localhost'
    base_port = 80


    and set them appropriately. airtime-import uses these to connect to the server.


    For the log file, please upload /var/log/airtime/media-monitor/media-monitor.log as an attachment here.
    Airtime Pro Hosting: http://airtime.pro
  • There are several web sites running on the server's port 80,
    which one is used by AirTime internals?
  • The same host/port that you use to access the Airtime web UI.
    Airtime Pro Hosting: http://airtime.pro
  • By the way, does this still has to be 'development' in apache.conf?
    SetEnv APPLICATION_ENV "development"

  • Thanks Martin!
    I changed the host to the one that provides the AirTime interface.

    How can I restart AirTime, or should I reboot the server? It's in production and reboot is not desirable.
  • You can restart each service individually.

    sudo service airtime-media-monitor start|stop|restart
    sudo service airtime-playout start|stop|restart
    sudo service airtime-show-recorder start|stop|restart


    If your host/port was wrong in your config files, I recommend restarting all 3.
    Airtime Pro Hosting: http://airtime.pro
  • Thank you, Martin!
  • Media found, but AirTime output seems to miss the station output:
    1. "On AIR" isn't lit while a scheduled show is running. It has media, and correct timing for th emedia is displayed.
    2. autoDJ music is transmitted, as if there was no output from AirTime.

    Can this is be related to my multiple web hosts setup as well?

    A show scheduled for 10:05:00. Below is an excerpt from pypo.log
    AirTime web host is set to "station.radio-ps.ru:80".

    Is there a problem with Cyrillic in show / playlist titles?
    Upd. Seems like naming a scheduled show in Calendar with just Latin characters solved the issue - the show runs, OnAIR is lit, everything looks fine.

    Please document this issue or solve it to allow Unicode chars in Calendar show titles.

    2011-09-18 10:05:00,008 DEBUG - [pypopush.py : push_liquidsoap() : line 188] - Preparing to push playlist 2011-09-18-10-05-00
    2011-09-18 10:05:00,008 ERROR - [pypopush.py : push_liquidsoap() : line 201] - 'latin-1' codec can't encode characters in position 15-22: ordinal not in range(256)
    2011-09-18 10:05:20,257 INFO - [pypopush.py : run() : line 235] - heartbeat
    
  • Vote Up0Vote Down Andrey PodshivalovAndrey Podshivalov
    Posts: 1,526Member, Administrator, Sourcefabric Team
    hi,

    I have checked a playlist and show with cyrillic titles on airtime demo and it works w/o any issue
  • Strange, what was the name of the show that you used?
    Airtime Pro Hosting: http://airtime.pro
  • Martin, I already deleted that show, but afair it was titled 'Реальный разговор'
  • Thanks I've confirmed the problem in our upcoming 1.9.4 release. Will see if we can get a fix in before then.
    Airtime Pro Hosting: http://airtime.pro
  • Has been fixed for 1.9.4
    Airtime Pro Hosting: http://airtime.pro
  • Martin Konecny писал(а) Пн., 19 Сентябрь 2011 01:53
    Has been fixed for 1.9.4


    Excellent news! Good work!
    Appreciate.


    Sergei.