jcorporation / myMPD

myMPD is a standalone and mobile friendly web mpd client with a tiny footprint and advanced features.
https://jcorporation.github.io/myMPD/
GNU General Public License v3.0
418 stars 65 forks source link

Tag emulation from folder structure. #195

Closed parkmino closed 4 years ago

parkmino commented 4 years ago

I would be helpful to emulate tags based on folder structures. e.g. /artist - album/songs, /artist/albums/songs. You could refer to Cantata which supports this feature.

jcorporation commented 4 years ago

Cantata seems to use a cache for the mpd database. myMPD queries MPD directly, which is in my opinion the better way. Without a cache, this feature is to complex to implement.

Why you don‘t use tags, if you want such features?

parkmino commented 4 years ago

I have no idea how much this feature is complicated to implement. Cantata supports this feature and simply I like this feature.

Tagging is somewhat tedious work to do and it hard to tag wave files without converting to aiff. Without tags, DB updates fast and huge DB is acceptable even though the music storage is more than several TB, UPnP media server could be the only solution.

jcorporation commented 4 years ago

What features should work with tag emulation?

parkmino commented 4 years ago

You took this issue as enhancement and asked me the reason why. And do you ask me now what it means? I do not not understand what you are talking about.

jcorporation commented 4 years ago

My question revised: should the emulated tags allow the same functionality as real tags e.g. Browse by Tag, search by Tag or is this only a feature how songs are displayed?

parkmino commented 4 years ago

Yes, even tag editor can be used.

john- commented 4 years ago

Seems like using directory and file names in place of explicit tags will have a lot of corner conditions and require esoteric configuration (e.g. pattern matching). If wav file doesn't support tags convert them to flac and add tags to that. Yes, there is upfront work but I picture anything else to be pretty brittle.

jcorporation commented 4 years ago

Thanks for this feature request, but I don't implement it. The backend structure of myMPD queries MPD directly and uses no cache. This behaviour is a essential design decision of myMPD.