Alexco500 / sidplay5

Sidplay for macOS
GNU General Public License v2.0
49 stars 5 forks source link

Feature request: Shuffle button #23

Closed mournblade closed 1 year ago

mournblade commented 1 year ago

I have a long playlist that i always play randomized.

It would be great with a shuffle button, perhaps to the right of the other buttons, or perhaps to the right of author search.

Alexco500 commented 1 year ago

You mean a button which shuffles the playlist, so that you can play the list from top to bottom, without using the randomized play?

mournblade commented 1 year ago

No not quite, I want to keep the list as-is. However - if you want to start playing your list in shuffle mode, you still have to click an item in the list to start playing. If you had a shuffle button, it would randomise a row number and then start playing that item. :)

Alexco500 commented 1 year ago

Okay, you want a shuffle play button which does the following when clicked:

And if you press the stop button, it will stop (haha) and deactivate the shuffle mode. Because the shuffle mode is something which is also saved in the application preferences file, and it would be always active until you press the shuffle button (the one above the playlist in upper right corner) again.

Is that what you want?

mournblade commented 1 year ago

The way it works in streaming services (I think most?) is that you have a global shuffle setting, like in sidplay. This affects if the next song is shuffled whatever playing your context is - playlist, album etc. But it also has a play and shuffle button on the top of your context. pressing a song in an album will play or shuffle from that point in the list depending on whether you have that setting turned on. This is the way it works in Sidplay today.

What for example Apple Music also has, is play and shuffle buttons on top of the playlist/album. When you them, it plays or shuffles the playlist/album, and it turns the global setting on and off. That shuffle button is what I was suggesting.

I added a screenshot from Apple Music to illustrate, hope it makes sense.

playlist_shuffle

Alexco500 commented 1 year ago

Okay, so basically a shortcut for shuffle and play. I implemented that as a toolbar item, because the items in the upper right corner change the overall way the playlist/tune is played. BTW, I am thinking about major UI changes (something like Apple Music), so maybe later the position will change again...

mournblade commented 12 months ago

This is great! Tried it and it works like a charm. (I actually got the project into Xcode and started fiddling around but you beat me to it!)

Gonna listen to our old demo-songs all day :)

Alexco500 commented 12 months ago

Great that you like it :-)

mournblade commented 12 months ago

Sidenote: Gave you 10/10 as a coder on CSDB :)