{"version":"1.8.0"}
also at this url
http://radio.labsurlab.co/api/version/api_key/MYAPIKEY
you still get
{"version":"1.8.1"} ?
also can you post any lines that were above
@400000004dc43f5733530bb4 Airtime version: 1.8.1
@400000004dc43f5733537cfc pypo not compatible with this version of Airtime.
in your log?
~/airtime-git/Airtime # ps aux | grep python pypo 14296 0.0 0.5 45856 11264 ? S 20:48 0:00 python -u /usr/lib/airtime/pypo/bin/pypo-cli.py root 17816 0.0 0.0 20924 1156 ? S 15:18 0:00 sudo PYTHONPATH=/usr/lib/airtime/pypo/ -u pypo python -u /usr/lib/airtime/show-recorder/recorder.py pypo 17818 0.0 0.4 46684 10144 ? S 15:18 0:12 python -u /usr/lib/airtime/show-recorder/recorder.py root 18311 0.0 0.0 7548 828 pts/1 S+ 21:58 0:00 grep python
def is_server_compatible(self, verbose = True): version = self.__get_airtime_version(verbose) if (version == 0 or version == False): if (verbose): print 'Unable to get Airtime version number.' print return False elif (version[0:4] != "1.9."): if (verbose): print 'Airtime version: ' + str(version) print 'pypo not compatible with this version of Airtime.' print return False else: if (verbose): print 'Airtime version: ' + str(version) print 'pypo is compatible with this version of Airtime.' print return True
~/airtime-git/Airtime/install # php airtime-install.php ******************************** Install Begin ********************************* Existing config file detected at /etc/airtime/airtime.conf Existing config file detected at /etc/airtime/pypo.cfg Existing config file detected at /etc/airtime/recorder.cfg Existing config file detected at /etc/airtime/liquidsoap.cfg You have existing config files. Do you want to (O)verwrite them, or (P)reserve them? (o/P) o * Creating INI files * Installing PHP code to /var/www/airtime * Installing binaries to /usr/lib/airtime * Initializing INI files * Airtime Version: 1.8.1 * Creating Airtime database user could not change directory to "/root/airtime-git/Airtime/install" ERROR: role "airtime" already exists * Database user 'airtime' created. * Creating Airtime database could not change directory to "/root/airtime-git/Airtime/install" ERROR: database "airtime" already exists * Database 'airtime' created. * Connected to database * Installing Postgresql scripting language * Postgres scripting language already installed * Creating database tables * Storage directory setup * Skipping directory already exists: /srv/airtime * Skipping directory already exists: /srv/airtime/stor * Giving Apache permission to access /srv/airtime/stor * Creating /usr/bin symlinks * Installing airtime-import * Installing airtime-clean-storage * Installing airtime-update-db-settings * Creating logs directory /var/log/airtime *** Pypo Installation *** Starting daemontool script pypo Starting daemontool script pypo-liquidsoap Checking and removing any existing pypo processes Checking for user pypo User already exists. Directory already exists /var/log/airtime/pypo Directory already exists /var/log/airtime/pypo-liquidsoap Creating directory /usr/lib/airtime/pypo/bin Creating directory /var/tmp/airtime/pypo/cache/ Creating directory /var/tmp/airtime/pypo/files/ Creating directory /var/tmp/airtime/pypo/tmp/ Installing 64-bit liquidsoap binary Copying directory /root/airtime-git/Airtime/python_apps/pypo to /usr/lib/airtime/pypo/bin Copying directory /root/airtime-git/Airtime/python_apps/api_clients to /usr/lib/airtime/pypo/api_clients Setting permissions Creating symbolic links Installing pypo daemon Creating directory /etc/service/pypo Creating directory /etc/service/pypo/log Installing liquidsoap daemon Creating directory /etc/service/pypo-liquidsoap Creating directory /etc/service/pypo-liquidsoap/log Waiting for processes to start... /etc/service/pypo: up (pid 23553) 2 seconds /etc/service/pypo-liquidsoap: up (pid 23555) 2 seconds *** Recorder Installation *** Starting daemontool script recorder Checking and removing any existing recorder processes Checking for user pypo User already exists. Creating temporary media storage directory Creating directory /var/tmp/airtime/show-recorder/ Creating log directories Creating directory /var/log/airtime/show-recorder Copying directory /root/airtime-git/Airtime/python_apps/show-recorder to /usr/lib/airtime/show-recorder Setting permissions Creating symbolic links Installing recorder daemon Creating directory /etc/service/recorder Creating directory /etc/service/recorder/log Waiting for processes to start... /etc/service/recorder: up (pid 23706) 5 seconds ******************************* Install Complete *******************************
cat /etc/timezone
# Hostname base_url = 'radio.labsurlab.co' base_port = 80
Hey yes the Servername and base_url must match
INFO - [api_client.py : get_schedule() : line 204] - Fetching schedule from http://localhost:80/api/schedule/api_key/%%api_key%%
@400000004dc551fb389b91cc 2011-05-07 16:06:41,948 INFO - [api_client.py : get_schedule() : line 204] - Fetching schedule from http://radio.labsurlab.co:80/api/schedule/api_key/%%api_key%% @400000004dc551fc13d8c5bc 2011-05-07 16:06:42,332 DEBUG - [pypofetch.py : prepare_playlists() : line 151] - Schedule is empty. @400000004dc551fc140a5154 2011-05-07 16:06:42,336 INFO - [pypofetch.py : run() : line 352] - Loop #7 @400000004dc551fd1ddbbed4 2011-05-07 16:06:43,499 INFO - [pypopush.py : run() : line 231] - heartbeat @400000004dc551fd1ddbce74 2011-05-07 16:06:43,500 DEBUG - [pypopush.py : push() : line 72] - Received data from pypo-fetch @400000004dc551fd1ddbde14 2011-05-07 16:06:43,500 DEBUG - [pypopush.py : push() : line 76] - schedule [] @400000004dc551fd1ddbe9cc 2011-05-07 16:06:43,500 DEBUG - [pypopush.py : push() : line 77] - playlists {} @400000004dc5521b1f85252c 2011-05-07 16:07:13,528 INFO - [pypopush.py : run() : line 231] - heartbeat @400000004dc5523921927d74 2011-05-07 16:07:43,562 INFO - [pypopush.py : run() : line 231] - heartbeat
DEBUG - [pypofetch.py : prepare_playlists() : line 151] - Schedule is empty.
you should be using the DEB packages:
http://booki.flossmanuals.net/airtime/_v/1.0/automated-insta llation/
- Paul
~ # dpkg -i airtime_1.8.0-1_all.deb Selecting previously deselected package airtime. (Reading database ... 49657 files and directories currently installed.) Unpacking airtime (from airtime_1.8.0-1_all.deb) ... Setting up airtime (1.8.0-1) ... Channel "pear.phing.info" is already initialized phing/phing is already installed and is the same as the released version 2.4.2 install failed Requirement already satisfied (use --upgrade to upgrade): kombu in /usr/local/lib/python2.6/dist-packages Requirement already satisfied (use --upgrade to upgrade): anyjson>=0.3.1 in /usr/local/lib/python2.6/dist-packages (from kombu) Requirement already satisfied (use --upgrade to upgrade): amqplib>=0.6 in /usr/local/lib/python2.6/dist-packages (from kombu) Cleaning up... Requirement already satisfied (use --upgrade to upgrade): poster in /usr/local/lib/python2.6/dist-packages Cleaning up... ******************************** Install Begin ********************************* * Creating INI files * Installing PHP code to /var/www/airtime * Installing binaries to /usr/lib/airtime * Initializing INI files * Airtime Version: 1.8.0 * Creating Airtime database user * Database user 'airtime' created. * Creating Airtime database * Database 'airtime' created. * Connected to database * Installing Postgresql scripting language * Installing Postgres scripting language * Creating database tables * Storage directory setup * Skipping directory already exists: /srv/airtime * Directory /srv/airtime/stor created * Giving Apache permission to access /srv/airtime/stor * Creating /usr/bin symlinks * Installing airtime-import * Installing airtime-clean-storage * Installing airtime-update-db-settings *** Pypo Installation *** Starting daemontool script pypo Starting daemontool script pypo-liquidsoap Checking and removing any existing pypo processes Checking for user pypo Creating user pypo Creating directory /var/log/airtime/pypo Creating directory /var/log/airtime/pypo-liquidsoap Creating directory /usr/lib/airtime/pypo/bin Creating directory /var/tmp/airtime/pypo/cache/ Creating directory /var/tmp/airtime/pypo/files/ Creating directory /var/tmp/airtime/pypo/tmp/ Installing 64-bit liquidsoap binary Copying directory /var/lib/airtime/python_apps/pypo to /usr/lib/airtime/pypo/bin Copying directory /var/lib/airtime/python_apps/api_clients to /usr/lib/airtime/pypo/api_clients Setting permissions Creating symbolic links Installing pypo daemon Creating directory /etc/service/pypo Creating directory /etc/service/pypo/log Installing liquidsoap daemon Creating directory /etc/service/pypo-liquidsoap Creating directory /etc/service/pypo-liquidsoap/log Waiting for processes to start... /etc/service/pypo: up (pid 9262) 3 seconds /etc/service/pypo-liquidsoap: up (pid 9265) 3 seconds *** Recorder Installation *** Starting daemontool script recorder Checking and removing any existing recorder processes Checking for user pypo User already exists. Creating temporary media storage directory Creating directory /var/tmp/airtime/show-recorder/ Creating log directories Creating directory /var/log/airtime/show-recorder Copying directory /var/lib/airtime/python_apps/show-recorder to /usr/lib/airtime/show-recorder Setting permissions Creating symbolic links Installing recorder daemon Creating directory /etc/service/recorder Creating directory /etc/service/recorder/log Waiting for processes to start... /etc/service/recorder: up (pid 9462) 5 seconds ******************************* Install Complete *******************************
cat /etc/php5/apache2/php.ini | grep "date.timezone =" cat /etc/timezone
It looks like you're new here. If you want to get involved, click one of these buttons!