-
Notifications
You must be signed in to change notification settings - Fork 110
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
Shuffle replays songs randomly and queue resets to previous point #491
Comments
So the queue doesn't fully reset, it just goes back to any previous song? And yeah, the logs aren't of much help in this case. Better logging for playback events is in the works... |
Are you on Android or iOS? If Android, it might be related to #482 |
Hey,
Just for context. I'm using a Oneplus 7 pro running lineageOS 20. |
Any news on someone being able to reproduce this? |
Yes, this is happening to me also. |
Got a few more questions, as this is a very strange bug:
I managed to get it working on one device (in some cases), but not the other. Now I'm really confused😅 |
Just retested all those
Yes
Yes
Did not fix any instance of the bug
It's a different one |
Hello, just chiming in and reporting this is happening to me too. I shuffle from a downloaded playlist and it happens there, even while in "offline" mode. |
Still happening to me on 0.6.18 Actually, after thinking about it, I'm not so sure that this is the same issue: It looks like the "shuffle tracks" button creates a playlist of tracks in a random order. If the player would just play this shuffled playlist sequentially, that would be a good enough shuffle for most people, I suspect. I'm not familiar enough with this project (or android development more generally) to know where to even begin looking to see if this is what's actually happening, but I'm gonna have a look anyhow and see if I can figure out what's going on. |
Not familiar with git, excuse me if I get some terminology wrong. Hopefully you can still understand what I'm trying to say: I've done some testing in the master checkout. I've managed to pinpoint the bit of code that affects this issue directly.
becomes:
This completely resolves the behavior I described in my previous post. This fix means enabling shuffled playback builds a shuffled queue that plays in order sequentially. If there's a reason to prefer a mode where the queue appears ordered but playback of that queue gets shuffled, we'll have to look elsewhere. Again, I'm not familiar with git; I don't know how you guys normally do things, so please forgive me for not just making a pull request or whatever. Good luck friends. Keep up the good work. |
I'll have to take a closer look, but it seems like the shuffled queue is simply not being shown in the correct order. In either case, this bug doesn't exist (afaik) in the |
After playing around with it a bit, it doesn't seem like it is so trivial to fix. I'm not sure where exactly the wrong order is being produced. It's probably deep within the audio backend. I also tried out the fix suggested by @kylekyleton, but for me this just disables shuffle completely, aside from starting at a random song :( I don't want to mess with this right now because I'd probably just make matters worse, so I'll invite everyone to try out the beta for the redesign (which includes a rewrite of the queuing system with more features) once that is released in the coming weeks! |
@GrimJu @kylekyleton I've put some more work into queue management and the shuffle order and hope that this is now finally fixed! I'll close this issue for now since it should be resolved. |
@Chaphasilor I've been running on the redesign beta for a few days now, and unfortunately the issue has not resolved for me. |
Ah, damn it. Could you provide logs please? :) |
Unfortunately I was driving at the time so I couldn't grab the logs. I'll try next time I come across it |
After more testing, I've not noticed this happening anymore. |
@CPU-Blanc sorry for not responding, seems like I missed your message. Maybe you hadn't yet received the beta update, the Play Store can sometimes take a while to load the beta after signing up for it. There was no update with any playback changes until this week, with 0.9.4 and 0.9.5. These updates did add further improvements to playback and queueing, so if you could test again with 0.9.5 that would be great! |
@Chaphasilor Sorry for the late reply. I wondered if that might've been the case, though I did fully uninstall the app before joining the beta and re-installing. I'll blame the app store. I've been using 0.9.5 quite extensively over the last few days and haven't noticed any issues at all with shuffle playback. On the non-beta branch I would've had issues by now. I think it's fairly safe to mark it as resolved 👍 |
Yeah, signing up for the beta can take 10-20 minutes. You'll know you're in when the release notes ("What's new") change to a different text. That's awesome news! I'm really glad everything is in order (or rather shuffled? xD) now! |
Hi,
I just want to start by saying thank you so much for this amazing app. I've been using it for a few months now and it's been amazing.
I just encountered strange bugs when shuffling from the "all songs" section of the app.
After some time (on average 30 min but can occur after just 3-4 songs) the playback queue seems to reset to a previous point and replays songs in the order that they originally played. I believe this to be a differnet bug than #482
I've found no consistent way to trigger this (although skipping and especially going to the previous song seem to make it a lot worse).
After this bug occurs the first time the entire queue appers to be "cursed" and it will just keep happening more and more often.
Restarting the app does not help. You need to clear the queue and shuffle again to fix this.
I haven't found anything specific in the log but I've attached them anyway: finamp-logs.txt
I'd be very grateful if you manage to fix this. I'm very happy to provide any infos you need.
The text was updated successfully, but these errors were encountered: