OxygenCobalt / Auxio

A simple, rational music player for android
GNU General Public License v3.0
2.02k stars 133 forks source link

Disable repeat when playing an entire album/artist #847

Open Martysh12 opened 1 month ago

Martysh12 commented 1 month ago

Description

Disable repeat when pressing the "play" button on the album/artist screen.

Problem solved

Whenever I press the "play" button, I intend to play the entirety of the album/artist, not just the first track over and over again (for that I'd simply select the first track). Currently, pressing "play" doesn't disable repeat:

https://github.com/user-attachments/assets/447d6c13-90be-4189-954b-fa514678cfcd

This issue creates some funny situations where I press the "play" button, put my phone away, cover my hands in cooking oil, and realise that I'm stuck on the first track of the album without being able to do anything.

Other implementations

Gramophone seems to disable repeat when pressing the play icon on an artist/album.

Benefit

It just makes more sense to have the "play" button play the entire album, instead of keeping the repeat state.

Duplicates

OxygenCobalt commented 1 month ago

This sounds like a good companion setting in the same vein as 'Remember Shuffle'. Will spec it out.

OxygenCobalt commented 3 weeks ago

So, I can spec this in three ways @Martysh12:

Martysh12 commented 1 week ago

@OxygenCobalt Could you elaborate on the 1st and the 3rd options please? What's a distinct source?

OxygenCobalt commented 1 week ago

A distinct source is like playing from an Album vs. an Artist. So if I went with Option 1, the repeat mode would only clear when switching playback to an Artist from an Album, rather than when playing a new song within the album @Martysh12.

It's hard to explain, hence why I am hesitant. I would rather do Option 2 since it's much easier to explain to users.

Martysh12 commented 1 week ago

Option 2 sounds like it would clear Repeat One whenever I switch to a new track, so I'm not quite sure about it. Option 1 makes more sense to me. To elaborate, I usually Repeat One a track, then switch to a new one when I get bored. Option 2 sounds like it would clear the repeat mode, so it'll be a bit annoying to enable Repeat One every time I switch to a new track.

OxygenCobalt commented 1 week ago

Yeah, that's what I want, but I can't figure out how to explain it clearly @Martysh12.

Martysh12 commented 1 week ago

Hmm, maybe have a label next to the option with something like "Disable repeat when switching to a different album/artist/genre"?

@OxygenCobalt

Martysh12 commented 1 week ago

Actually, I really like the idea of having a dropdown and being able to choose when repeat clears. So the third option, maybe?

OxygenCobalt commented 1 week ago

That would make explanation even harder UI-wise @Martysh12

Martysh12 commented 6 days ago

image

Here, @OxygenCobalt, I made a mockup of the "clear repeat" option in settings. Tbh, I think it makes a lot of sense UX-wise.

OxygenCobalt commented 6 days ago

Okay, this makes sense @Martysh12. For consistency, I might go and invert Remember shuffle (and remember pause) in the same way.