Closed sebastian-de closed 3 years ago
@john- No. When I understand the mentioned issue correctly, that was a request to generate tags from filenames.
What I like is to browse the music collection just like the actual filesystem. To be more specific: when I browse a directory, I'd like it to be sorted like the output of tree -L 1 .
Example
Output of tree -L 1 .
MPD lsinfo
of that same directory returns:
This matches the sorting of the myMPD file browser, so I assume it utilizes lsinfo
. I don't know if there is a reasonable way to sort this output.
Yes myMPD uses lsinfo. This command doesn’t support sorting (look at https://www.musicpd.org/doc/html/protocol.html). The best way would be an enhancement of MPD. Client side sorting is slow and error prone. I think you should open an issue for MPD.
Thanks for your explanation. It makes sense to implement lsinfo
sorting in MPD itself, then. I'll look into it there.
Ok, I close this issue now, feel free to reopen it if the MPD dev says that sorting should be done on client side.
Thank you very much for your work on myMPD, I really like it so far! There is only one thing I'm missing:
Is your feature request related to a problem? Please describe. I organize my music collection in a directory structure with many sub-directories, which can contain a lot of single files that don't belong to an album. When listening to music I usually browse these directories with a file manager and pick the songs I'd like to play. When the directories aren't sorted by filename, it takes much longer for me to find the music I'd like to hear.
Describe the solution you'd like It would be nice to have an option to sort the folder contents by filename. Ideally the folders would be listed first to mimic the behavior of popular file managers.