airtime doesn't lists my uploaded media files ...
  • I Have the problem with uploaded files. Now my media files are uploaded correctly via section "ADD MEDIA".

    They are stored in /srv/airtime/stor/organize/. But when i create
    SHOW (in CALENDAR) or when i try to create playlists   - the list of
    media files is empty. Airtime doesn't shows my uploaded files and I
    can't add media files to created show ...



    any error in apache error log and in /var/log/airtime/zendphp.log ....How can i debug it ?
  • 6 Comments sorted by
  • Please post the contents of

    /var/log/airtime/media-monitor/media-monitor.log
    Airtime Pro Hosting: http://airtime.pro
  • Sorry, but i don't have this log file.

     ls -la /var/log/airtime/
    total 12
    drwxr-xr-x  2 airtime airtime 4096 Sep 19 04:24 .
    drwxr-xr-x 13 root    root    4096 Sep 24 02:16 ..
    -rwxrwxrwx  1 airtime airtime 1132 Sep 24 17:17 zendphp.log

  • what is media-monitor ? May be i need to configure it ?
    (I am trying to configure airtime web interface for my installed liquidsoap + icecast on Centos )
  • The script should have installed it for you. However it may be that it hasn't run yet because there are no init.d scripts provided with that install script (I was asking the community to contribute that part).

    You should be able to start media-monitor by running

    sudo python /usr/lib/airtime/media-monitor/media_monitor.py
    Post edited by Martin Konecny at 2012-09-24 16:17:20
    Airtime Pro Hosting: http://airtime.pro
  • # python /usr/lib/airtime/media-monitor/media_monitor.py
    Traceback (most recent call last):
      File "/usr/lib/airtime/media-monitor/media_monitor.py", line 14, in ?
        from api_clients import api_client as apc
    ImportError: No module named api_clients


     # ls -la /usr/lib/airtime/
    total 40
    drwxr-xr-x  6 root root  4096 Oct  4 09:48 .
    drwxr-xr-x 37 root root 20480 Sep 19 03:23 ..
    drwxr-xr-x  7 root root  4096 Sep 19 03:02 airtime_virtualenv
    drwxr-xr-x  4 pypo pypo  4096 Oct  4 08:59 media-monitor
    drwxr-xr-x  7 pypo pypo  4096 Oct  4 09:10 pypo
    drwxr-xr-x  2 root root  4096 Sep 19 03:24 std_err_override

  • Also, when i run
     /usr/lib/airtime/media-monitor/airtime-media-monitor monit monitor airtime-media-monitor

    IN log file /var/log/airtime/media-monitor/py-interpreter.log  i have the  error:
    Traceback (most recent call last):
      File "/usr/lib/airtime/media-monitor/media_monitor.py", line 14, in ?
        from api_clients import api_client as apc
      File "/usr/lib/airtime/api_clients/api_client.py", line 15, in ?
        import json
    ImportError: No module named json


    simplejson is installed:
    № pip-python freeze
    simplejson==2.6.2