jmshrv / finamp

A Jellyfin music client for mobile
Mozilla Public License 2.0
1.67k stars 117 forks source link

0.9.7b - Linux/Flathub - Shuffle #772

Open Fale opened 2 weeks ago

Fale commented 2 weeks ago

Shuffle works different on Android and the Linux/Flathub build.

I would say that the behavior on Android is "normal": if shuffle is selected, the tracks are placed in the queue in a random way.

On Linux/Flathub it works differently: if shuffle is selected, the next track gets randomly selected and placed in the queue. Then the queue gets filled by the other songs of the playlist in order.

I think on all platform the first behavior should be in place.

Chaphasilor commented 2 weeks ago

Shuffle is currently broken on desktop because it uses a different player backend and the "translation" between the original (Android+iOS) backend's behavior and the desktop backend isn't perfect yet.
I'll probably fully disable toggling shuffle and adding to queue when shuffle is active on desktop, because the current behavior is pretty much unpredictable. Same for modifying the queue in general.