Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Debian 9 Stretch test #303

Closed
xabispacebiker opened this issue Sep 23, 2017 · 12 comments
Closed

Debian 9 Stretch test #303

xabispacebiker opened this issue Sep 23, 2017 · 12 comments

Comments

@xabispacebiker
Copy link
Contributor

xabispacebiker commented Sep 23, 2017

I have a running Debian 9 Stretch. The system is an upgrade from Jessie with a working Libretime instance. After the upgrade from Jessie it refused to play the stream. Then I reinstalled Libretime with the consequent modification of the install script. The installation succeeded but the stream refuses to play.

All services are up and running but the stream is not created. Apparently Libretime is constantly creating and closing the stream.

==> /var/log/airtime/zendphp.log <==
2017-09-23T20:53:12+02:00 WARN (4): host SQLSTATE[55P03]: Lock not available: 7 ERROR: could not obtain lock on row in relation "cc_pref"
2017-09-23T20:53:12+02:00 INFO (6): host Notifying RabbitMQ to send message to pypo
2017-09-23T20:53:15+02:00 WARN (4): host SQLSTATE[55P03]: Lock not available: 7 ERROR: could not obtain lock on row in relation "cc_pref"
2017-09-23T20:53:15+02:00 INFO (6): host Notifying RabbitMQ to send message to pypo
2017-09-23T20:53:15+02:00 WARN (4): host SQLSTATE[55P03]: Lock not available: 7 ERROR: could not obtain lock on row in relation "cc_pref"
2017-09-23T20:53:23+02:00 INFO (6): host Notifying RabbitMQ to send message to pypo
2017-09-23T20:53:25+02:00 INFO (6): host Notifying RabbitMQ to send message to pypo
2017-09-23T20:53:28+02:00 INFO (6): host Checking autoplaylist poll
2017-09-23T20:53:28+02:00 INFO (6): host Notifying RabbitMQ to send message to pypo
2017-09-23T20:53:31+02:00 INFO (6): host Notifying RabbitMQ to send message to pypo
2017-09-23T20:53:34+02:00 WARN (4): host SQLSTATE[55P03]: Lock not available: 7 ERROR: could not obtain lock on row in relation "cc_pref"
2017-09-23T20:53:34+02:00 INFO (6): host Notifying RabbitMQ to send message to pypo
2017-09-23T20:53:37+02:00 INFO (6): host Notifying RabbitMQ to send message to pypo
2017-09-23T20:53:37+02:00 WARN (4): host SQLSTATE[55P03]: Lock not available: 7 ERROR: could not obtain lock on row in relation "cc_pref"
2017-09-23T20:53:39+02:00 WARN (4): host SQLSTATE[55P03]: Lock not available: 7 ERROR: could not obtain lock on row in relation "cc_pref"
2017-09-23T20:53:39+02:00 WARN (4): host SQLSTATE[55P03]: Lock not available: 7 ERROR: could not obtain lock on row in relation "cc_pref"
2017-09-23T20:53:39+02:00 INFO (6): host Notifying RabbitMQ to send message to pypo
2017-09-23T20:53:42+02:00 INFO (6): host Notifying RabbitMQ to send message to pypo
2017-09-23T20:53:45+02:00 INFO (6): host Notifying RabbitMQ to send message to pypo
2017-09-23T20:53:48+02:00 INFO (6): host Notifying RabbitMQ to send message to pypo
2017-09-23T20:53:51+02:00 WARN (4): host SQLSTATE[55P03]: Lock not available: 7 ERROR: could not obtain lock on row in relation "cc_pref"
2017-09-23T20:53:51+02:00 INFO (6): host Notifying RabbitMQ to send message to pypo
2017-09-23T20:53:53+02:00 WARN (4): host SQLSTATE[55P03]: Lock not available: 7 ERROR: could not obtain lock on row in relation "cc_pref"
2017-09-23T20:53:53+02:00 WARN (4): host SQLSTATE[55P03]: Lock not available: 7 ERROR: could not obtain lock on row in relation "cc_pref"
2017-09-23T20:53:53+02:00 INFO (6): host Notifying RabbitMQ to send message to pypo
2017-09-23T20:53:56+02:00 WARN (4): host SQLSTATE[55P03]: Lock not available: 7 ERROR: could not obtain lock on row in relation "cc_pref"
2017-09-23T20:53:56+02:00 INFO (6): host Notifying RabbitMQ to send message to pypo
2017-09-23T20:53:59+02:00 INFO (6): host Checking autoplaylist poll
2017-09-23T20:53:59+02:00 INFO (6): host Checking to run Auto Playlist
2017-09-23T20:53:59+02:00 WARN (4): host SQLSTATE[55P03]: Lock not available: 7 ERROR: could not obtain lock on row in relation "cc_pref"
2017-09-23T20:53:59+02:00 INFO (6): host Notifying RabbitMQ to send message to pypo
2017-09-23T20:54:02+02:00 INFO (6): host Notifying RabbitMQ to send message to pypo
2017-09-23T20:54:05+02:00 INFO (6): host Notifying RabbitMQ to send message to pypo
2017-09-23T20:54:07+02:00 INFO (6): host Notifying RabbitMQ to send message to pypo
2017-09-23T20:54:10+02:00 INFO (6): host Notifying RabbitMQ to send message to pypo
2017-09-23T20:54:13+02:00 WARN (4): host SQLSTATE[55P03]: Lock not available: 7 ERROR: could not obtain lock on row in relation "cc_pref"
2017-09-23T20:54:13+02:00 INFO (6): host Notifying RabbitMQ to send message to pypo
2017-09-23T20:54:16+02:00 INFO (6): host Notifying RabbitMQ to send message to pypo
2017-09-23T20:54:19+02:00 INFO (6): host Notifying RabbitMQ to send message to pypo
2017-09-23T20:54:20+02:00 WARN (4): host SQLSTATE[55P03]: Lock not available: 7 ERROR: could not obtain lock on row in relation "cc_pref"
2017-09-23T20:54:21+02:00 WARN (4): host SQLSTATE[55P03]: Lock not available: 7 ERROR: could not obtain lock on row in relation "cc_pref"
2017-09-23T20:54:21+02:00 INFO (6): host Notifying RabbitMQ to send message to pypo
2017-09-23T20:54:24+02:00 WARN (4): host SQLSTATE[55P03]: Lock not available: 7 ERROR: could not obtain lock on row in relation "cc_pref"
2017-09-23T20:54:24+02:00 INFO (6): host Notifying RabbitMQ to send message to pypo
2017-09-23T20:54:27+02:00 WARN (4): host SQLSTATE[55P03]: Lock not available: 7 ERROR: could not obtain lock on row in relation "cc_pref"
2017-09-23T20:54:27+02:00 INFO (6): host Notifying RabbitMQ to send message to pypo
2017-09-23T20:54:30+02:00 INFO (6): host Checking autoplaylist poll
2017-09-23T20:54:30+02:00 INFO (6): host Notifying RabbitMQ to send message to pypo
2017-09-23T20:54:33+02:00 INFO (6): host Notifying RabbitMQ to send message to pypo
2017-09-23T20:54:40+02:00 WARN (4): host SQLSTATE[55P03]: Lock not available: 7 ERROR: could not obtain lock on row in relation "cc_pref"
2017-09-23T20:54:40+02:00 INFO (6): host Notifying RabbitMQ to send message to pypo
2017-09-23T20:54:43+02:00 WARN (4): host host SQLSTATE[55P03]: Lock not available: 7 ERROR: could not obtain lock on row in relation "cc_pref"
2017-09-23T20:54:43+02:00 INFO (6): host Notifying RabbitMQ to send message to pypo
2017-09-23T20:54:46+02:00 INFO (6): host Notifying RabbitMQ to send message to pypo
2017-09-23T20:54:49+02:00 INFO (6): host Notifying RabbitMQ to send message to pypo
2017-09-23T20:54:52+02:00 INFO (6): host Notifying RabbitMQ to send message to pypo
2017-09-23T20:54:54+02:00 INFO (6): host Notifying RabbitMQ to send message to pypo
2017-09-23T20:54:54+02:00 WARN (4): host SQLSTATE[55P03]: Lock not available: 7 ERROR: could not obtain lock on row in relation "cc_pref"
2017-09-23T20:54:57+02:00 WARN (4): host SQLSTATE[55P03]: Lock not available: 7 ERROR: could not obtain lock on row in relation "cc_pref"
2017-09-23T20:54:57+02:00 INFO (6): host Notifying RabbitMQ to send message to pypo
2017-09-23T20:55:00+02:00 WARN (4): host SQLSTATE[55P03]: Lock not available: 7 ERROR: could not obtain lock on row in relation "cc_pref"
2017-09-23T20:55:00+02:00 INFO (6): host Checking autoplaylist poll
2017-09-23T20:55:00+02:00 INFO (6): host Checking to run Auto Playlist
2017-09-23T20:55:00+02:00 INFO (6): host Notifying RabbitMQ to send message to pypo
[..]

==> /var/log/airtime/pypo-liquidsoap/ls_script.log <==
2017/09/23 20:55:45 [clock.wallclock_main:3] Streaming loop starts, synchronized with wallclock.
2017/09/23 20:55:45 [dummy:3] Source failed (no more tracks) stopping output...
2017/09/23 20:55:45 [dummy(dot)1:3] Source failed (no more tracks) stopping output...
2017/09/23 20:55:45 [dummy(dot)2:3] Source failed (no more tracks) stopping output...
2017/09/23 20:55:45 [dummy(dot)3:3] Source failed (no more tracks) stopping output...
2017/09/23 20:55:45 [dummy(dot)4:3] Source failed (no more tracks) stopping output...
2017/09/23 20:55:45 [map_metadata_5563:3] Inserting missing metadata.
2017/09/23 20:55:45 [master_show_schedule_noise_switch:3] Switch to show_schedule_noise_switch.
2017/09/23 20:55:45 [show_schedule_noise_switch:3] Switch to schedule_noise_switch.
2017/09/23 20:55:45 [schedule_noise_switch:3] Switch to map_metadata_5563.
2017/09/23 20:55:46 [server:3] New client: localhost.
2017/09/23 20:55:46 [lang:3] streams.scheduled_play_start
2017/09/23 20:55:46 [lang:3] streams.live_dj_stop
2017/09/23 20:55:46 [lang:3] streams.master_dj_stop
2017/09/23 20:55:46 [lang:3] vars.stream_metadata_type
2017/09/23 20:55:46 [lang:3] vars.station_name
2017/09/23 20:55:46 [lang:3] vars.default_dj_fade
2017/09/23 20:55:46 [server:3] Client localhost disconnected.
2017/09/23 20:55:46 [server:3] New client: localhost.
2017/09/23 20:55:46 [lang:3] queues.s8_skip
2017/09/23 20:55:46 [lang:3] queues.s8_skip
2017/09/23 20:55:46 [lang:3] queues.s8_skip
2017/09/23 20:55:46 [lang:3] queues.s8_skip
2017/09/23 20:55:46 [lang:3] queues.s8_skip
2017/09/23 20:55:46 [server:3] Client localhost disconnected.
2017/09/23 20:55:46 [cross_5488:3] No next track ready yet.
2017/09/23 20:55:46 [cross_5473:3] No next track ready yet.
2017/09/23 20:55:46 [cross_5458:3] No next track ready yet.
2017/09/23 20:55:46 [cross_5443:3] No next track ready yet.
2017/09/23 20:55:46 [cross_5428:3] No next track ready yet.
2017/09/23 20:55:46 [dummy(dot)3:3] Source failed (no more tracks) stopping output...
2017/09/23 20:55:46 [server:3] New client: localhost.
2017/09/23 20:55:46 [decoder:3] Method "MAD" accepted "/var/tmp/airtime/pypo/cache/scheduler/243.mp3".
2017/09/23 20:55:46 [lang:3] vars.show_name
2017/09/23 20:55:46 [server:3] Client localhost disconnected.
2017/09/23 20:55:46 [server:3] New client: localhost.
2017/09/23 20:55:46 [lang:3] dynamic_source.get_id
2017/09/23 20:55:46 [server:3] Client localhost disconnected.
2017/09/23 20:55:47 >>> LOG START
2017/09/23 20:55:47 [protocols.external:3] Found "/usr/bin/wget".
2017/09/23 20:55:47 [main:3] Liquidsoap 1.1.1
2017/09/23 20:55:47 [main:3] Using: graphics=[distributed with Ocaml] pcre=7.2.3 dtools=0.3.1 duppy=0.5.1 duppy.syntax=0.5.1 cry=0.2.2 mm=0.2.1 xmlplaylist=0.1.3 lastfm=0.3.0 ogg=0.4.5 vorbis=0.6.1 opus=0.1.0 speex=0.2.0 mad=0.4.4 flac=0.1.1 flac.ogg=0.1.1 dynlink=[distributed with Ocaml] lame=0.3.2 shine=0.2.0 gstreamer=0.2.0 frei0r=0.1.0 voaacenc=0.1.0 theora=0.3.0 gavl=0.1.5 bjack=0.1.4 alsa=0.2.1 ao=0.2.0 samplerate=0.1.2 taglib=0.3.1 magic=0.7.3 camomile=0.8.4 inotify=1.0 faad=0.3.2 soundtouch=0.1.7 portaudio=0.2.0 pulseaudio=0.1.2 ladspa=0.1.4 dssi=0.1.1 sdl=0.9.1 camlimages=4.2.0 lo=0.1.0 yojson=1.3.2 gd=1.0a5
2017/09/23 20:55:47 [dynamic.loader:3] Could not find dynamic module for fdkaac encoder.
2017/09/23 20:55:47 [dynamic.loader:3] Could not find dynamic module for aacplus encoder.
2017/09/23 20:55:47 [dynamic.loader:2] Loaded plugin file /usr/lib/liquidsoap/1.1.1/plugins/lame.cmxs.
2017/09/23 20:55:47 [dynamic.loader:2] Loaded plugin file /usr/lib/liquidsoap/1.1.1/plugins/faad.cmxs.
2017/09/23 20:55:47 [dynamic.loader:2] Loaded plugin file /usr/lib/liquidsoap/1.1.1/plugins/ogg.cmxs.
2017/09/23 20:55:47 [dynamic.loader:2] Loaded plugin file /usr/lib/liquidsoap/1.1.1/plugins/vorbis.cmxs.
2017/09/23 20:55:47 [dynamic.loader:2] Loaded plugin file /usr/lib/liquidsoap/1.1.1/plugins/pulseaudio.cmxs.
2017/09/23 20:55:47 [dynamic.loader:2] Loaded plugin file /usr/lib/liquidsoap/1.1.1/plugins/flac.cmxs.
2017/09/23 20:55:47 [dynamic.loader:2] Loaded plugin file /usr/lib/liquidsoap/1.1.1/plugins/cry.cmxs.
2017/09/23 20:55:47 [dynamic.loader:2] Loaded plugin file /usr/lib/liquidsoap/1.1.1/plugins/voaacenc.cmxs.
2017/09/23 20:55:47 [dynamic.loader:2] Loaded plugin file /usr/lib/liquidsoap/1.1.1/plugins/mad.cmxs.
2017/09/23 20:55:47 [dynamic.loader:2] Loaded plugin file /usr/lib/liquidsoap/1.1.1/plugins/flac_ogg.cmxs.
2017/09/23 20:55:47 [dynamic.loader:2] Loaded plugin file /usr/lib/liquidsoap/1.1.1/plugins/taglib.cmxs.
2017/09/23 20:55:47 [dynamic.loader:2] Loaded plugin file /usr/lib/liquidsoap/1.1.1/plugins/theora.cmxs.
2017/09/23 20:55:47 [frame:3] Using 44100Hz audio, 25Hz video, 44100Hz master.
2017/09/23 20:55:47 [frame:3] Frame size must be a multiple of 1764 ticks = 1764 audio samples = 1 video samples.
2017/09/23 20:55:47 [frame:3] Targetting 'frame.duration': 0.04s = 1764 audio samples = 1764 ticks.
2017/09/23 20:55:47 [frame:3] Frames last 0.04s = 1764 audio samples = 1 video samples = 1764 ticks.
2017/09/23 20:55:47 [lang:3] timeout --signal=KILL 45 pyponotify --liquidsoap-started &
2017/09/23 20:55:47 [threads:3] Created thread "generic queue #1".
2017/09/23 20:55:47 [threads:3] Created thread "generic queue #2".
2017/09/23 20:55:47 [threads:3] Created thread "non-blocking queue #1".
2017/09/23 20:55:47 [threads:3] Created thread "non-blocking queue #2".
2017/09/23 20:55:47 [harbor:3] Adding mountpoint '/master' on port 8001
2017/09/23 20:55:47 [harbor:3] Adding mountpoint '/show' on port 8002
2017/09/23 20:55:47 [threads:3] Created thread "http polling" (1 total).
2017/09/23 20:55:47 [sonicbunker(dot)ogg:3] Connecting mount sonicbunker.ogg for source@airean.info...
2017/09/23 20:55:47 [sonicbunker(dot)ogg:3] Connection setup was successful.
2017/09/23 20:55:47 [lang:3] timeout --signal=KILL 45 pyponotify --connect --stream-id=1 --time=1506192947.75 &
2017/09/23 20:55:47 [sonicbunker(dot)mp3:3] Connecting mount sonicbunker.mp3 for source@airean.info...
2017/09/23 20:55:47 [sonicbunker(dot)mp3:3] Connection setup was successful.
2017/09/23 20:55:47 [lang:3] timeout --signal=KILL 45 pyponotify --connect --stream-id=2 --time=1506192947.75 &
2017/09/23 20:55:47 [threads:3] Created thread "wallclock_main" (2 total).
2017/09/23 20:55:47 [clock.wallclock_main:3] Streaming loop starts, synchronized with wallclock.
2017/09/23 20:55:47 [dummy:3] Source failed (no more tracks) stopping output...
2017/09/23 20:55:47 [dummy(dot)1:3] Source failed (no more tracks) stopping output...
2017/09/23 20:55:47 [dummy(dot)2:3] Source failed (no more tracks) stopping output...
2017/09/23 20:55:47 [dummy(dot)3:3] Source failed (no more tracks) stopping output...
2017/09/23 20:55:47 [dummy(dot)4:3] Source failed (no more tracks) stopping output...
2017/09/23 20:55:47 [map_metadata_5563:3] Inserting missing metadata.
2017/09/23 20:55:47 [master_show_schedule_noise_switch:3] Switch to show_schedule_noise_switch.
2017/09/23 20:55:47 [show_schedule_noise_switch:3] Switch to schedule_noise_switch.
2017/09/23 20:55:47 [schedule_noise_switch:3] Switch to map_metadata_5563.
2017/09/23 20:55:48 [server:3] New client: localhost.
2017/09/23 20:55:48 [lang:3] streams.scheduled_play_start
2017/09/23 20:55:48 [lang:3] streams.live_dj_stop
2017/09/23 20:55:48 [lang:3] streams.master_dj_stop
2017/09/23 20:55:48 [lang:3] vars.stream_metadata_type
2017/09/23 20:55:48 [lang:3] vars.station_name
2017/09/23 20:55:48 [lang:3] vars.default_dj_fade
2017/09/23 20:55:48 [server:3] Client localhost disconnected.
2017/09/23 20:55:48 [server:3] New client: localhost.
2017/09/23 20:55:48 [lang:3] queues.s8_skip
2017/09/23 20:55:48 [lang:3] queues.s8_skip
2017/09/23 20:55:48 [lang:3] queues.s8_skip
2017/09/23 20:55:48 [lang:3] queues.s8_skip
2017/09/23 20:55:48 [lang:3] queues.s8_skip
2017/09/23 20:55:48 [server:3] Client localhost disconnected.
2017/09/23 20:55:48 [schedule_noise_switch:3] Switch to map_metadata_5556 with transition.
2017/09/23 20:55:48 [lang:3] transition called...
2017/09/23 20:55:48 [switch_5554:3] Switch to insert_metadata_5540.
2017/09/23 20:55:48 [cross_5488:3] No next track ready yet.
2017/09/23 20:55:48 [cross_5473:3] No next track ready yet.
2017/09/23 20:55:48 [cross_5458:3] No next track ready yet.
2017/09/23 20:55:48 [cross_5443:3] No next track ready yet.
2017/09/23 20:55:48 [cross_5428:3] No next track ready yet.
2017/09/23 20:55:48 [dummy(dot)4:3] Source failed (no more tracks) stopping output...
2017/09/23 20:55:48 [schedule_noise_switch:3] Switch to map_metadata_5563 with forgetful transition.
2017/09/23 20:55:48 [lang:3] transition called...
2017/09/23 20:55:49 [server:3] New client: localhost.
2017/09/23 20:55:49 [lang:3] vars.show_name
2017/09/23 20:55:49 [server:3] Client localhost disconnected.
2017/09/23 20:55:49 [decoder:3] Method "MAD" accepted "/var/tmp/airtime/pypo/cache/scheduler/243.mp3".
2017/09/23 20:55:49 [server:3] New client: localhost.
2017/09/23 20:55:49 [lang:3] dynamic_source.get_id
2017/09/23 20:55:49 [server:3] Client localhost disconnected.

There is a show running with songs and the "now playing" moves to the next song after it finishes with the track, but it seems liquidsoap does not detect them.
As I said before, the stream is continuously created and immediately closed.

tail -f /var/log/syslog

Sep 24 17:27:39 sd-102325 airtime-playout[11699]: 2017-09-24 17:27:39,537 [pypofetch] [INFO ] Handling command: update_schedule
Sep 24 17:27:39 sd-102325 airtime-playout[11699]: 2017-09-24 17:27:39,554 [pypoliquidsoap] [INFO ] Need to add items to Liquidsoap now: set([29061])
Sep 24 17:27:39 sd-102325 airtime-playout[11699]: 2017-09-24 17:27:39,555 [pypofetch] [INFO ] New timeout: 480
Sep 24 17:27:39 sd-102325 airtime-liquidsoap[25055]: #########################################
Sep 24 17:27:39 sd-102325 airtime-liquidsoap[25055]: # *** pypo *** #
Sep 24 17:27:39 sd-102325 airtime-liquidsoap[25055]: # pypo notification gateway #
Sep 24 17:27:39 sd-102325 airtime-liquidsoap[25055]: #########################################
Sep 24 17:27:39 sd-102325 airtime-liquidsoap[25055]: 2017/09/24 17:27:39 [server:3] New client: localhost.
Sep 24 17:27:39 sd-102325 airtime-playout[11699]: 2017-09-24 17:27:39,557 [pypofetch] [INFO ] Loop #49258
Sep 24 17:27:39 sd-102325 airtime-liquidsoap[25055]: 2017/09/24 17:27:39 [decoder:3] Method "MAD" accepted "/var/tmp/airtime/pypo/cache/scheduler/519.mp3".
Sep 24 17:27:39 sd-102325 airtime-liquidsoap[25055]: 2017/09/24 17:27:39 [lang:3] vars.show_name
Sep 24 17:27:39 sd-102325 airtime-liquidsoap[25055]: 2017/09/24 17:27:39 [server:3] Client localhost disconnected.
Sep 24 17:27:39 sd-102325 airtime-liquidsoap[25055]: 2017/09/24 17:27:39 [server:3] New client: localhost.
Sep 24 17:27:39 sd-102325 airtime-liquidsoap[25055]: 2017/09/24 17:27:39 [lang:3] dynamic_source.get_id
Sep 24 17:27:39 sd-102325 airtime-liquidsoap[25055]: 2017/09/24 17:27:39 [server:3] Client localhost disconnected.
Sep 24 17:27:39 sd-102325 airtime-playout[11699]: 2017-09-24 17:27:39,713 [pypoliqqueue] [INFO ] New schedule received: {u'2017-09-24-15-47-22': {u'cue_out': 396.047, u'independent_event': False, u'end': datetime.datetime(2017, 9, 24, 15, 53, 58), u'fade_out': 500, u'show_name': u'Offline', 'file_ready': True, u'uri': u'https://host//rest/media/252', u'cue_in': 0, 'dst': u'/var/tmp/airtime/pypo/cache/scheduler/252.mp3', u'start': datetime.datetime(2017, 9, 24, 15, 47, 22), u'replay_gain': -11.7, u'filesize': 16238869, 'file_ext': '.mp3', u'row_id': 29065, u'metadata': {u'rating': None, u'soundcloud_upload_time': None, u'report_datetime': None, u'lyrics': None, u'soundcloud_error_code': None, u'year': u'2011', u'channels': 2, u'bit_rate': 320068, u'buy_this_url': None, u'original_artist': None, u'composer': None, u'mtime': u'2017-07-21 11:50:01', u'contributor': None, u'editedby': None, u'id': 252, u'subject': None, u'radio_station_name': None, u'mood': None, u'copyright': None, u'filepath': u'imported/1/Phace/Drum & Bass Collection 21/unknown-Expectation Hurts (Original Mix)-320kbps.mp3', u'soundcloud_id': None, u'description': None, u'catalog_number': None, u'orchestra': None, u'comments': None, u'disc_number': None, u'ftype': u'audioclip', u'filesize': 16238869, u'cueout': u'00:06:36.04712', u'encoded_by': None, u'currentlyaccessing': 0, u'md5': u'a982bf0d21ac34b330e564f1ca6e0c09', u'soundcloud_error_msg': None, u'track_title': u'Expectation Hurts (Original Mix)', u'info_url': None, u'lyricist': None, u'import_status': 0, u'conductor': None, u'format': None, u'radio_station_url': None, u'artist_name': u'Phace', u'encoder': None, u'audio_source_url': None, u'original_lyricist': None, u'mime': u'audio/mp3', u'cuein': u'00:00:00', u'album_title': u'Drum & Bass Collection 21', u'genre': u'Drum & Bass', u'hidden': False, u'utime': u'2017-07-21 11:49:51', u'report_organization': None, u'name': u'', u'language': u'eng', u'report_location': None, u'url': None, u'checksum': None, u'bpm': 172, u'track_number': 35,
Sep 24 17:27:39 sd-102325 airtime-playout[11699]: u'isrc_number': None, u'length': u'00:06:36.04712', u'sample_rate': 44100, u'artist_url': None, u'soundcloud_link_to_file': None, u'directory': 1, u'lptime': u'2017-09-21 00:42:08', u'replay_gain': u'-11.7', u'owner_id': 1}, u'type': u'file', u'id': 252, u'fade_in': 500}, u'2017-09-24-16-04-17': {u'cue_out': 316.302, u'independent_event': False, u'end': datetime.datetime(2017, 9, 24, 16, 9, 34), u'fade_out': 500, u'show_name': u'Offline', 'file_ready': True, u'uri': u'https://host//rest/media/70', u'cue_in': 0, 'dst': u'/var/tmp/airtime/pypo/cache/scheduler/70.mp3', u'start': datetime.datetime(2017, 9, 24, 16, 4, 17), u'replay_gain': -3.25, u'filesize': 9819519, 'file_ext': '.mp3', u'row_id': 29068, u'metadata': {u'rating': None, u'soundcloud_upload_time': None, u'report_datetime': None, u'lyrics': None, u'soundcloud_error_code': None, u'year': u'2009', u'channels': 2, u'bit_rate': 240590, u'buy_this_url': None, u'original_artist': None, u'composer': None, u'mtime': u'2017-07-21 10:29:13', u'contributor': None, u'editedby': None, u'id': 70, u'subject': None, u'radio_station_name': None, u'mood': None, u'copyright': None, u'filepath': u'imported/1/Chase and Status feat. Kano/Drum & Bass Collection 10/unknown-Against All Odds (Xample Remix)-240kbps.mp3', u'soundcloud_id': None, u'description': None, u'catalog_number': None, u'orchestra': None, u'comments': None, u'label': None, u'disc_number': None, u'ftype': u'audioclip', u'filesize': 9819519, u'cueout': u'00:05:16.302222', u'encoded_by': None, u'currentlyaccessing': 0, u'md5': u'6de1e2b225b482d36e81d9153aa4acef', u'soundcloud_error_msg': None, u'track_title': u'Against All Odds (Xample Remix)', u'info_url': None, u'lyricist': None, u'import_status': 0, u'conductor': None, u'format': None, u'radio_station_url': None, u'artist_name': u'Chase and Status feat. Kano', u'encoder': None, u'audio_source_url': None, u'original_lyricist': None, u'mime': u'audio/mp3', u'cuein': u'00:00:00', u'album_title': u'Drum & Bass Collection 10', u'genre': u'Drum &
Sep 24 17:27:39 sd-102325 airtime-playout[11699]: Bass', u'hidden': False, u'utime': u'2017-07-21 10:28:06', u'report_organization': None, u'name': u'', u'language': None, u'report_location': None, u'url': None, u'checksum': None, u'bpm': 174, u'track_number': None, u'isrc_number': None, u'length': u'00:05:16.302222', u'sample_rate': 44100, u'artist_url': None, u'soundcloud_link_to_file': None, u'directory': 1, u'lptime': u'2017-09-19 20:27:10', u'replay_gain': u'-3.25', u'owner_id': 1}, u'type': u'file', u'id': 70, u'fade_in': 500}, u'2017-09-24-16-09-34': {u'cue_out': 288.973, u'independent_event': False, u'end': datetime.datetime(2017, 9, 24, 16, 14, 22), u'fade_out': 500, u'show_name': u'Offline', 'file_ready': True, u'uri': u'https://host//rest/media/543', u'cue_in': 0, 'dst': u'/var/tmp/airtime/pypo/cache/scheduler/543.mp3', u'start': datetime.datetime(2017, 9, 24, 16, 9, 34), u'replay_gain': -3.57, u'filesize': 9991412, 'file_ext': '.mp3', u'row_id': 29069, u'metadata': {u'rating': None, u'soundcloud_upload_time': None, u'report_datetime': None, u'lyrics': None, u'soundcloud_error_code': None, u'year': u'1997', u'channels': 2, u'bit_rate': 265129, u'buy_this_url': None, u'original_artist': None, u'composer': None, u'mtime': u'2017-07-21 13:46:45', u'contributor': None, u'editedby': None, u'id': 543, u'subject': None, u'radio_station_name': None, u'mood': None, u'copyright': None, u'filepath': u"imported/1/D Teaze/Drum 'N' Bass Frenzy/unknown-The Ancient Art Of Astral Projection-265.mp3", u'soundcloud_id': None, u'description': None, u'catalog_number': None, u'orchestra': None, u'comments': None, u'label': u'Emporio', u'disc_number': None, u'ftype': u'audioclip', u'filesize': 9991412, u'cueout': u'00:04:48.973333', u'encoded_by': None, u'currentlyaccessing': 0, u'md5': u'ea057acede21b21159b199e354bd99ca', u'soundcloud_error_msg': None, u'track_title': u'The Ancient Art Of Astral Projection', u'info_url': None, u'lyricist': None, u'import_status': 0, u'conductor': None, u'format': None, u'radio_station_url': None, u'artist_name': u'D Tea
Sep 24 17:27:39 sd-102325 airtime-playout[11699]: ze', u'encoder': None, u'audio_source_url': None, u'original_lyricist': None, u'mime': u'audio/mp3', u'cuein': u'00:00:00', u'album_title': u"Drum 'N' Bass Frenzy", u'genre': u'Drum & Bass', u'hidden': False, u'utime': u'2017-07-21 13:46:39', u'report_organization': None, u'name': u'', u'language': u'eng', u'report_location': None, u'url': None, u'checksum': None, u'bpm': 105, u'track_number': 9, u'isrc_number': None, u'length': u'00:04:48.973333', u'sample_rate': 44100, u'artist_url': None, u'soundcloud_link_to_file': None, u'directory': 1, u'lptime': u'2017-09-22 10:19:26', u'replay_gain': u'-3.57', u'owner_id': 1}, u'type': u'file', u'id': 543, u'fade_in': 500}, u'2017-09-24-15-41-08': {u'cue_out': 373.934, u'independent_event': False, u'end': datetime.datetime(2017, 9, 24, 15, 47, 22), u'fade_out': 500, u'show_name': u'Offline', 'file_ready': True, u'uri': u'https://host//rest/media/137', u'cue_in': 0, 'dst': u'/var/tmp/airtime/pypo/cache/scheduler/137.mp3', u'start': datetime.datetime(2017, 9, 24, 15, 41, 8), u'replay_gain': -1.55, u'filesize': 12361185, 'file_ext': '.mp3', u'row_id': 29064, u'metadata': {u'rating': None, u'soundcloud_upload_time': None, u'report_datetime': None, u'lyrics': None, u'soundcloud_error_code': None, u'year': u'2011', u'channels': 2, u'bit_rate': 256059, u'buy_this_url': None, u'original_artist': None, u'composer': None, u'mtime': u'2017-07-21 10:54:08', u'contributor': None, u'editedby': None, u'id': 137, u'subject': None, u'radio_station_name': None, u'mood': None, u'copyright': None, u'filepath': u'imported/1/Silent Killer And Breaker/Drum & Bass Collection 21/unknown-Brigade-256kbps.mp3', u'soundcloud_id': None, u'description': None, u'catalog_number': None, u'orchestra': None, u'comments': None, u'disc_number': None, u'ftype': u'audioclip', u'filesize': 12361185, u'cueout': u'00:06:13.93415', u'encoded_by': None, u'currentlyaccessing': 0, u'md5': u'0b7583b2af8262817bbf7bdfa048c28d', u'soundcloud_error_msg': None, u'track
Sep 24 17:27:39 sd-102325 airtime-playout[11699]: _title': u'Brigade', u'info_url': None, u'lyricist': None, u'import_status': 0, u'conductor': None, u'format': None, u'radio_station_url': None, u'artist_name': u'Silent Killer And Breaker', u'encoder': None, u'audio_source_url': None, u'original_lyricist': None, u'mime': u'audio/mp3', u'cuein': u'00:00:00', u'album_title': u'Drum & Bass Collection 21', u'genre': u'Drum & Bass', u'hidden': False, u'utime': u'2017-07-21 10:54:01', u'report_organization': None, u'name': u'', u'language': None, u'report_location': None, u'url': None, u'checksum': None, u'bpm': 175, u'track_number': 47, u'isrc_number': None, u'length': u'00:06:13.93415', u'sample_rate': 44100, u'artist_url': None, u'soundcloud_link_to_file': None, u'directory': 1, u'lptime': u'2017-09-18 11:30:30', u'replay_gain': u'-1.55', u'owner_id': 1}, u'type': u'file', u'id': 137, u'fade_in': 500}, u'2017-09-24-16-20-44': {u'cue_out': 132.4, u'independent_event': False, u'end': datetime.datetime(2017, 9, 24, 16, 22, 57), u'fade_out': 500, u'show_name': u'Offline', 'file_ready': True, u'uri': u'https://host//rest/media/72', u'cue_in': 0, 'dst': u'/var/tmp/airtime/pypo/cache/scheduler/72.mp3', u'start': datetime.datetime(2017, 9, 24, 16, 20, 44), u'replay_gain': -6.59, u'filesize': 5658954, 'file_ext': '.mp3', u'row_id': 29071, u'metadata': {u'rating': None, u'soundcloud_upload_time': None, u'report_datetime': None, u'lyrics': None, u'soundcloud_error_code': None, u'year': u'2004', u'channels': 2, u'bit_rate': 320161, u'buy_this_url': None, u'original_artist': None, u'composer': None, u'mtime': u'2017-07-21 10:29:23', u'contributor': None, u'editedby': None, u'id': 72, u'subject': None, u'radio_station_name': None, u'mood': None, u'copyright': None, u'filepath': u'imported/1/Benjie/Driving Insane/unknown-AI-320kbps.mp3', u'soundcloud_id': None, u'description': None, u'catalog_number': None, u'orchestra': None, u'comments': None, u'label': None, u'disc_number': None, u'ftype': u'audioclip', u'filesize': 5658954, u'cueout': u'00:02:12.4', u'encod
Sep 24 17:27:39 sd-102325 airtime-playout[11699]: ed_by': None, u'currentlyaccessing': 0, u'md5': u'118fcdadf9fca9b105d019fd2d86ffe0', u'soundcloud_error_msg': None, u'track_title': u'AI', u'info_url': None, u'lyricist': None, u'import_status': 0, u'conductor': None, u'format': None, u'radio_station_url': None, u'artist_name': u'Benjie', u'encoder': None, u'audio_source_url': None, u'original_lyricist': None, u'mime': u'audio/mp3', u'cuein': u'00:00:00', u'album_title': u'Driving Insane', u'genre': u'Drum & Bass', u'hidden': False, u'utime': u'2017-07-21 10:28:36', u'report_organization': None, u'name': u'', u'language': None, u'report_location': None, u'url': None, u'checksum': None, u'bpm': 116, u'track_number': 13, u'isrc_number': None, u'length': u'00:02:12.4', u'sample_rate': 44100, u'artist_url': None, u'soundcloud_link_to_file': None, u'directory': 1, u'lptime': u'2017-09-21 17:56:39', u'replay_gain': u'-6.59', u'owner_id': 1}, u'type': u'file', u'id': 72, u'fade_in': 500}, u'2017-09-24-15-53-58': {u'cue_out': 292.075, u'independent_event': False, u'end': datetime.datetime(2017, 9, 24, 15, 58, 50), u'fade_out': 500, u'show_name': u'Offline', 'file_ready': True, u'uri': u'https://host//rest/media/693', u'cue_in': 0, 'dst': u'/var/tmp/airtime/pypo/cache/scheduler/693.mp3', u'start': datetime.datetime(2017, 9, 24, 15, 53, 58), u'replay_gain': -9.22, u'filesize': 11683254, 'file_ext': '.mp3', u'row_id': 29066, u'metadata': {u'rating': None, u'soundcloud_upload_time': None, u'report_datetime': None, u'lyrics': None, u'soundcloud_error_code': None, u'year': None, u'channels': 2, u'bit_rate': 320000, u'buy_this_url': None, u'original_artist': None, u'composer': None, u'mtime': u'2017-08-01 09:25:03', u'contributor': None, u'editedby': None, u'id': 693, u'subject': None, u'radio_station_name': None, u'mood': None, u'copyright': None, u'filepath': u'imported/1/The Upbeats/Critical Music Presents: 15 Years Of Underground/08. The Upbeats - Grasshopper.mp3', u'soundcloud_id': None, u'description': None, u'catalog_number': None, u'orchestra': None,
Sep 24 17:27:39 sd-102325 airtime-playout[11699]: u'comments': None, u'label': None, u'disc_number': None, u'ftype': u'audioclip', u'filesize': 11683254, u'cueout': u'00:04:52.0751', u'encoded_by': None, u'currentlyaccessing': 0, u'md5': u'2c84681705de1a70d1896674a5341955', u'soundcloud_error_msg': None, u'track_title': u'Grasshopper', u'info_url': None, u'lyricist': None, u'import_status': 0, u'conductor': None, u'format': None, u'radio_station_url': None, u'artist_name': u'The Upbeats', u'encoder': None, u'audio_source_url': None, u'original_lyricist': None, u'mime': u'audio/mp3', u'cuein': u'00:00:00', u'album_title': u'Critical Music Presents: 15 Years Of Underground Sonics', u'genre': u'Drum & Bass', u'hidden': False, u'utime': u'2017-08-01 09:24:57', u'report_organization': None, u'name': u'', u'language': None, u'report_location': None, u'url': None, u'checksum': None, u'bpm': None, u'track_number': 8, u'isrc_number': None, u'length': u'00:04:52.0751', u'sample_rate': 44100, u'artist_url': None, u'soundcloud_link_to_file': None, u'directory': 1, u'lptime': u'2017-09-22 07:03:50', u'replay_gain': u'-9.22', u'owner_id': 1}, u'type': u'file', u'id': 693, u'fade_in': 500}, u'2017-09-24-15-36-09': {u'cue_out': 298.87, u'independent_event': False, u'end': datetime.datetime(2017, 9, 24, 15, 41, 8), u'fade_out': 500, u'show_name': u'Offline', 'file_ready': True, u'uri': u'https://host//rest/media/267', u'cue_in': 0, 'dst': u'/var/tmp/airtime/pypo/cache/scheduler/267.mp3', u'start': datetime.datetime(2017, 9, 24, 15, 36, 9), u'replay_gain': -9, u'filesize': 12368379, 'file_ext': '.mp3', u'row_id': 29063, u'metadata': {u'rating': None, u'soundcloud_upload_time': None, u'report_datetime': None, u'lyrics': None, u'soundcloud_error_code': None, u'year': u'2011', u'channels': 2, u'bit_rate': 320000, u'buy_this_url': None, u'original_artist': None, u'composer': None, u'mtime': u'2017-07-21 11:55:33', u'contributor': None, u'editedby': None, u'id': 267, u'subject': None, u'radio_station_name': None, u'mood': None, u'copyright': u'Drum & Bass Arena | DN
Sep 24 17:27:39 sd-102325 airtime-playout[11699]: BA006DD', u'filepath': u'imported/1/Friction/Drum & Bass Arena : 15 Years/unknown-Flip The Page-320kbps.mp3', u'soundcloud_id': None, u'description': None, u'catalog_number': None, u'orchestra': None, u'comments': None, u'label': None, u'disc_number': None, u'ftype': u'audioclip', u'filesize': 12368379, u'cueout': u'00:04:58.87015', u'encoded_by': None, u'currentlyaccessing': 0, u'md5': u'bdda46559d88787b44cfabf5a127c9d2', u'soundcloud_error_msg': None, u'track_title': u'Flip The Page', u'info_url': None, u'lyricist': None, u'import_status': 0, u'conductor': None, u'format': None, u'radio_station_url': None, u'artist_name': u'Friction', u'encoder': None, u'audio_source_url': None, u'original_lyricist': None, u'mime': u'audio/mp3', u'cuein': u'00:00:00', u'album_title': u'Drum & Bass Arena : 15 Years', u'genre': u'Drum and Bass', u'hidden': False, u'utime': u'2017-07-21 11:55:28', u'report_organization': None, u'name': u'', u'language': None, u'report_location': None, u'url': None, u'checksum': None, u'bpm': 0, u'track_number': 16, u'isrc_number': None, u'length': u'00:04:58.87015', u'sample_rate': 44100, u'artist_url': None, u'soundcloud_link_to_file': None, u'directory': 1, u'lptime': u'2017-09-20 01:32:50', u'replay_gain': u'-9', u'owner_id': 1}, u'type': u'file', u'id': 267, u'fade_in': 500}, u'2017-09-24-16-22-57': {u'cue_out': 167.43, u'independent_event': False, u'end': datetime.datetime(2017, 9, 24, 16, 25, 44), u'fade_out': 500, u'show_name': u'Offline', 'file_ready': True, u'uri': u'https://host//rest/media/347', u'cue_in': 0, 'dst': u'/var/tmp/airtime/pypo/cache/scheduler/347.mp3', u'start': datetime.datetime(2017, 9, 24, 16, 22, 57), u'replay_gain': -7.55, u'filesize': 7864578, 'file_ext': '.mp3', u'row_id': 29072, u'metadata': {u'rating': None, u'soundcloud_upload_time': None, u'report_datetime': None, u'lyrics': None, u'soundcloud_error_code': None, u'year': u'2011', u'channels': 2, u'bit_rate': 320078, u'buy_this_url': None, u'original_artist': None, u'composer': None, u'mtime': u
Sep 24 17:27:39 sd-102325 airtime-playout[11699]: '2017-07-21 12:27:47', u'contributor': None, u'editedby': None, u'id': 347, u'subject': None, u'radio_station_name': None, u'mood': None, u'copyright': None, u'filepath': u'imported/1/Lynx/Devils In The Detail/unknown-Jetlag Feat. DRS And Marcus Intalex-320k.mp3', u'soundcloud_id': None, u'description': None, u'catalog_number': None, u'orchestra': None, u'comments': None, u'label': None, u'disc_number': None, u'ftype': u'audioclip', u'filesize': 7864578, u'cueout': u'00:02:47.429728', u'encoded_by': None, u'currentlyaccessing': 0, u'md5': u'5af116dc4f2cf458b0e213b49741f6ac', u'soundcloud_error_msg': None, u'track_title': u'Jetlag Feat. DRS And Marcus Intalex', u'info_url': None, u'lyricist': None, u'import_status': 0, u'conductor': None, u'format': None, u'radio_station_url': None, u'artist_name': u'Lynx', u'encoder': None, u'audio_source_url': None, u'original_lyricist': None, u'mime': u'audio/mp3', u'cuein': u'00:00:00', u'album_title': u'Devils In The Detail', u'genre': u'Drum & Bass', u'hidden': False, u'utime': u'2017-07-21 12:27:43', u'report_organization': None, u'name': u'', u'language': u'English', u'report_location': None, u'url': None, u'checksum': None, u'bpm': 88, u'track_number': 7, u'isrc_number': None, u'length': u'00:02:47.429728', u'sample_rate': 44100, u'artist_url': None, u'soundcloud_link_to_file': None, u'directory': 1, u'lptime': u'2017-09-22 06:37:54', u'replay_gain': u'-7.55', u'owner_id': 1}, u'type': u'file', u'id': 347, u'fade_in': 500}, u'2017-09-24-15-30-23': {u'cue_out': 346.126, u'independent_event': False, u'end': datetime.datetime(2017, 9, 24, 15, 36, 9), u'fade_out': 500, u'show_name': u'Offline', 'file_ready': True, u'uri': u'https://host//rest/media/28', u'cue_in': 0, 'dst': u'/var/tmp/airtime/pypo/cache/scheduler/28.mp3', u'start': datetime.datetime(2017, 9, 24, 15, 30, 23), u'replay_gain': -9.96, u'filesize': 14057282, 'file_ext': '.mp3', u'row_id': 29062, u'metadata': {u'rating': None, u'soundcloud_upload_time': None, u'report_datetime': None, u'lyrics':
Sep 24 17:27:39 sd-102325 airtime-playout[11699]: None, u'soundcloud_error_code': None, u'year': u'2010', u'channels': 2, u'bit_rate': 320000, u'buy_this_url': None, u'original_artist': None, u'composer': None, u'mtime': u'2017-07-21 08:32:41', u'contributor': None, u'editedby': None, u'id': 28, u'subject': None, u'radio_station_name': None, u'mood': None, u'copyright': u'Shogun Audio [SHA037]', u'filepath': u'imported/1/Alix Perez/Dark Days EP/unknown-Dark Days (ft.Foreign Beggars)-320kbps.mp3', u'soundcloud_id': None, u'description': None, u'catalog_number': None, u'orchestra': None, u'comments': None, u'label': None, u'disc_number': None, u'ftype': u'audioclip', u'filesize': 14057282, u'cueout': u'00:05:46.12565', u'encoded_by': None, u'currentlyaccessing': 0, u'md5': u'442ec0c9bcde16c1138c8770e79b0854', u'soundcloud_error_msg': None, u'track_title': u'Dark Days (ft.Foreign Beggars)', u'info_url': None, u'lyricist': None, u'import_status': 0, u'conductor': None, u'format': None, u'radio_station_url': None, u'artist_name': u'Alix Perez', u'encoder': None, u'audio_source_url': None, u'original_lyricist': None, u'mime': u'audio/mp3', u'cuein': u'00:00:00', u'album_title': u'Dark Days EP', u'genre': u'Drum & Bass', u'hidden': False, u'utime': u'2017-07-21 08:32:33', u'report_organization': None, u'name': u'', u'language': None, u'report_location': None, u'url': None, u'checksum': None, u'bpm': 86, u'track_number': 1, u'isrc_number': None, u'length': u'00:05:46.12565', u'sample_rate': 44100, u'artist_url': None, u'soundcloud_link_to_file': None, u'directory': 1, u'lptime': u'2017-09-21 10:46:21', u'replay_gain': u'-9.96', u'owner_id': 1}, u'type': u'file', u'id': 28, u'fade_in': 500}, u'2017-09-24-16-14-22': {u'cue_out': 381.722, u'independent_event': False, u'end': datetime.datetime(2017, 9, 24, 16, 20, 44), u'fade_out': 500, u'show_name': u'Offline', 'file_ready': True, u'uri': u'https://host//rest/media/603', u'cue_in': 0, 'dst': u'/var/tmp/airtime/pypo/cache/scheduler/603.mp3', u'start': datetime.datetime(2017, 9, 24, 16, 14, 22), u'replay_g
Sep 24 17:27:39 sd-102325 airtime-playout[11699]: ain': -10.92, u'filesize': 15661659, 'file_ext': '.mp3', u'row_id': 29070, u'metadata': {u'rating': None, u'soundcloud_upload_time': None, u'report_datetime': None, u'lyrics': None, u'soundcloud_error_code': None, u'year': u'2011', u'channels': 2, u'bit_rate': 320070, u'buy_this_url': None, u'original_artist': None, u'composer': None, u'mtime': u'2017-07-21 14:08:44', u'contributor': None, u'editedby': None, u'id': 603, u'subject': None, u'radio_station_name': None, u'mood': None, u'copyright': None, u'filepath': u'imported/1/Gridlok & Prolix feat. MC Fats/Drum & Bass Collection 21/unknown-Tru Born Playa-320kbps.mp3', u'soundcloud_id': None, u'description': None, u'catalog_number': None, u'orchestra': None, u'comments': None, u'disc_number': None, u'ftype': u'audioclip', u'filesize': 15661659, u'cueout': u'00:06:21.721587', u'encoded_by': None, u'currentlyaccessing': 0, u'md5': u'012ed0e8e4c302c98caeea3a8b10fa47', u'soundcloud_error_msg': None, u'track_title': u'Tru Born Playa', u'info_url': None, u'lyricist': None, u'import_status': 0, u'conductor': None, u'format': None, u'radio_station_url': None, u'artist_name': u'Gridlok & Prolix feat. MC Fats', u'encoder': None, u'audio_source_url': None, u'original_lyricist': None, u'mime': u'audio/mp3', u'cuein': u'00:00:00', u'album_title': u'Drum & Bass Collection 21', u'genre': u'Drum & Bass', u'hidden': False, u'utime': u'2017-07-21 14:08:37', u'report_organization': None, u'name': u'', u'language': None, u'report_location': None, u'url': None, u'checksum': None, u'bpm': 174, u'track_number': 20, u'isrc_number': None, u'length': u'00:06:21.721587', u'sample_rate': 44100, u'artist_url': None, u'soundcloud_link_to_file': None, u'directory': 1, u'lptime': u'2017-09-22 04:20:28', u'replay_gain': u'-10.92', u'owner_id': 1}, u'type': u'file', u'id': 603, u'fade_in': 500}, u'2017-09-24-16-25-44': {u'cue_out': 296.229, u'independent_event': False, u'end': datetime.datetime(2017, 9, 24, 16, 30, 40), u'fade_out': 500, u'show_name': u'Offline
Sep 24 17:27:39 sd-102325 airtime-playout[11699]: ', 'file_ready': True, u'uri': u'https://host//rest/media/416', u'cue_in': 0, 'dst': u'/var/tmp/airtime/pypo/cache/scheduler/416.mp3', u'start': datetime.datetime(2017, 9, 24, 16, 25, 44), u'replay_gain': -10.86, u'filesize': 12234698, 'file_ext': '.mp3', u'row_id': 29073, u'metadata': {u'rating': None, u'soundcloud_upload_time': None, u'report_datetime': None, u'lyrics': None, u'soundcloud_error_code': None, u'year': u'2011', u'channels': 2, u'bit_rate': 320084, u'buy_this_url': None, u'original_artist': None, u'composer': None, u'mtime': u'2017-07-21 12:56:01', u'contributor': None, u'editedby': None, u'id': 416, u'subject': None, u'radio_station_name': None, u'mood': None, u'copyright': None, u'filepath': u'imported/1/Hyperlogic/Drum & Bass Collection 21/unknown-Only Me (Hamilton Remix)-320kbps.mp3', u'soundcloud_id': None, u'description': None, u'catalog_number': None, u'orchestra': None, u'comments': None, u'disc_number': None, u'ftype': u'audioclip', u'filesize': 12234698, u'cueout': u'00:04:56.228594', u'encoded_by': None, u'currentlyaccessing': 0, u'md5': u'dc1f80a446485918d658daaf26fae1e6', u'soundcloud_error_msg': None, u'track_title': u'Only Me (Hamilton Remix)', u'info_url': None, u'lyricist': None, u'import_status': 0, u'conductor': None, u'format': None, u'radio_station_url': None, u'artist_name': u'Hyperlogic', u'encoder': None, u'audio_source_url': None, u'original_lyricist': None, u'mime': u'audio/mp3', u'cuein': u'00:00:00', u'album_title': u'Drum & Bass Collection 21', u'genre': u'Drum & Bass', u'hidden': False, u'utime': u'2017-07-21 12:55:55', u'report_organization': None, u'name': u'', u'language': None, u'report_location': None, u'url': None, u'checksum': None, u'bpm': 175, u'track_number': 22, u'isrc_number': None, u'length': u'00:04:56.228594', u'sample_rate': 44100, u'artist_url': None, u'soundcloud_link_to_file': None, u'directory': 1, u'lptime': u'2017-09-21 16:05:13', u'replay_gain': u'-10.86', u'owner_id': 1}, u'type': u'file',
Sep 24 17:27:39 sd-102325 airtime-playout[11699]: u'id': 416, u'fade_in': 500}, u'2017-09-24-15-58-50': {u'cue_out': 327.494, u'independent_event': True, u'end': datetime.datetime(2017, 9, 24, 16, 4, 17), u'fade_out': 500, u'show_name': u'Offline', 'file_ready': True, u'uri': u'https://host//rest/media/467', u'cue_in': 0, 'dst': u'/var/tmp/airtime/pypo/cache/scheduler/467.mp3', u'start': datetime.datetime(2017, 9, 24, 15, 58, 50), u'replay_gain': -4.22, u'filesize': 9106992, 'file_ext': '.mp3', u'row_id': 29067, u'metadata': {u'rating': None, u'soundcloud_upload_time': None, u'report_datetime': None, u'lyrics': None, u'soundcloud_error_code': None, u'year': u'2009', u'channels': 2, u'bit_rate': 215024, u'buy_this_url': None, u'original_artist': None, u'composer': None, u'mtime': u'2017-07-21 13:15:22', u'contributor': None, u'editedby': None, u'id': 467, u'subject': None, u'radio_station_name': None, u'mood': None, u'copyright': None, u'filepath': u'imported/1/Black Sun Empire and State Of/Drum & Bass Collection 10/unknown-Sandbag-215kbps.mp3', u'soundcloud_id': None, u'description': None, u'catalog_number': None, u'orchestra': None, u'comments': None, u'label': None, u'disc_number': None, u'ftype': u'audioclip', u'filesize': 9106992, u'cueout': u'00:05:27.49424', u'encoded_by': None, u'currentlyaccessing': 0, u'md5': u'96f323410f2bce3696c409b4d9aa96a5', u'soundcloud_error_msg': None, u'track_title': u'Sandbag', u'info_url': None, u'lyricist': None, u'import_status': 0, u'conductor': None, u'format': None, u'radio_station_url': None, u'artist_name': u'Black Sun Empire and State Of', u'encoder': None, u'audio_source_url': None, u'original_lyricist': None, u'mime': u'audio/mp3', u'cuein': u'00:00:00', u'album_title': u'Drum & Bass Collection 10', u'genre': u'Drum & Bass', u'hidden': False, u'utime': u'2017-07-21 13:15:16', u'report_organization': None, u'name': u'', u'language': None, u'report_location': None, u'url': None, u'checksum': None, u'bpm': 174, u'track_number': None, u'isrc_number': None, u'length': u'00:05:27.49424', u'sample_rate':
Sep 24 17:27:39 sd-102325 airtime-playout[11699]: 44100, u'artist_url': None, u'soundcloud_link_to_file': None, u'directory': 1, u'lptime': u'2017-09-22 09:37:53', u'replay_gain': u'-4.22', u'owner_id': 1}, u'type': u'file', u'id': 467, u'fade_in': 500}}
Sep 24 17:27:39 sd-102325 airtime-playout[11699]: 2017-09-24 17:27:39,717 [pypoliqqueue] [INFO ] waiting 163.282538s until next scheduled item
Sep 24 17:27:39 sd-102325 kernel: [168375.781803] traps: liquidsoap[25066] trap invalid opcode ip:7f93eb34a028 sp:7f93df47d5d8 error:0
Sep 24 17:27:39 sd-102325 kernel: [168375.870687] in lame.cmxs[7f93eb346000+b000]
Sep 24 17:27:39 sd-102325 systemd[1]: airtime-liquidsoap.service: Main process exited, code=killed, status=4/ILL
Sep 24 17:27:39 sd-102325 systemd[1]: airtime-liquidsoap.service: Unit entered failed state.
Sep 24 17:27:39 sd-102325 systemd[1]: airtime-liquidsoap.service: Failed with result 'signal'.
Sep 24 17:27:40 sd-102325 systemd[1]: airtime-liquidsoap.service: Service hold-off time over, scheduling restart.
Sep 24 17:27:40 sd-102325 systemd[1]: Stopped Airtime Liquidsoap Service.
Sep 24 17:27:40 sd-102325 systemd[1]: Started Airtime Liquidsoap Service.

@hairmare
Copy link
Member

I'm not sure why you are getting the following kernel trap.

Sep 24 17:27:39 sd-102325 kernel: [168375.781803] traps: liquidsoap[25066] trap invalid opcode ip:7f93eb34a028 sp:7f93df47d5d8 error:0

The cc_pref locking issue needs to be cleaned up at some point (I haven't figured out what the locking code is trying to guard against but it does seem to be a race condition of sorts).

Usually when liquidsoap is constantly being restarted the issue stems from the airtime-playout service not doing it's thing. Is it logging anything?

@xabispacebiker
Copy link
Contributor Author

Where are the airtime-playout logs?

@hairmare
Copy link
Member

They should be in /var/log/airtime/pypo/pypo.log.

@hairmare
Copy link
Member

If that file doesn't exist you might be able to access them with journalctl -u airtime-playout. The playout logs are one of the cases that need some cleanup.

@xabispacebiker
Copy link
Contributor Author

xabispacebiker commented Sep 27, 2017

/var/log/airtime/pypo/pypo.log
2017-09-27 22:18:35,575 [pypoliqqueue] [INFO ] New schedule received: {u'2017-09-27-21-00-00': {u'start': datetime.datetime(2017, 9, 27, 21, 0), u'independent_event': True, u'end': datetime.datetime(2017, 9, 27, 21, 0), u'event_type': u'kick_out', u'type': u'event'}, u'2017-09-27-21-13-29': {u'cue_out': 385.493, u'independent_event': False, u'end': datetime.datetime(2017, 9, 27, 21, 19, 55), u'fade_out': 500, u'show_name': u'Offline', 'file_ready': False, u'uri': u'https://host//rest/media/328', u'cue_in': 0, 'dst': u'/var/tmp/airtime/pypo/cache/scheduler/328.mp3', u'start': datetime.datetime(2017, 9, 27, 21, 13, 29), u'replay_gain': -5.51, u'filesize': 11350883, 'file_ext': '.mp3', u'row_id': 44912, u'metadata': {u'rating': None, u'soundcloud_upload_time': None, u'report_datetime': None, u'lyrics': None, u'soundcloud_error_code': None, u'year': u'1997', u'channels': 2, u'bit_rate': 226704, u'buy_this_url': None, u'original_artist': None, u'composer': None, u'mtime': u'2017-07-21 12:20:24', u'contributor': None, u'editedby': None, u'id': 328, u'subject': None, u'radio_station_name': None, u'mood': None, u'copyright': None, u'filepath': u"imported/1/The Drum & Bass Brothers/Drum 'N' Bass Frenzy/unknown-Ice Maiden-226kbps.mp3", u'soundcloud_id': None, u'description': None, u'catalog_number': None, u'orchestra': None, u'comments': None, u'label': u'Emporio', u'disc_number': None, u'ftype': u'audioclip', u'filesize': 11350883, u'cueout': u'00:06:25.493333', u'encoded_by': None, u'currentlyaccessing': 0, u'md5': u'a6327a249d3d07907ad2c972f95d374f', u'soundcloud_error_msg': None, u'track_title': u'Ice Maiden', u'info_url': None, u'lyricist': None, u'import_status': 0, u'conductor': None, u'format': None, u'radio_station_url': None, u'artist_name': u'The Drum & Bass Brothers', u'encoder': None, u'audio_source_url': None, u'original_lyricist': None, u'mime': u'audio/mp3', u'cuein': u'00:00:00', u'album_title': u"Drum 'N' Bass Frenzy", u'genre': u'Drum & Bass', u'hidden': False, u'utime': u'2017-07-21 12:20:17', u'report_organization': None, u'name': u'', u'language': u'eng', u'report_location': None, u'url': None, u'checksum': None, u'bpm': 80, u'track_number': 10, u'isrc_number': None, u'length': u'00:06:25.493333', u'sample_rate': 44100, u'artist_url': None, u'soundcloud_link_to_file': None, u'directory': 1, u'lptime': u'2017-09-22 03:09:04', u'replay_gain': u'-5.51', u'owner_id': 1}, u'type': u'file', u'id': 328, u'fade_in': 500}, u'2017-09-27-21-08-41': {u'cue_out': 288.212, u'independent_event': False, u'end': datetime.datetime(2017, 9, 27, 21, 13, 29), u'fade_out': 500, u'show_name': u'Offline', 'file_ready': True, u'uri': u'https://host//rest/media/480', u'cue_in': 0, 'dst': u'/var/tmp/airtime/pypo/cache/scheduler/480.mp3', u'start': datetime.datetime(2017, 9, 27, 21, 8, 41), u'replay_gain': -4.15, u'filesize': 11790695, 'file_ext': '.mp3', u'row_id': 44911, u'metadata': {u'rating': None, u'soundcloud_upload_time': None, u'report_datetime': None, u'lyrics': None, u'soundcloud_error_code': None, u'year': u'2011', u'channels': 2, u'bit_rate': 320000, u'buy_this_url': None, u'original_artist': None, u'composer': None, u'mtime': u'2017-07-21 13:20:22', u'contributor': None, u'editedby': None, u'id': 480, u'subject': None, u'radio_station_name': None, u'mood': None, u'copyright': None, u'filepath': u'imported/1/Future Signal/Drum & Bass Collection 25 No Noise Edition/unknown-Shadow-320kbps.mp3', u'soundcloud_id': None, u'description': None, u'catalog_number': None, u'orchestra': None, u'comments': None, u'label': None, u'disc_number': None, u'ftype': u'audioclip', u'filesize': 11790695, u'cueout': u'00:04:48.212175', u'encoded_by': None, u'currentlyaccessing': 0, u'md5': u'3901296077f265b4c9204dbc238859f8', u'soundcloud_error_msg': None, u'track_title': u'Shadow', u'info_url': None, u'lyricist': None, u'import_status': 0, u'conductor': None, u'format': None, u'radio_station_url': None, u'artist_name': u'Future Signal', u'encoder': None, u'audio_source_url': None, u'original_lyricist': None, u'mime': u'audio/mp3', u'cuein': u'00:00:00', u'album_title': u'Drum & Bass Collection 25 No Noise Edition', u'genre': u'Drum & Bass', u'hidden': False, u'utime': u'2017-07-21 13:20:11', u'report_organization': None, u'name': u'', u'language': None, u'report_location': None, u'url': None, u'checksum': None, u'bpm': 86, u'track_number': 42, u'isrc_number': None, u'length': u'00:04:48.212175', u'sample_rate': 44100, u'artist_url': None, u'soundcloud_link_to_file': None, u'directory': 1, u'lptime': u'2017-09-21 15:00:22', u'replay_gain': u'-4.15', u'owner_id': 1}, u'type': u'file', u'id': 480, u'fade_in': 500}, u'2017-09-27-21-00-00_0': {u'cue_out': 402.237, u'independent_event': False, u'end': datetime.datetime(2017, 9, 27, 21, 6, 42), u'fade_out': 500, u'show_name': u'Offline', 'file_ready': True, u'uri': u'https://host//rest/media/566', u'cue_in': 0, 'dst': u'/var/tmp/airtime/pypo/cache/scheduler/566.mp3', u'start': datetime.datetime(2017, 9, 27, 21, 0), u'replay_gain': -6.98, u'filesize': 16511246, 'file_ext': '.mp3', u'row_id': 44909, u'metadata': {u'rating': None, u'soundcloud_upload_time': None, u'report_datetime': None, u'lyrics': None, u'soundcloud_error_code': None, u'year': u'2011', u'channels': 2, u'bit_rate': 320000, u'buy_this_url': None, u'original_artist': None, u'composer': None, u'mtime': u'2017-07-21 13:55:18', u'contributor': None, u'editedby': None, u'id': 566, u'subject': None, u'radio_station_name': None, u'mood': None, u'copyright': u'Drum & Bass Arena | DNBA006DD', u'filepath': u'imported/1/Keaton & Hive/Drum & Bass Arena : 15 Years/unknown-The Plague-320kbps.mp3', u'soundcloud_id': None, u'description': None, u'catalog_number': None, u'orchestra': None, u'comments': None, u'label': None, u'disc_number': None, u'ftype': u'audioclip', u'filesize': 16511246, u'cueout': u'00:06:42.236675', u'encoded_by': None, u'currentlyaccessing': 0, u'md5': u'8473f1130a07aafe457a7d245a6fbe8e', u'soundcloud_error_msg': None, u'track_title': u'The Plague', u'info_url': None, u'lyricist': None, u'import_status': 0, u'conductor': None, u'format': None, u'radio_station_url': None, u'artist_name': u'Keaton & Hive', u'encoder': None, u'audio_source_url': None, u'original_lyricist': None, u'mime': u'audio/mp3', u'cuein': u'00:00:00', u'album_title': u'Drum & Bass Arena : 15 Years', u'genre': u'Drum & Bass', u'hidden': False, u'utime': u'2017-07-21 13:55:07', u'report_organization': None, u'name': u'', u'language': None, u'report_location': None, u'url': None, u'checksum': None, u'bpm': None, u'track_number': 47, u'isrc_number': None, u'length': u'00:06:42.236675', u'sample_rate': 44100, u'artist_url': None, u'soundcloud_link_to_file': None, u'directory': 1, u'lptime': u'2017-09-22 09:54:58', u'replay_gain': u'-6.98', u'owner_id': 1}, u'type': u'file', u'id': 566, u'fade_in': 500}, u'2017-09-27-21-06-42': {u'cue_out': 119.503, u'independent_event': False, u'end': datetime.datetime(2017, 9, 27, 21, 8, 41), u'fade_out': 500, u'show_name': u'Offline', 'file_ready': True, u'uri': u'https://host//rest/media/546', u'cue_in': 0, 'dst': u'/var/tmp/airtime/pypo/cache/scheduler/546.mp3', u'start': datetime.datetime(2017, 9, 27, 21, 6, 42), u'replay_gain': -10.39, u'filesize': 4797000, 'file_ext': '.mp3', u'row_id': 44910, u'metadata': {u'rating': None, u'soundcloud_upload_time': None, u'report_datetime': None, u'lyrics': None, u'soundcloud_error_code': None, u'year': u'2016', u'channels': 2, u'bit_rate': 320158, u'buy_this_url': None, u'original_artist': None, u'composer': None, u'mtime': u'2017-07-21 13:47:24', u'contributor': None, u'editedby': None, u'id': 546, u'subject': None, u'radio_station_name': None, u'mood': None, u'copyright': None, u'filepath': u'imported/1/Noisia/Outer Edges/18-The Approach (Reprise)-320kbps.mp3', u'soundcloud_id': None, u'description': None, u'catalog_number': None, u'orchestra': None, u'comments': None, u'label': u'Vision Recordings', u'disc_number': None, u'ftype': u'audioclip', u'filesize': 4797000, u'cueout': u'00:01:59.503288', u'encoded_by': None, u'currentlyaccessing': 0, u'md5': u'88d055c4c02843c8d3ab1c4f8d85f0d7', u'soundcloud_error_msg': None, u'track_title': u'The Approach (Reprise)', u'info_url': None, u'lyricist': None, u'import_status': 0, u'conductor': None, u'format': None, u'radio_station_url': None, u'artist_name': u'Noisia', u'encoder': None, u'audio_source_url': None, u'original_lyricist': None, u'mime': u'audio/mp3', u'cuein': u'00:00:00', u'album_title': u'Outer Edges', u'genre': u'Drum & Bass / Breakbeat / Dubstep / Electro House', u'hidden': False, u'utime': u'2017-07-21 13:47:18', u'report_organization': None, u'name': u'', u'language': u'English', u'report_location': None, u'url': None, u'checksum': None, u'bpm': None, u'track_number': 18, u'isrc_number': None, u'length': u'00:01:59.503288', u'sample_rate': 44100, u'artist_url': None, u'soundcloud_link_to_file': None, u'directory': 1, u'lptime': u'2017-09-21 11:22:15', u'replay_gain': u'-10.39', u'owner_id': 1}, u'type': u'file', u'id': 546, u'fade_in': 500}}
2017-09-27 22:18:35,577 [pypoliqqueue] [INFO ] waiting 2484.422838s until next scheduled item
2017-09-27 22:26:35,566 [pypofetch] [INFO ] Queue timeout. Fetching schedule manually
2017-09-27 22:26:35,796 [pypofetch] [INFO ] Loop #10
2017-09-27 22:26:35,797 [pypofile] [INFO ] copying from https://host//rest/media/216 to local cache /var/tmp/airtime/pypo/cache/scheduler/216.mp3
2017-09-27 22:26:35,798 [pypofile] [INFO ] https://host:443/rest/media/216/download
2017-09-27 22:26:35,842 [pypoliqqueue] [INFO ] New schedule received: {u'2017-09-27-21-19-55': {u'cue_out': 316.218, u'independent_event': False, u'end': datetime.datetime(2017, 9, 27, 21, 25, 11), u'fade_out': 500, u'show_name': u'Offline', 'file_ready': False, u'uri': u'https://host//rest/media/216', u'cue_in': 0, 'dst': u'/var/tmp/airtime/pypo/cache/scheduler/216.mp3', u'start': datetime.datetime(2017, 9, 27, 21, 19, 55), u'replay_gain': -7.94, u'filesize': 12950327, 'file_ext': '.mp3', u'row_id': 44913, u'metadata': {u'rating': None, u'soundcloud_upload_time': None, u'report_datetime': None, u'lyrics': None, u'soundcloud_error_code': None, u'year': u'2010', u'channels': 2, u'bit_rate': 320085, u'buy_this_url': None, u'original_artist': None, u'composer': None, u'mtime': u'2017-07-21 11:26:05', u'contributor': None, u'editedby': None, u'id': 216, u'subject': None, u'radio_station_name': None, u'mood': None, u'copyright': None, u'filepath': u"imported/1/James Warren, DJ Kira/Drum N Bass Essentials Volume 1/unknown-Don't Ask Me - Phrakture's DnB Mix-320kb.mp3", u'soundcloud_id': None, u'description': None, u'catalog_number': None, u'orchestra': None, u'comments': None, u'label': u'LW Recordings', u'disc_number': None, u'ftype': u'audioclip', u'filesize': 12950327, u'cueout': u'00:05:16.217982', u'encoded_by': None, u'currentlyaccessing': 0, u'md5': u'ec2df1336a0e038272b1e879523bf711', u'soundcloud_error_msg': None, u'track_title': u"Don't Ask Me - Phrakture's DnB Mix", u'info_url': None, u'lyricist': None, u'import_status': 0, u'conductor': None, u'format': None, u'radio_station_url': None, u'artist_name': u'James Warren, DJ Kira', u'encoder': None, u'audio_source_url': None, u'original_lyricist': None, u'mime': u'audio/mp3', u'cuein': u'00:00:00', u'album_title': u'Drum N Bass Essentials Volume 1', u'genre': u'Drum & Bass', u'hidden': False, u'utime': u'2017-07-21 11:25:59', u'report_organization': None, u'name': u'', u'language': None, u'report_location': None, u'url': None, u'checksum': None, u'bpm': 80, u'track_number': 2, u'isrc_number': None, u'length': u'00:05:16.217982', u'sample_rate': 44100, u'artist_url': None, u'soundcloud_link_to_file': None, u'directory': 1, u'lptime': u'2017-09-21 23:42:32', u'replay_gain': u'-7.94', u'owner_id': 1}, u'type': u'file', u'id': 216, u'fade_in': 500}, u'2017-09-27-21-08-41': {u'cue_out': 288.212, u'independent_event': False, u'end': datetime.datetime(2017, 9, 27, 21, 13, 29), u'fade_out': 500, u'show_name': u'Offline', 'file_ready': True, u'uri': u'https://host//rest/media/480', u'cue_in': 0, 'dst': u'/var/tmp/airtime/pypo/cache/scheduler/480.mp3', u'start': datetime.datetime(2017, 9, 27, 21, 8, 41), u'replay_gain': -4.15, u'filesize': 11790695, 'file_ext': '.mp3', u'row_id': 44911, u'metadata': {u'rating': None, u'soundcloud_upload_time': None, u'report_datetime': None, u'lyrics': None, u'soundcloud_error_code': None, u'year': u'2011', u'channels': 2, u'bit_rate': 320000, u'buy_this_url': None, u'original_artist': None, u'composer': None, u'mtime': u'2017-07-21 13:20:22', u'contributor': None, u'editedby': None, u'id': 480, u'subject': None, u'radio_station_name': None, u'mood': None, u'copyright': None, u'filepath': u'imported/1/Future Signal/Drum & Bass Collection 25 No Noise Edition/unknown-Shadow-320kbps.mp3', u'soundcloud_id': None, u'description': None, u'catalog_number': None, u'orchestra': None, u'comments': None, u'label': None, u'disc_number': None, u'ftype': u'audioclip', u'filesize': 11790695, u'cueout': u'00:04:48.212175', u'encoded_by': None, u'currentlyaccessing': 0, u'md5': u'3901296077f265b4c9204dbc238859f8', u'soundcloud_error_msg': None, u'track_title': u'Shadow', u'info_url': None, u'lyricist': None, u'import_status': 0, u'conductor': None, u'format': None, u'radio_station_url': None, u'artist_name': u'Future Signal', u'encoder': None, u'audio_source_url': None, u'original_lyricist': None, u'mime': u'audio/mp3', u'cuein': u'00:00:00', u'album_title': u'Drum & Bass Collection 25 No Noise Edition', u'genre': u'Drum & Bass', u'hidden': False, u'utime': u'2017-07-21 13:20:11', u'report_organization': None, u'name': u'', u'language': None, u'report_location': None, u'url': None, u'checksum': None, u'bpm': 86, u'track_number': 42, u'isrc_number': None, u'length': u'00:04:48.212175', u'sample_rate': 44100, u'artist_url': None, u'soundcloud_link_to_file': None, u'directory': 1, u'lptime': u'2017-09-21 15:00:22', u'replay_gain': u'-4.15', u'owner_id': 1}, u'type': u'file', u'id': 480, u'fade_in': 500}, u'2017-09-27-21-00-00_0': {u'cue_out': 402.237, u'independent_event': False, u'end': datetime.datetime(2017, 9, 27, 21, 6, 42), u'fade_out': 500, u'show_name': u'Offline', 'file_ready': True, u'uri': u'https://host//rest/media/566', u'cue_in': 0, 'dst': u'/var/tmp/airtime/pypo/cache/scheduler/566.mp3', u'start': datetime.datetime(2017, 9, 27, 21, 0), u'replay_gain': -6.98, u'filesize': 16511246, 'file_ext': '.mp3', u'row_id': 44909, u'metadata': {u'rating': None, u'soundcloud_upload_time': None, u'report_datetime': None, u'lyrics': None, u'soundcloud_error_code': None, u'year': u'2011', u'channels': 2, u'bit_rate': 320000, u'buy_this_url': None, u'original_artist': None, u'composer': None, u'mtime': u'2017-07-21 13:55:18', u'contributor': None, u'editedby': None, u'id': 566, u'subject': None, u'radio_station_name': None, u'mood': None, u'copyright': u'Drum & Bass Arena | DNBA006DD', u'filepath': u'imported/1/Keaton & Hive/Drum & Bass Arena : 15 Years/unknown-The Plague-320kbps.mp3', u'soundcloud_id': None, u'description': None, u'catalog_number': None, u'orchestra': None, u'comments': None, u'label': None, u'disc_number': None, u'ftype': u'audioclip', u'filesize': 16511246, u'cueout': u'00:06:42.236675', u'encoded_by': None, u'currentlyaccessing': 0, u'md5': u'8473f1130a07aafe457a7d245a6fbe8e', u'soundcloud_error_msg': None, u'track_title': u'The Plague', u'info_url': None, u'lyricist': None, u'import_status': 0, u'conductor': None, u'format': None, u'radio_station_url': None, u'artist_name': u'Keaton & Hive', u'encoder': None, u'audio_source_url': None, u'original_lyricist': None, u'mime': u'audio/mp3', u'cuein': u'00:00:00', u'album_title': u'Drum & Bass Arena : 15 Years', u'genre': u'Drum & Bass', u'hidden': False, u'utime': u'2017-07-21 13:55:07', u'report_organization': None, u'name': u'', u'language': None, u'report_location': None, u'url': None, u'checksum': None, u'bpm': None, u'track_number': 47, u'isrc_number': None, u'length': u'00:06:42.236675', u'sample_rate': 44100, u'artist_url': None, u'soundcloud_link_to_file': None, u'directory': 1, u'lptime': u'2017-09-22 09:54:58', u'replay_gain': u'-6.98', u'owner_id': 1}, u'type': u'file', u'id': 566, u'fade_in': 500}, u'2017-09-27-21-00-00': {u'start': datetime.datetime(2017, 9, 27, 21, 0), u'independent_event': True, u'end': datetime.datetime(2017, 9, 27, 21, 0), u'event_type': u'kick_out', u'type': u'event'}, u'2017-09-27-21-13-29': {u'cue_out': 385.493, u'independent_event': False, u'end': datetime.datetime(2017, 9, 27, 21, 19, 55), u'fade_out': 500, u'show_name': u'Offline', 'file_ready': True, u'uri': u'https://host//rest/media/328', u'cue_in': 0, 'dst': u'/var/tmp/airtime/pypo/cache/scheduler/328.mp3', u'start': datetime.datetime(2017, 9, 27, 21, 13, 29), u'replay_gain': -5.51, u'filesize': 11350883, 'file_ext': '.mp3', u'row_id': 44912, u'metadata': {u'rating': None, u'soundcloud_upload_time': None, u'report_datetime': None, u'lyrics': None, u'soundcloud_error_code': None, u'year': u'1997', u'channels': 2, u'bit_rate': 226704, u'buy_this_url': None, u'original_artist': None, u'composer': None, u'mtime': u'2017-07-21 12:20:24', u'contributor': None, u'editedby': None, u'id': 328, u'subject': None, u'radio_station_name': None, u'mood': None, u'copyright': None, u'filepath': u"imported/1/The Drum & Bass Brothers/Drum 'N' Bass Frenzy/unknown-Ice Maiden-226kbps.mp3", u'soundcloud_id': None, u'description': None, u'catalog_number': None, u'orchestra': None, u'comments': None, u'label': u'Emporio', u'disc_number': None, u'ftype': u'audioclip', u'filesize': 11350883, u'cueout': u'00:06:25.493333', u'encoded_by': None, u'currentlyaccessing': 0, u'md5': u'a6327a249d3d07907ad2c972f95d374f', u'soundcloud_error_msg': None, u'track_title': u'Ice Maiden', u'info_url': None, u'lyricist': None, u'import_status': 0, u'conductor': None, u'format': None, u'radio_station_url': None, u'artist_name': u'The Drum & Bass Brothers', u'encoder': None, u'audio_source_url': None, u'original_lyricist': None, u'mime': u'audio/mp3', u'cuein': u'00:00:00', u'album_title': u"Drum 'N' Bass Frenzy", u'genre': u'Drum & Bass', u'hidden': False, u'utime': u'2017-07-21 12:20:17', u'report_organization': None, u'name': u'', u'language': u'eng', u'report_location': None, u'url': None, u'checksum': None, u'bpm': 80, u'track_number': 10, u'isrc_number': None, u'length': u'00:06:25.493333', u'sample_rate': 44100, u'artist_url': None, u'soundcloud_link_to_file': None, u'directory': 1, u'lptime': u'2017-09-22 03:09:04', u'replay_gain': u'-5.51', u'owner_id': 1}, u'type': u'file', u'id': 328, u'fade_in': 500}, u'2017-09-27-21-06-42': {u'cue_out': 119.503, u'independent_event': False, u'end': datetime.datetime(2017, 9, 27, 21, 8, 41), u'fade_out': 500, u'show_name': u'Offline', 'file_ready': True, u'uri': u'https://host//rest/media/546', u'cue_in': 0, 'dst': u'/var/tmp/airtime/pypo/cache/scheduler/546.mp3', u'start': datetime.datetime(2017, 9, 27, 21, 6, 42), u'replay_gain': -10.39, u'filesize': 4797000, 'file_ext': '.mp3', u'row_id': 44910, u'metadata': {u'rating': None, u'soundcloud_upload_time': None, u'report_datetime': None, u'lyrics': None, u'soundcloud_error_code': None, u'year': u'2016', u'channels': 2, u'bit_rate': 320158, u'buy_this_url': None, u'original_artist': None, u'composer': None, u'mtime': u'2017-07-21 13:47:24', u'contributor': None, u'editedby': None, u'id': 546, u'subject': None, u'radio_station_name': None, u'mood': None, u'copyright': None, u'filepath': u'imported/1/Noisia/Outer Edges/18-The Approach (Reprise)-320kbps.mp3', u'soundcloud_id': None, u'description': None, u'catalog_number': None, u'orchestra': None, u'comments': None, u'label': u'Vision Recordings', u'disc_number': None, u'ftype': u'audioclip', u'filesize': 4797000, u'cueout': u'00:01:59.503288', u'encoded_by': None, u'currentlyaccessing': 0, u'md5': u'88d055c4c02843c8d3ab1c4f8d85f0d7', u'soundcloud_error_msg': None, u'track_title': u'The Approach (Reprise)', u'info_url': None, u'lyricist': None, u'import_status': 0, u'conductor': None, u'format': None, u'radio_station_url': None, u'artist_name': u'Noisia', u'encoder': None, u'audio_source_url': None, u'original_lyricist': None, u'mime': u'audio/mp3', u'cuein': u'00:00:00', u'album_title': u'Outer Edges', u'genre': u'Drum & Bass / Breakbeat / Dubstep / Electro House', u'hidden': False, u'utime': u'2017-07-21 13:47:18', u'report_organization': None, u'name': u'', u'language': u'English', u'report_location': None, u'url': None, u'checksum': None, u'bpm': None, u'track_number': 18, u'isrc_number': None, u'length': u'00:01:59.503288', u'sample_rate': 44100, u'artist_url': None, u'soundcloud_link_to_file': None, u'directory': 1, u'lptime': u'2017-09-21 11:22:15', u'replay_gain': u'-10.39', u'owner_id': 1}, u'type': u'file', u'id': 546, u'fade_in': 500}, u'2017-09-27-21-25-11': {u'cue_out': 176.196, u'independent_event': False, u'end': datetime.datetime(2017, 9, 27, 21, 28, 7), u'fade_out': 500, u'show_name': u'Offline', 'file_ready': False, u'uri': u'https://host//rest/media/257', u'cue_in': 0, 'dst': u'/var/tmp/airtime/pypo/cache/scheduler/257.mp3', u'start': datetime.datetime(2017, 9, 27, 21, 25, 11), u'replay_gain': -7.01, u'filesize': 7820662, 'file_ext': '.mp3', u'row_id': 44914, u'metadata': {u'rating': None, u'soundcloud_upload_time': None, u'report_datetime': None, u'lyrics': None, u'soundcloud_error_code': None, u'year': u'2010', u'channels': 2, u'bit_rate': 320142, u'buy_this_url': None, u'original_artist': None, u'composer': None, u'mtime': u'2017-07-21 11:51:44', u'contributor': None, u'editedby': None, u'id': 257, u'subject': None, u'radio_station_name': None, u'mood': None, u'copyright': u'Global Vortex Records', u'filepath': u'imported/1/XsBition/Into the Vortex Vol. 2/unknown-Felix-320kbps.mp3', u'soundcloud_id': None, u'description': None, u'catalog_number': None, u'orchestra': None, u'comments': None, u'label': u'Global Vortex Records', u'disc_number': None, u'ftype': u'audioclip', u'filesize': 7820662, u'cueout': u'00:02:56.195941', u'encoded_by': None, u'currentlyaccessing': 0, u'md5': u'7f45d5e18ee940c0f61954cce6203c37', u'soundcloud_error_msg': None, u'track_title': u'Felix', u'info_url': None, u'lyricist': None, u'import_status': 0, u'conductor': None, u'format': None, u'radio_station_url': None, u'artist_name': u'XsBition', u'encoder': None, u'audio_source_url': None, u'original_lyricist': None, u'mime': u'audio/mp3', u'cuein': u'00:00:00', u'album_title': u'Into the Vortex Vol. 2', u'genre': u'Drum & Bass', u'hidden': False, u'utime': u'2017-07-21 11:51:35', u'report_organization': None, u'name': u'', u'language': None, u'report_location': None, u'url': None, u'checksum': None, u'bpm': 90, u'track_number': 17, u'isrc_number': None, u'length': u'00:02:56.195941', u'sample_rate': 44100, u'artist_url': None, u'soundcloud_link_to_file': None, u'directory': 1, u'lptime': u'2017-09-21 23:17:16', u'replay_gain': u'-7.01', u'owner_id': 1}, u'type': u'file', u'id': 257, u'fade_in': 500}}
2017-09-27 22:26:35,845 [pypoliqqueue] [INFO ] waiting 2004.154286s until next scheduled item
2017-09-27 22:26:37,077 [pypofile] [INFO ] copying from https://host//rest/media/257 to local cache /var/tmp/airtime/pypo/cache/scheduler/257.mp3
2017-09-27 22:26:37,077 [pypofile] [INFO ] https://host:443/rest/media/257/download

I found something in dmesg too:
[ 125.966691] traps: liquidsoap[2302] trap invalid opcode ip:7f58a96d7028 sp:7f589d80a5d8 error:0
[ 126.069204] in lame.cmxs[7f58a96d3000+b000]
[ 428.891266] traps: liquidsoap[2428] trap invalid opcode ip:7f7ffb610028 sp:7f7ff07455d8 error:0
[ 428.978083] in lame.cmxs[7f7ffb60c000+b000]
[ 706.845899] traps: liquidsoap[4213] trap invalid opcode ip:7f610fa86028 sp:7f6103bb95d8 error:0
[ 706.932733] in lame.cmxs[7f610fa82000+b000]
[ 1025.841295] traps: liquidsoap[6033] trap invalid opcode ip:7fae11e24028 sp:7fae05f575d8 error:0
[ 1025.928292] in lame.cmxs[7fae11e20000+b000]
[ 1339.832779] traps: liquidsoap[11040] trap invalid opcode ip:7f06dd499028 sp:7f06d15cc5d8 error:0
[ 1339.920847] in lame.cmxs[7f06dd495000+b000]
[ 1557.825220] traps: liquidsoap[12738] trap invalid opcode ip:7f995f921028 sp:7f9954a565d8 error:0
[ 1557.913257] in lame.cmxs[7f995f91d000+b000]
[ 1927.817106] traps: liquidsoap[14095] trap invalid opcode ip:7fc50309f028 sp:7fc4f81d45d8 error:0
[ 1927.904993] in lame.cmxs[7fc50309b000+b000]
[ 2226.822611] traps: liquidsoap[16213] trap invalid opcode ip:7f7a9556e028 sp:7f7a8a6a35d8 error:0
[ 2226.910467] in lame.cmxs[7f7a9556a000+b000]
[ 2607.795707] traps: liquidsoap[17218] trap invalid opcode ip:7ff1515a7028 sp:7ff1466dc5d8 error:0
[ 2607.883590] in lame.cmxs[7ff1515a3000+b000]

@xabispacebiker
Copy link
Contributor Author

xabispacebiker commented Sep 27, 2017

After too many trial-error and following the airtime and syslog logs could resolve the issue.

When I was doing the installation I had the "brilliant" idea to install all liquidsoap-plugin-*, and one of them (I haven't isolated it yet) was causing the problem.

Solution:
apt-get remove liquidsoap-plugin-*
apt-get install liquidsoap-plugin-all liquidsoap-plugin-alsa liquidsoap-plugin-ao liquidsoap-plugin-camlimages liquidsoap-plugin-dssi liquidsoap-plugin-faad liquidsoap-plugin-flac liquidsoap-plugin-frei0r liquidsoap-plugin-gavl liquidsoap-plugin-gd liquidsoap-plugin-graphics liquidsoap-plugin-gstreamer liquidsoap-plugin-icecast liquidsoap-plugin-jack liquidsoap-plugin-ladspa liquidsoap-plugin-lame liquidsoap-plugin-lastfm liquidsoap-plugin-lo liquidsoap-plugin-mad liquidsoap-plugin-ogg liquidsoap-plugin-opus liquidsoap-plugin-oss liquidsoap-plugin-portaudio liquidsoap-plugin-pulseaudio liquidsoap-plugin-samplerate liquidsoap-plugin-sdl liquidsoap-plugin-shine liquidsoap-plugin-soundtouch liquidsoap-plugin-speex liquidsoap-plugin-taglib liquidsoap-plugin-theora liquidsoap-plugin-voaacenc liquidsoap-plugin-vorbis liquidsoap-plugin-xmlplaylist

Not it works as expected !

I have a fully working Debian 9 Stretch server running Libretime 3.0.0-2 alpha

@xabispacebiker
Copy link
Contributor Author

I reopen this issue as the following bug it's Debian 9 stretch and related to the above.

Libretime streams silence randomly. The only suspicious log I found is form liquidsoap:

[dummy(dot)3:3] Source failed (no more tracks) stopping output...
[dummy(dot)3:3] Source failed (no more tracks) stopping output...

Two times, and then the streams go silence. I have to restart liquidsoap in order to work again.

@xabispacebiker
Copy link
Contributor Author

xabispacebiker commented Oct 2, 2017

I think the issue is related to this one savonet/liquidsoap#66. Actually, since I set to "disabled" (in code) the value for "Live Stream Input > Use Libretime authentication" it has not been happening in the last shows I created for testing.

@xabispacebiker
Copy link
Contributor Author

@hairmare just an update on the pypofile permission fix, as this issue is directly related.

Pypofile fix modifications seem to be the problem for the random silence streaming.

In the modification, I added a new config parameter protocol, which pypofile complained to be missing. The fact is that I tested with and without the parameter and it worked. It was just a few hours later that it started to stop working.

And what is more strange is that it worked for some files, for other didn't.. Anyway, I just added the parameter in /etc/airtime/airtime.conf and it started to work. It has been already 24 hours playing without any issue.

@hairmare
Copy link
Member

hairmare commented Oct 4, 2017

We should probably add the param to the template used by the installer

@xabispacebiker
Copy link
Contributor Author

Added Debian Stretch support #318

@lock
Copy link

lock bot commented Oct 20, 2019

This thread has been automatically locked since there has not been any recent activity after it was closed. Please open a new issue for related bugs.
Please chat to us on discourse or ask for help on our chat if you have any questions or need further assistance with this issue.

@lock lock bot locked as resolved and limited conversation to collaborators Oct 20, 2019
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants