René Jaun
2017-02-08 21:47:44 UTC
Hello Savonet community!
Let me start by thanking all of you, the developers, the supporters, the
donors of liquidsoap. this is an awesome product. And thank you so much
for doing such great work!
I'm involved in a non-profit station called Radio Blind Power.
Currently, LiquidSoap already helps us getting our live shows on air and
to our listeners (we focus on providing audio descriptions for the blind
of Swiss Football League games).
And we plan on using it in the future for playlist and schedule management.
Well, at the moment, I'm working on a problem which occurs when using
the source,skip function.
My idea is simple: As soon as our live feed ends, our standard music
playlist kicks in, starting with a new track.
this basically works, except that before starting the new track, a few
seconds of the previous song (the one that was interrupted when the live
feed kicked in) can be heard.
I think it has to do with the smart_crossfade function; at least, an
error message appearing in the Log File seems to suggest that.
the standard music source we use is defined as:
musicstream = mksafe( smart_crossfade( eat_blank( at_beginning=false,
playlist("/our/music"))))
And the transition function I use is:
def BackHome(old,new) =
source.skip(new)
sequence([old,new])
end
And here is the WARNING appearing in the log file whenever my problem
occurs:
"[smart_cross_5114_before:3] Warning: #get called when not #is_ready!
This is normal if an operator using this source has been unused while
the source has gone unavailable. If unsure about this warning, you are
very welcome to report it and ask for clarifications.."
So I was wondering if there is some kind of (other) "flushing" I should
perform on our Music Playlist, to clear out those remaining few seconds
of the previously played track.
Could you point me to a solution for that?
Best Regards,
René
Let me start by thanking all of you, the developers, the supporters, the
donors of liquidsoap. this is an awesome product. And thank you so much
for doing such great work!
I'm involved in a non-profit station called Radio Blind Power.
Currently, LiquidSoap already helps us getting our live shows on air and
to our listeners (we focus on providing audio descriptions for the blind
of Swiss Football League games).
And we plan on using it in the future for playlist and schedule management.
Well, at the moment, I'm working on a problem which occurs when using
the source,skip function.
My idea is simple: As soon as our live feed ends, our standard music
playlist kicks in, starting with a new track.
this basically works, except that before starting the new track, a few
seconds of the previous song (the one that was interrupted when the live
feed kicked in) can be heard.
I think it has to do with the smart_crossfade function; at least, an
error message appearing in the Log File seems to suggest that.
the standard music source we use is defined as:
musicstream = mksafe( smart_crossfade( eat_blank( at_beginning=false,
playlist("/our/music"))))
And the transition function I use is:
def BackHome(old,new) =
source.skip(new)
sequence([old,new])
end
And here is the WARNING appearing in the log file whenever my problem
occurs:
"[smart_cross_5114_before:3] Warning: #get called when not #is_ready!
This is normal if an operator using this source has been unused while
the source has gone unavailable. If unsure about this warning, you are
very welcome to report it and ask for clarifications.."
So I was wondering if there is some kind of (other) "flushing" I should
perform on our Music Playlist, to clear out those remaining few seconds
of the previously played track.
Could you point me to a solution for that?
Best Regards,
René