Hello there and thank you for a great broadcasting platform! :) I've installed airtime 1.9.5 but I'm having slight problems...I uploaded an mp3 file via add media and it seems to be uploaded normally (I can see that via SSH too, it's at the folder /srv/airtime/stor/organize). BUT when I go to playlist builder, there's nothing on the list! The storage folder is obviously the default, and also I haven't added any watched folders (since the default storage folder is already being watched).
Everything seems to be working normally except this part (I can even see the station streaming at icecast, playing...well silence since no playlist is available!), and at the media monitor log I get tons of the following error: 2012-01-13 01:23:27,119 ERROR - [MainThread] [api_client.py : setup_media_monitor()] : LINE 400 - Exception: No JSON object could be decoded
Also the apache error log has many lines like this: [Fri Jan 13 12:41:29 2012] [error] [client 127.0.0.1] File does not exist: /var/www/api
Note here that I changed the default 80 port to 8181. Have done the changes to the api_client.cfg and airtime.conf (and ran an airtime-db-update with successfull build).
<Directory /usr/share/airtime/public> Options -Indexes FollowSymLinks MultiViews AllowOverride All Order allow,deny Allow from all </Directory> </VirtualHost>
I must be missing something...but what??? It's really frustrating, been searching all over the internet for a solution for 2 days now :S
<Directory /usr/share/airtime/public> Options -Indexes FollowSymLinks MultiViews AllowOverride All Order allow,deny Allow from all </Directory> </VirtualHost>
Still getting the File does not exist: /var/www/api lines though :/
tried uploading other tracks as well (in various formats, mp3, ogg) but still nothing!
What do you mean by "check this issue in case using of 80 apache port?" 80 port is being used by the site of a company (which will have the radio station managed with airtime). What should I check?
Posts: 1,526Member, Administrator, Sourcefabric Team
yes, return airtime conf file to 80 port. It's not a problem to use different sites on same ports. Just specify different name than your primary site is using (ServerName) but leave ServerAlias localhost
Kinda messes up the whole configuration, since the main domain vhost (danioliptes.gr) takes up every subdomain (it's *.danioliptes.gr). I tried setting it like danioliptes.gr/airtime but then i get a redirect to danioliptes.gr/airtime/Login and a 404 error! What's the role of the base_url anyway? Should it be localhost or something like danioliptes.gr (or the server ip)?
PS> I'm also using ISPConfig 3 control panel for the domains/email setting up, just setup the airtime vhost myself.
Posts: 1,526Member, Administrator, Sourcefabric Team
Airtime doesn't support subfolder installation. So, you need to define in your primary site all used names in ServerAlias instead of using *.danioliptes.gr. After then you can use airtime.danioliptes.gr
Hm works like a charm on port 80 as airtime.danioliptes.gr...but still, what was I missing for the port change? Isn't it possible to change the default port?
I did a full server reboot after making the changes, suppose that covers that doesn't it? But it was really strange cause everything else worked fine, the problem was just with the playlist editor...anyway now it's working normally on port 80 so I guess that's ok ;)