CappielloAntonio / tempo

An open source and lightweight music client for Subsonic, designed and built natively for Android.
GNU General Public License v3.0
872 stars 39 forks source link

[Feature Request] - Clear playlist button #99

Closed Cambi0nn closed 8 months ago

Cambi0nn commented 8 months ago

Summary

A button to empty the currently playing playlist at once.

Description

^

Use Case

Sometimes I want to clear the whole playlist to add new aongs one by one. Currently I can only seem to replace the playlist, but not just wipe it. Wiping makes it easy as I could add single songs from large albums one by one in an order of prefference.

Additional context

N/A

CappielloAntonio commented 8 months ago

Just to be clear, are you talking about playlists or the play queue? Because in the first case it is already possible to create an empty playlist to which you can add one item at a time.

Cambi0nn commented 8 months ago

The queue. As in, the list of currently playing items.

CappielloAntonio commented 8 months ago

May I ask you to try this new feature? I'm not 100% sure yet about including it, it depends a lot on how these tests go.

Screenshot_20231011-214233_Tempo

app-tempo-debug.zip

Cambi0nn commented 8 months ago

May I ask you to try this new feature? I'm not 100% sure yet about including it, it depends a lot on how these tests go.

Gladly! The position of the button seems well enough for me, it's clear and easy.

I did notice that it keeps the currently playing track. This one also seems to be undeletable manually, so I worry it might be more complex then the rest of the queue. It's definitly already much easier to use like this when wanting to make a new queue of specific songs from here and there tho, even when the current song sticks which feels a bit buggy. So to me it's still an improvement.

I will play around with it some more, as I use the app daily :) . If it takes to long, let me know if you want feedback.

CappielloAntonio commented 8 months ago

Yes, the current song cannot be deleted, as it would also be deleted from the playback player which would then be automatically closed. This solution leaves room for maneuver and allows me to fulfill your request.

Cambi0nn commented 8 months ago

I found a little bug. Songs above the currently playing one don't get removed, only those below.

CappielloAntonio commented 8 months ago

Yes, it's not a bug, but it's intentional. I prefer to keep the tracks I've listened to and clean up the next ones.