Hi,
we've got a recurring issue which is described here:
https://github.com/AzuraCast/AzuraCast/issues/1415
The expected behavior is this:
1. at 4pm a show A is scheduled to play.
2. at 5pm show A ends and a jingle is played.
3. right after step 2 a new show B is scheduled to play (approx. 1 minute after
5pm).
The actual behavior was this:
1. same.
2. same.
3. new show B won't start (see error in log), instead a fallback will be used.
I speculate that the error may have to do with the fact that show A is more
than 1 hour long. As a result, Liquidsoap cannot start show B on time also
because playing the jingle takes time too. Shouldn't Liquidsoap be resilient
against a situation like this? As you can see in the configuration below we're
using predicates such as `{1w and 17h-18h}` and I would expect the predicate to
be true at 17:02 as well.
Do you have any idea how to fix it?
Here is the context of the error from the Liquidsoap log:
```
2019/04/15 16:00:00 [playlist_szmuti_csorba:3] Prepared
"/var/azuracast/stations/lahmacun_radio/media/hidegleves-4-recept.mp3" (RID 9).
2019/04/15 16:00:00 [switch_6794:3] Switch to sequence_6757 with transition.
2019/04/15 16:00:03 [playlist_jingle:3] Prepared
"/var/azuracast/stations/lahmacun_radio/media/jingle-3.mp3" (RID 1150).
2019/04/15 16:00:10 [decoder:3] Method "MAD" accepted
"/var/azuracast/stations/lahmacun_radio/media/signo4_mete.mp3".
2019/04/15 16:00:16 [decoder:3] Method "MAD" accepted
"/var/azuracast/stations/lahmacun_radio/media/jingle-1.mp3".
2019/04/15 16:00:20 [playlist_jingle:3] Finished with
"/var/azuracast/stations/lahmacun_radio/media/jingle-3.mp3".
2019/04/15 16:00:20 [lang:3] AzuraCast Feedback Response: OK
2019/04/15 17:00:00 [playlist_kezek_a_sebekben:1] Failed to prepare track:
request not ready.
2019/04/15 17:00:00 [switch_6794:3] Switch to amplify_6728 with transition.
2019/04/15 17:00:03 [playlist_jingle_after_show:3] Prepared
"/var/azuracast/stations/lahmacun_radio/media/zs_szsz_jingle_mixdown.mp3" (RID
1228).
2019/04/15 17:00:27 [decoder:3] Method "MAD" accepted
"/var/azuracast/stations/lahmacun_radio/media/zs_szsz_jingle_mixdown.mp3".
2019/04/15 17:00:37 [playlist_jingle_after_show:3] Finished with
"/var/azuracast/stations/lahmacun_radio/media/zs_szsz_jingle_mixdown.mp3".
2019/04/15 17:00:38 [lang:3] AzuraCast Feedback Response: OK
```
The corresponding configuration is this:
```
# Fade out off air music, play jingle, start playing show
def transition_into_show(j,a,b)
add(normalize=false,
[ sequence([fade.final(a),j,b]) ])
end
# Stop show (not fade out), play jingle, fade in off air music
def transition_into_off(j,a,b)
add(normalize=false,
[ sequence([fade.final(a),j,fade.initial(b)]) ])
end
playlist_once_azvlm =
playlist.once(id="playlist_once_azvlm",reload_mode="watch","/var/azuracast/stations/boerek/playlists/playlist_azvlm.m3u")
radio = switch(track_sensitive=false, transitions=[
transition_into_show(playlist_jingle),
transition_into_show(playlist_jingle),
transition_into_show(playlist_jingle),
transition_into_show(playlist_jingle),
transition_into_show(playlist_jingle),
transition_into_show(playlist_jingle),
transition_into_show(playlist_jingle),
transition_into_show(playlist_jingle),
transition_into_show(playlist_jingle),
transition_into_show(playlist_jingle),
transition_into_show(playlist_jingle),
transition_into_show(playlist_jingle),
transition_into_show(playlist_jingle),
transition_into_show(playlist_jingle),
transition_into_show(playlist_jingle),
transition_into_show(playlist_jingle),
transition_into_show(playlist_jingle),
transition_into_show(playlist_jingle),
transition_into_show(playlist_jingle),
transition_into_show(playlist_jingle),
transition_into_show(playlist_jingle),
transition_into_off(playlist_jingle_after_show) ], [
#Monday
({1w and 5h-6h}, once(playlist_szarok_bele)),
({1w and 16h-17h}, once(playlist_szmuti_csorba)),
({1w and 17h-18h}, once(playlist_kezek_a_sebekben)),
({1w and 18h-20h}, once(playlist_erdenklang)),
#Tuesday
({2w and 11h-12h30m}, once(playlist_csinltam_neked_egy_vlogats_kazettt)),
({2w and 16h-18h}, once(playlist_mmn_radio)),
({2w and 19h-20h}, once(playlist_turmeric_acid)),
#Wednesday
({3w and 13h-14h}, once(playlist_rt_hallgats)),
({3w and 16h-17h}, once(playlist_wikihow_adventure_cruise)),
({3w and 17h-18h}, once(playlist_geigercounterculture)),
({3w and 18h-19h}, once(playlist_cellz)),
#Thursday
({4w and 15h-17h}, once(playlist_lazy_calm_raga)),
({4w and 17h-18h}, once(playlist_mt)),
({4w and 19h-21h}, once(playlist_great_galactick_ghaul)),
#Friday
({5w and 16h-17h}, once(playlist_agybaj)),
({5w and 17h-19h}, once(playlist_mkd_mkd)),
#Saturday
({6w and 10h-14h}, playlist_once_azvlm),
({6w and 16h-18h}, once(playlist_rnr666)),
#Sunday
({7w and 10h-12h}, once(playlist_bambusz)),
({7w and 12h-16h}, once(playlist_donald_kacsa_klub)),
({7w and 18h-19h}, once(playlist_sub_burek)),
({true}, radio) ])
```
--
You are receiving this because you are subscribed to this thread.
Reply to this email directly or view it on GitHub:
https://github.com/savonet/liquidsoap/issues/756
_______________________________________________
Savonet-users mailing list
Savonet-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/savonet-users