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

Preload next playlist #722

Open
haarp opened this issue Nov 29, 2021 · 1 comment
Open

Preload next playlist #722

haarp opened this issue Nov 29, 2021 · 1 comment

Comments

@haarp
Copy link

haarp commented Nov 29, 2021

Subject of the issue

Music playback is interrupted at the end of a playlist while the next playlist loads. When using public proxies as control_proxy, one can often expect these delays to become very long, sometimes a minute or more (!) - involving frequent timeouts and retries too.

It would be great if pianobar could asynchronously preload the next playlist before it's needed, e.g. when the last song in the current playlist starts playing.

Thanks! :)

Your environment

pianobar 2020.04.05 on Gentoo Linux

@PromyLOPh
Copy link
Owner

pianobar does not have any asynchronous operations and loading a new playlist ahead of time would block the interface while doing so. Changing that would require quite a bit of work, but if anyone wants to go for it, go ahead.

Perhaps pianod2 can do that already…?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

2 participants