Hello,
About me, it seem a long and not yet finished story to get Airtime working :)
(Debian 64bit grsec kernel)
Airtime is now well connected with postgresql db
then
I've try to upload music :
Airtime don't see uploaded track and is unable to detect my music in my "watched folder"
Airtime is not connected to Icecast, it's always stuck on "Getting information from the server" in the web interface
after investigating my log and ran the "/etc/init.d/airtime-media-monitor status" command
AIRTIME_STATUS_URL = http://localhost/api/status/format/json/api_key/%%api_key%%AIRTIME_SERVER_RESPONDING = OKKERNEL_VERSION = UNKNOWNMACHINE_ARCHITECTURE = UNKNOWNTOTAL_MEMORY_MBYTES = UNKNOWNTOTAL_SWAP_MBYTES = UNKNOWNAIRTIME_VERSION = UNKNOWNOS = Debian GNU/Linux 6.0.4 (squeeze) x86_64CPU = Intel(R) Core(TM) i3-2130 CPU @ 3.40GHzWEB_SERVER = APLAYOUT_ENGINE_PROCESS_ID = FAILEDPLAYOUT_ENGINE_RUNNING_SECONDS = 0PLAYOUT_ENGINE_MEM_PERC = 0%PLAYOUT_ENGINE_CPU_PERC = 0%LIQUIDSOAP_PROCESS_ID = FAILEDLIQUIDSOAP_RUNNING_SECONDS = 0LIQUIDSOAP_MEM_PERC = 0%LIQUIDSOAP_CPU_PERC = 0%MEDIA_MONITOR_PROCESS_ID = FAILEDMEDIA_MONITOR_RUNNING_SECONDS = 0MEDIA_MONITOR_MEM_PERC = 0%MEDIA_MONITOR_CPU_PERC = 0%RABBITMQ_PROCESS_ID = FAILEDRABBITMQ_RUNNING_SECONDS = 0RABBITMQ_MEM_PERC = 0%RABBITMQ_CPU_PERC = 0%
In pypo-liquidsoap log : (ls_script.log)
2012/05/13 14:50:09 [airtime_128:3] Connecting mount airtime_128 for admin@127.0.0.1...2012/05/13 14:50:09 [airtime_128:2] Connection failed: 401, Authentication Required (HTTP/1.0)2012/05/13 14:50:09 [lang:3] /usr/lib/airtime/pypo/bin/liquidsoap_scripts/notify.sh --error='401, Authentication Required (HTTP/1.0)' --stream-id=1 --time=1336910144.762012/05/13 14:50:09 [airtime_128:3] Will try again in 5.00 sec.
In pypo.log
<html><head><title>404 Not Found</title></head><body><h1>Not Found</h1><p>The requested URL /api/version/api_key/HLT935MODL7XM9BRW91K was not found on this server.</p></body></html>2012-05-13 14:51:26,046 ERROR - [api_client.py : __get_airtime_version() : line 213] - Unable to detect Airtime Version - No JSON object could be decoded2012-05-13 14:51:26,046 INFO - [api_client.py : is_server_compatible() : line 239] - Unable to get Airtime version number.2012-05-13 14:51:27,195 DEBUG - [pypo-notify.py : notify_liquidsoap_status() : line 88] - #################################################2012-05-13 14:51:27,195 DEBUG - [pypo-notify.py : notify_liquidsoap_status() : line 89] - # Calling server to update liquidsoap status #2012-05-13 14:51:27,195 DEBUG - [pypo-notify.py : notify_liquidsoap_status() : line 90] - #################################################2012-05-13 14:51:27,195 DEBUG - [pypo-notify.py : notify_liquidsoap_status() : line 91] - msg = 401, Authentication Required (HTTP/1.0)2012-05-13 14:51:27,196 DEBUG - [api_client.py : notify_liquidsoap_status() : line 590] - http://localhost:80/api/update-liquidsoap-status/format/json/api_key/HLT935MODL7XM9BRW91K/msg/401, Authentication Required (HTTP 1.0)/stream_id/1/boot_time/1336910144.762012-05-13 14:51:27,197 ERROR - [api_client.py : notify_liquidsoap_status() : line 594] - Exception: HTTP Error 404: Not Found2012-05-13 14:51:27,197 DEBUG - [pypo-notify.py : notify_liquidsoap_status() : line 93] - Response: null
in media-monitor.log
2012-05-13 14:54:24,485 ERROR - [MainThread] [api_client.py : register_component()] : LINE 577 - Exception: HTTP Error 404: Not Found2012-05-13 14:54:24,485 INFO - [MainThread] [MediaMonitor.py : <module>()] : LINE 39 - Setting up monitor2012-05-13 14:54:24,486 ERROR - [MainThread] [api_client.py : setup_media_monitor()] : LINE 413 - Exception: No JSON object could be decoded