Skip to content

Loading next track specific amount of time before a track ends with request.dynamic #1903

Answered by toots
pteich asked this question in Q&A
Discussion options

You must be logged in to vote

Hi!

Thanks for reporting. We have simplified the fetching logic with 2.0.0, which should make it easier for the majority of users. However, more advanced cases like this one need a little lifting now.

First, I would like to mention that queueing at the last minute can be tricky. Liquidsoap needs time to process and prepare a request and, if this is not done on time, this can lead to a moment when no requests are available, leading to the either the source failing or a transition to another source.

That being said, the request operators now have a fetch method that can be called whenever the user wants to queue a new request. If you combine that with a prefetch=0 argument, you should be ab…

Replies: 3 comments 10 replies

Comment options

You must be logged in to vote
4 replies
@FlorianReiterer
Comment options

@FlorianReiterer
Comment options

@pteich
Comment options

@FlorianReiterer
Comment options

Comment options

You must be logged in to vote
5 replies
@pteich
Comment options

@rrolla
Comment options

@rrolla
Comment options

@danbo
Comment options

@UnkwUsr
Comment options

Answer selected by smimram
Comment options

You must be logged in to vote
1 reply
@Intelli
Comment options

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
8 participants