-
Notifications
You must be signed in to change notification settings - Fork 7
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
support gapless playback / crossfade #34
Comments
That should be pretty straight-forward to implement. We only need to queue the following track a few seconds before the current one ends and mpv handles the rest for us. |
@spezifisch I had a look at this, spent a couple of hours on it, and have given up for the moment. Setting the I shelved my changes; either this is easy but I'm unable to find code examples, or it's not easy; I suspect it might require changes to Unless you have an idea how this could be done, I'd like to suggest bumping this out of milestone 1.0.0 -- I have a feeling this may be more work than expected. |
@xxxserxxx Actually, I'm pretty sure I had a state (before forking) that had gapless playback. AFAIR there are two ways to implement a queue with
Disclaimer: It's been a while since I looked at that libmpv wrapper code. Edit:
Also agreed. |
Ah. Yes, that would make sense. The complexity I encountered was all around logic required to fade in and out tracks, and start playing next songs before previous songs ended. If libmpv were handling all this, it'd need to be managing the queue; of course. My puny attempt to implement gapless by setting the
That's... elegant. In either case, if you've done this before, I'll leave this one to you. I'm mainly trying to work through the milestone 1.0.0 items, rather than piling in new features that aren't flagged. |
this is a feature missing from surprisingly a lot of subsonic clients and i'd love to see it implemented here
The text was updated successfully, but these errors were encountered: