Airtime 2.5.2.1 does not seem to update the stream connection status when saving on the /Preference/stream-setting page.
If you run: "sudo invoke-rc.d airtime-liquidsoap" restart from the console it updates correctly so I assume this should be run when the stream settings are saved.
This should be reported as a bug in 2.5.2.1 but the fix looks fairly simple, get it to restart liquidsoap on stream settings save.
Post edited by Andy Courcier at 2015-09-15 11:52:40
Tom, can you identify a specific error in the logs, which can be found in /var/log/airtime/zendphp.log, /var/log/upstart/airtime-playout.log, and /var/log/upstart/airtime-liquidsoap.log
airtime-playout.log does not exist unless in a .gz file
In airtime-liquidsoap.log I get a Connection refused
Unable to connect to the Airtime server.
traceback: Traceback (most recent call last): File "/usr/local/lib/python2.7/dist-packages/airtime_playout-1.0-py2.7.egg/li$ ss = ac.get_stream_setting() File "/usr/local/lib/python2.7/dist-packages/api_clients-1.0-py2.7.egg/api_cl$ return self.services.get_stream_setting() File "/usr/local/lib/python2.7/dist-packages/api_clients-1.0-py2.7.egg/api_cl$ f = urllib2.urlopen(req, timeout=ApiRequest.API_HTTP_REQUEST_TIMEOUT) File "/usr/lib/python2.7/urllib2.py", line 127, in urlopen return _opener.open(url, data, timeout) File "/usr/lib/python2.7/urllib2.py", line 404, in open response = self._open(req, data) File "/usr/lib/python2.7/urllib2.py", line 422, in _open '_open', req) File "/usr/lib/python2.7/urllib2.py", line 382, in _call_chain result = func(*args) File "/usr/lib/python2.7/urllib2.py", line 1214, in http_open
" They are referencing the incorrect absolute path for liquidsoap_auth.py. If you change it to the correct path (in my case /usr/local/lib/python2.7/dist-packages/airtime_playout-1.0-py2.7.egg/liquidsoap/liquidsoap_auth.py) it will solve it. Do a search for liquidsoap_auth.py on your system to ensure that this is the correct location. "
0 packages can be updated. 0 updates are security updates.
You have mail. Last login: Sun Apr 3 06:03:04 2016 from 178-119-184-212.access.telenet.be root@vps127664:~# cd /var/log/airtime/pypo root@vps127664:/var/log/airtime/pypo# nano pypo.log root@vps127664:/var/log/airtime/pypo# root@vps127664:/var/log/airtime/pypo# sudo service rabbitmq-server start * Starting message broker rabbitmq-server * message broker already running [ OK ] root@vps127664:/var/log/airtime/pypo#
The stream config is not my main concern anymore. It gets it stream mp3 config remembered on web stream 3 wich is ok for me, although is's a bug in 2.5.2.1. See liquidsoap.cfg attached.
See the screen shot attached, while having a show having its output succesfully streaming (viewable in the progress bar on top left in airplayout), and it's connecting from Scheduled Play to the switch, the right side from the switch doesn not lit up neither does the ON AIR indicator. No audio output is given.
Now it works. Not sure if it was due to something else Also, the slider for "Scheduled Playout" must be moved to the left for the "on air" indicator to lid up.
Just wondering, if we play tracks and the fade-in/fade-out is only set to 0.5s, home come that the track duraction is just about 2 minutes? This is anoying. How can we change that??