Closed lazypingu closed 2 weeks ago
That's the way it should be. For regular files (or symlinks pointing to regular files), MPD expects the file names to have one of the supported suffixes, or else it won't scan them.
Of course, the idea of mixing content-independent metadata (i.e. the file's human-readable name) and content-dependent metadata (i.e. a technical description of the file type) in one field (the filename) is a bad design - no thanks to the CP/M developers who invented this AFAIK - but since everybody's doing it this way, MPD follows.
Bug report
Describe the bug
Symlinks which points to single files will be ignored on db updates if the links doesn't have a suffix. If a suffix is present on the link it will be added to the db regardless of the suffix.
Expected Behavior
Not sure whether this is a bug at all or expected. I only encontered this during tests. I'm not generally affected, but It was at least strange to me so I just wanted to report it.
This is probably a rare and unusual case, so it might not be relevant.
Actual Behavior
Assuming the following structure of the music directory:
Updating the db results in adding the music file and all symlinks except the one without suffix (see logs below).
Version
Configuration
Log