04-17-2019, 09:00 PM
(04-17-2019, 08:07 PM)JST1963 Wrote:(04-17-2019, 07:42 PM)Tim Curtis Wrote:(04-17-2019, 06:44 PM)JST1963 Wrote: Tim, I did some more tests and found that when I follow the exact same procedure as before, but now I turn off "Consume" mode when switching on the random function, the playbar displays the correct album, and so is the cover art on the playback page.
I know you already changed some code, but maybe you can look at it again, with the "consume" option in mind :-)
Johan
Could be a clue but I don't quite follow what you are doing. Can you list the exact steps?
OK, here's what I do:
- Auto-Shuffle is turned on.
- The Random function is active, which (usually) means there are 2 songs in the playlist.
- When turning on the Random function, by default Consume mode is also turned on.
- The first song in the list is playing (let's call it Track1).
- Now I go to Cover Art mode: all album covers are visible.
- I select an album by clicking on it (not on the three dots).
=> The 1st song of that album starts playing instantly (Track2)
But:
- The playbar still shows info from Track1 (cover art + timer).
- The playback page also still shows the cover art from Track1
=> NOT OK
Now I do almost the same:
- Auto-Shuffle is turned on.
- The Random function is active, which (usually) means there are 2 songs in the playlist.
- When turning on the Random function, by default Consume mode is also turned on, but this time I turn off Consume mode
- The first song in the list is playing (let's call it Track1).
- Now I go to Cover Art mode: all album covers are visible.
- I select an album by clicking on it (not on the three dots).
=> The 1st song of that album starts playing instantly (Track2)
- The playbar now shows the correct info, that of Track2
- The playbackpage also shows the correct info
=> ALL OK
Hope this helps...
JST
If you get a moment, try this patched code. It uses a slightly different sequence of steps to automatically turn off audio-shuffle and consume mode prior to instant play.
Code:
# Install patched moode.php
cd ~
wget http://moodeaudio.org/test/moode.zip
unzip -q ./moode.zip
sudo mv ./moode.php /var/www/command
sudo chown root:root /var/www/command/moode.php
sudo rm ./moode*
sudo reboot
-Tim