25huizengek1 / ViTune

An Android application for seamless music streaming
https://vitune.app
GNU General Public License v3.0
475 stars 28 forks source link

Suggestions to prevent accidental queue Clearing #177

Closed genericbetatester closed 2 months ago

genericbetatester commented 7 months ago

Accidental queue Clearing has always been an issue in most music players and I think we should take steps to stop that. I have some ideas and other suggestions are welcome.

  1. Undo button: seems to be the safest option, provide a snacker bar to undo the action, maybe 5 seconds countdown.

  2. Ask for confirmation before clear queue: not that clean imo but it's an option. I think it's useful when you swipe on the mini player. Because accidental swipes occur.

  3. Lock/Unlock queue: when queue is locked, only song enqueue or dequeue is allowed. Tap on song plays it immediately but adds it to the existing queue instead of clearing. This one is my favorite, single tap allows easy enqueue of songs. But I fear some users might find it unintuitive.

  4. Queue history: saves recently deleted queue to history for some hours/minutes.

  5. Gestures: i.e when queue is active single tap plays songs but adds it to existing queue double tap on song will create new queue. (Not intuitive because new users might find it difficult to adapt)

I hope I've raised strong points to allow for the implementation of one of this suggestions. You know it's annoying curating a queue only to have it cleared by accidentally tapping a song especially when the songs are not in your library.

Edit: I thinks option 1 and 2 works best for mini player and I think it should be implemented alongside one other suggestions for accidental clearing resulting from tapping on a song in library

25huizengek1 commented 7 months ago

Great suggestion, thank you! I guess the most intuitive is the possibility for users to enable a confirmation dialog before closing the player, alongside a 'restore latest queue' somewhere in the settings. I'll look into this.

genericbetatester commented 7 months ago

Great suggestion, thank you! I guess the most intuitive is the possibility for users to enable a confirmation dialog before closing the player, alongside a 'restore latest queue' somewhere in the settings. I'll look into this.

Great!

dtomvan commented 7 months ago

Or (maybe fantasizing here a bit) we don't need queues to be closed at all? If you want a new queue, you can tap a song?

genericbetatester commented 7 months ago

Or (maybe fantasizing here a bit) we don't need queues to be closed at all? If you want a new queue, you can tap a song?

I don't think that's a good idea because the real reason why I made this suggestion is because of queue closing as a result of accidental tapping on songs.

Also, there are times where I just want a couple of songs on the queue especially when I'm streaming new songs, I add them manually, tapping a song will add random songs that I don't want and it defeats the entire purpose of having a locked queue.

tdymel commented 7 months ago

I also found this one very weird in most apps. I think an option (that could be disabled in the settings) is to just prepend a song to the queue if a song is "forcefully" played. After that, its just business as usual.

dtomvan commented 7 months ago

A sort-of solution to this I find to be Musicolet. It is way too complicated for an app like Vitune imo, but here goes: it works with multiple queues. Each time you tap a song, you get a new queue, but you can always switch to a previous one.

25huizengek1 commented 2 months ago

It's always possible to recreate your queue if you accidentally closed it. Combined with the history playlist I think this can be closed.