[Bug] Changing order in "Now Playing" not working

Alternative Android Client for Subsonic

Moderators: daneren2005, moderators

[Bug] Changing order in "Now Playing" not working

Postby applican » Mon Apr 01, 2013 11:36 am

Hi

I recently found that bug and now found the logic when and how exactly it happens:

Problem: When you change the playback-order in the "Now Playing"-view (press long on a song and move its position) the position is changed (visually) but DSub still plays the original order.
It doesn't do that though if you skip to the next song (it only happens if you listen the first song to the end and it auto-skips) or if you hit pause and play again before it skips to the next song.

Visualization:
"Now Playing"-list
Song 1 //Now playing
Song 2
Song 3
Song 4
If you now move Song 4 between Song 1 and 2, DSub will end Song 1 and then skip to Song 2 (instead to Song 4)

How to reproduce:
- Have a few songs in "Now Playing"
- Start listening
- Move any song after the one now playing.
- DO NOT SKIP TO THE NEXT SONG (let the current finish, the time-slider can be moved to the end, though)
- the moved song is ignored


Dave
applican
 
Posts: 2
Joined: Wed Mar 06, 2013 9:59 am

Re: [Bug] Changing order in "Now Playing" not working

Postby daneren2005 » Mon Apr 01, 2013 1:55 pm

Ah yes, I know exactly why that is happening before I even look. The app is setting up what is the "next" song ahead of time to get gapless playback. I just need to add a check for the case that the next song has been changed. Thank you for bringing that to my attention.
Developer of DSub for Android
daneren2005
 
Posts: 1709
Joined: Fri Jul 06, 2012 7:52 pm


Return to DSub for Android

Who is online

Users browsing this forum: No registered users and 6 guests