zyrouge / symphony

🎵 Lightweight, elegant music player for Android 9+.
https://zyrouge.github.io/symphony/
GNU Affero General Public License v3.0
1.25k stars 81 forks source link

[Feature Request] Gestures in queue #37

Open sojusnik opened 1 year ago

sojusnik commented 1 year ago

Quite often you want to change the order of the songs in the queue, which is not possible at the moment. One way to elegantly solve this would be by having a way to tap and drag a song to the desired position. But the dragging should only be activated if you tap on the left side of a song, like f.i. shown on this screenshot of the awesome AntennaPod app: grafik

If you switch to the queue section there, you'll see that this kind of navigation is very intuitive and also allows you to scroll through a list of songs without accidentally rearranging them.

You could also add some gestures, like if you swipe a song to the left, then it will be removed from the queue, and if you swipe to the right, then it will be marked as favourite. See AntennaPod for as an example.

If the same mechanics could be applied to playlists, this would be even more awesome!

zyrouge commented 1 year ago

Compose doesn't yet completely support this. Got to wait till they implement this.

Wjxfi commented 1 year ago

https://github.com/RetroMusicPlayer/RetroMusicPlayer did it. it's also written in kotlin

zyrouge commented 1 year ago

https://github.com/RetroMusicPlayer/RetroMusicPlayer did it. it's also written in kotlin

It doesn't use Compose, it uses traditional XML.

anddam commented 1 year ago

Compose doesn't yet completely support this. Got to wait till they implement this.

I am not into Android development so I had to search what Compose actually is, isn't this just the dragging feature?

zyrouge commented 1 year ago

Compose doesn't yet completely support this. Got to wait till they implement this.

I am not into Android development so I had to search what Compose actually is, isn't this just the dragging feature?

Dragging is supported, but it's not implementable with page transitions. Either I'll have to refactor the code or wait for this to be implemented.

zyrouge commented 1 year ago

Also, I don't think this is a very crucial change.

anddam commented 1 year ago

Also, I don't think this is a very crucial change.

Is there a workaround to alter the order of tracks in an existing playlist?

zyrouge commented 1 year ago

Also, I don't think this is a very crucial change.

Is there a workaround to alter the order of tracks in an existing playlist?

Probably there is no real good alternative for it.

anddam commented 1 year ago

Probably there is no real good alternative for it.

I cannot follow the kotlin code to figure where Symphony.Database is persisted, is there a way to access the playlist on the internal memory or to export and then reimport them?

The rationale is to edit them in a text editor.

zyrouge commented 1 year ago

Probably there is no real good alternative for it.

I cannot follow the kotlin code to figure where Symphony.Database is persisted, is there a way to access the playlist on the internal memory or to export and then reimport them?

The rationale is to edit them in a text editor.

Check Symphony.kt and PlaylistRepository.kt.

opusforlife2 commented 10 months ago

@zyrouge The issue description talks about gesture support in queues. However you've changed the title to "Gestures". Does that mean you're tracking all kinds of gestures here?

I'm asking because I wanted to open an issue for gesture support in the now playing screen.

zyrouge commented 10 months ago

@zyrouge The issue description talks about gesture support in queues. However you've changed the title to "Gestures". Does that mean you're tracking all kinds of gestures here?

I'm asking because I wanted to open an issue for gesture support in the now playing screen.

Oh, I forgot about this issue. But sure, you can go ahead and create a dedicated for it now that I have edited the title to be specific.

Tom4tot commented 10 months ago

Also, I don't think this is a very crucial change.

I think it's actually extremely convenient and way easier to drag the current song playing around instead of deleting multiple songs. In case you ever reconsider adding this feature, I think it will be appreciated by many users.

zyrouge commented 10 months ago

Yes, I do understand how bad it is. If only Compose supported these, it would have been already implemented.

TheLastGimbus commented 8 months ago

Hi! Recently looked through all foss music players on Android, and symphony looks soooo goood 😍😍

But rearranging queue... It's a must :/// but i know how painful androi dev is... anyway, waiting for this patiently 🤞🤞