CappielloAntonio / tempo

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

[Feature Request] - full controlls in folders #86

Closed Cambi0nn closed 11 months ago

Cambi0nn commented 1 year ago

Summary

Add all controlls to add to que etc. to the music folder view.

Description

Add the following menu: c021e9c8-3d9f-4ba6-83bc-d791c945d046 Into the Music Folders tab: e8ead086-c75c-441f-a6e4-bae4fa2a752e_1

So that when you long-press an item in there, the menu comes up (currently it highlights the file but nothing happens). Most perfect would be if this works on audio files and folders alike (where audio file adds the file, and folder adds al files in the folder), but if it just works on audio files that'll be a great start!

Use Case

One thing I care about in a subsonic app is the ability to browse by the folder structure of my server, as this is the way I organised things. Tempo is one of the few subsonic clients to support this. However, trough folder structure you can only replace the current playlist with all audio files of a folder. This makes it's usage rather limited.

Additional context

N/A

CappielloAntonio commented 1 year ago

Hi @Cambi0nn the idea can only be implemented in part. I can make the bottomSheet visible only if the selected item is of track type, and therefore I could pop out the songs menu. It is not possible on folders as at the time of the long click I can only know whether the item is of the folder type or not, but not its contents.

Cambi0nn commented 11 months ago

I see. If it could be done on audio files alone that's already a huge help!

CappielloAntonio commented 11 months ago

Added menu for tracks in directories. Test apk:

app-tempo-debug.zip