-
Notifications
You must be signed in to change notification settings - Fork 247
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
Question: How would I go about a) restarting a sink and b) going back to a previous source? #634
Comments
Currently the hacky way is the way to do it I fear. We are in the process of completely redesigning the Sink api. The big secret of rodio is that you do not need Sink at all. It was added once to make things easier for users however since it cant do everything a lot of users get stuck there. A "less" hacky method is to build your app without Sink, but that largely consists of making sink yourself, can be fun though. You can use To skip one wrap your source in a But there is nothing wrong with what you thought off. It should work :) Whatever route you go down your feedback on rodio's current API would be very useful, please contribute it here: #626 if you have the time. |
@dvdsk Hey, thank you so much for getting back to me so quickly!
I had a feeling this was the answer, but I was just hoping to be lazy :P Thanks for walking me through how I'd go about making my own Thanks again! And I'll be sure to contribute to that issue once I'm done! |
Hi y'all,
I was wondering how I could go back one using Sink. I know it has a
skip_one
method, but I can't figure out how I would go back one (one way I thought of is to append the previous track to the sink, but this feels hacky).The text was updated successfully, but these errors were encountered: