jmshrv / finamp

A Jellyfin music client for mobile
Mozilla Public License 2.0
1.82k stars 122 forks source link

[Feature Request] Save loop mode: sequential/shuffle #818

Open yunyuyuan opened 1 month ago

yunyuyuan commented 1 month ago

I'm using the beta version 0.9.8.

I know there is a SHUFFLE button at the top of the palylist, but its behavior is starting play with a random song within the playlist, I want it starting play with a specific song that I clicked.

Currently, the default loop mode is set to sequential play when I clicked a song in a playlist. Users can manually switch to shuffle play, but this setting is not saved and must be set each time. This is inconvenient for users who prefer a shuffle loop mode.

I would like finamp to save the loop mode (sequential, shuffle) for each playlist. This way, users don't have to manually switch to their preferred loop mode every time they start play a list.

Alternatively, having a global setting to set the default loop mode would also be helpful.

Thank you for considering this feature request!

HeroBrine1st commented 1 month ago

Spotify has even better approach. Currently, Finamp has two buttons that do almost the same function: start playing playlist. Spotify, however, has toggle for shuffle and dedicated button to play (see screenshots below). This way there is only one "primary" button.

Images On mobile: ![image](https://github.com/user-attachments/assets/2e63ee5b-be53-4061-85bb-de9c73115693) On PC: ![image](https://github.com/user-attachments/assets/849fee56-c0ef-4efb-b9a7-0d307d37a592) ![image](https://github.com/user-attachments/assets/cc084ada-e6d0-4f31-8f4b-c9bcfe37f9d7)

UPD: This toggle is synced with player state of course, so that there's two places where you can toggle shuffle (in player and in playlist/album). And when you click on track, queue is shuffled if shuffle is enabled in playlist/album.

Chaphasilor commented 1 month ago

Yeah these are both valid suggestions. It should be fairly easy to implement too.
Just to be sure, you want regular shuffle, but with the first track being the selected one? As opposed to starting at a certain track and then only shuffling the remaining tracks.

yunyuyuan commented 1 month ago

@Chaphasilor Yes,my current approach is to click on a track in the playlist to start playing, and then switch to shuffle mode.

BloodyIron commented 1 month ago

Isn't this a duplicate of #797 ?