I am hoping to capture the logging right when the skip happens, but it is an
intermittent bug so it may be like seeking a needle in a haystack…
I was hoping maybe some buffer settings could be made bigger or something like
that.
From: Romain Beauxis [mailto:[email protected]]
Sent: Tuesday, May 24, 2016 7:54 AM
To: savonet-users <[email protected]>
Subject: Re: [Savonet-users] Jingles are getting partially skipped sometimes
Hi Mark,
So far I cannot tell why. Your script looks very fine to me. Do you have more
information pertaining to this issue, like perhaps logs extracts around the
time when the jingles are cut?
Thanks,
Romain
2016-05-21 16:24 GMT-05:00 Mark Jeghers
<[email protected]<mailto:[email protected]>>:
Every once in a while, when the jingle comes up, it starts in the middle, not
at the beginning. Almost like something fell behind time and the first buffer
of the jingle content was skipped over. Anything I can do? Maybe some
too-small buffers need to be bigger?
Why is it only happening to jingles? I’ll have a song skip part of it’s
content rarely, and only when I paused the player for too long, which I doubt
LiquidSoap/Icecast can do anything about. But the jingles often have the first
portion skipped over, and that NEVER happens the same way to regular playlist
songs.
Here is my config…
playlistJingles = audio_to_stereo(playlist("playlists/jingles-playlist.txt"))
def crimson_request_function() =
#result = list.hd(get_process_lines("./next_song.sh
playlists/crimson-playlist.txt"))
result = list.hd(get_process_lines("curl
'http://localhost:3000/api/playlists/crimson/nextsong?format=text<https://urldefense.proofpoint.com/v2/url?u=http-3A__localhost-3A3000_api_playlists_crimson_nextsong-3Fformat-3Dtext&d=CwMFaQ&c=IL_XqQWOjubgfqINi2jTzg&r=cJRX3urL0NVlfoPud-miqAqyi1ux8JbJPyzP4L2IOLI&m=RtWLZL6CiUvXgynp7RM7P0YDXWG6N6uO85pLLN84skM&s=cJUlLHcMjhYrNkDfIpi9K4KFbvNWTniWiOJc4lcNXqQ&e=>'"))
log("Next song "^result)
request.create(result)
end
def retro_request_function() =
#result = list.hd(get_process_lines("./next_song.sh
playlists/retro-playlist.txt"))
result = list.hd(get_process_lines("curl
'http://localhost:3000/api/playlists/retro/nextsong?format=text<https://urldefense.proofpoint.com/v2/url?u=http-3A__localhost-3A3000_api_playlists_retro_nextsong-3Fformat-3Dtext&d=CwMFaQ&c=IL_XqQWOjubgfqINi2jTzg&r=cJRX3urL0NVlfoPud-miqAqyi1ux8JbJPyzP4L2IOLI&m=RtWLZL6CiUvXgynp7RM7P0YDXWG6N6uO85pLLN84skM&s=iV4cmy_S51POPxKJXVptBuqht5wp7w3Sb5BOepq6SpI&e=>'"))
log("Next song "^result)
request.create(result)
end
# Create the sources
plc = request.dynamic(crimson_request_function)
plc = rotate(weights=[1,4], [playlistJingles, plc])
plr = request.dynamic(retro_request_function)
plr = rotate(weights=[1,4], [playlistJingles, plr])
output.icecast(
%mp3(bitrate=96, id3v2=true),
host="localhost", port=8000, password="password",
mount="/crimson", genre="Christian Blues",
description="Crimson Blues and more",
url="http://www.t4p.com:8000/crimson<https://urldefense.proofpoint.com/v2/url?u=http-3A__www.t4p.com-3A8000_crimson&d=CwMFaQ&c=IL_XqQWOjubgfqINi2jTzg&r=cJRX3urL0NVlfoPud-miqAqyi1ux8JbJPyzP4L2IOLI&m=RtWLZL6CiUvXgynp7RM7P0YDXWG6N6uO85pLLN84skM&s=eLGJeYHjKg_1KAQzCXkdgUB66ZHh8h5tkVpx-9nHfns&e=>",
mksafe(plc))
output.icecast(
%mp3(bitrate=48, id3v2=true),
host="localhost", port=8000, password="password",
mount="/retro", genre="Old Pre-War Blues",
description="Retro Pre-war blues all the time",
url="http://www.t4p.com:8000/retro<https://urldefense.proofpoint.com/v2/url?u=http-3A__www.t4p.com-3A8000_retro&d=CwMFaQ&c=IL_XqQWOjubgfqINi2jTzg&r=cJRX3urL0NVlfoPud-miqAqyi1ux8JbJPyzP4L2IOLI&m=RtWLZL6CiUvXgynp7RM7P0YDXWG6N6uO85pLLN84skM&s=rAQh_vhvEN1Q8ctuEiV4TWoTlA6LxrjuekWGMqwFnb8&e=>",
mksafe(plr))
------------------------------------------------------------------------------
Mobile security can be enabling, not merely restricting. Employees who
bring their own devices (BYOD) to work are irked by the imposition of MDM
restrictions. Mobile Device Manager Plus allows you to control only the
apps on BYO-devices by containerizing them, leaving personal data untouched!
https://ad.doubleclick.net/ddm/clk/304595813;131938128;j<https://urldefense.proofpoint.com/v2/url?u=https-3A__ad.doubleclick.net_ddm_clk_304595813-3B131938128-3Bj&d=CwMFaQ&c=IL_XqQWOjubgfqINi2jTzg&r=cJRX3urL0NVlfoPud-miqAqyi1ux8JbJPyzP4L2IOLI&m=RtWLZL6CiUvXgynp7RM7P0YDXWG6N6uO85pLLN84skM&s=8doezRqwkR5UfVCOqkxIu6wIuTeirbGt-YRTj7GzMZo&e=>
_______________________________________________
Savonet-users mailing list
[email protected]<mailto:[email protected]>
https://lists.sourceforge.net/lists/listinfo/savonet-users<https://urldefense.proofpoint.com/v2/url?u=https-3A__lists.sourceforge.net_lists_listinfo_savonet-2Dusers&d=CwMFaQ&c=IL_XqQWOjubgfqINi2jTzg&r=cJRX3urL0NVlfoPud-miqAqyi1ux8JbJPyzP4L2IOLI&m=RtWLZL6CiUvXgynp7RM7P0YDXWG6N6uO85pLLN84skM&s=-WhLpk8h-SufSarSsz2PerMKo0THzmxKqtPw4B8AgXk&e=>
------------------------------------------------------------------------------
Mobile security can be enabling, not merely restricting. Employees who
bring their own devices (BYOD) to work are irked by the imposition of MDM
restrictions. Mobile Device Manager Plus allows you to control only the
apps on BYO-devices by containerizing them, leaving personal data untouched!
https://ad.doubleclick.net/ddm/clk/304595813;131938128;j
_______________________________________________
Savonet-users mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/savonet-users