I have some albums that look like this:
E:\import\Pink Floyd - The Dark Side of the Moon [Blu-Ray 4.0] (1973) [16-48 FLAC] (10 items)
Pink Floyd - The Dark Side of the Moon
(Similarity: 93.3%) (tracks, catalognum, label) (CD, 2016, US, Pink Floyd Records, 88875170912)
- Breathe -> Breathe (In the Air) (id, title)
- Money (6:49) -> Money (6:23) (length)
- Us and Them (7:27) -> Us and Them (7:49) (length)
Often, they are so popular that the MusicBrainz backend has little hope of picking out the correct reissue. But the folder path has more info - in this case, it has the correct medium and an original release date. I have other folders with a date of the reissue, and others with a catalog number that may not be reflected in the tags. I’ve seen Beets match an original vinyl release when the folder name included a CD catalog number for a reissue.
It does not appear that the Beets core is philosophically aligned with grabbing info from file paths. That’s why fromfilename exists. But, as documented, that plugin only operates when your tracks are missing tags.
Fromfilename also does not seem to care about folder paths, only the filename itself.
Should I spin out my own plugin, or could I add some functionality to fromfilename? It could read a config value for when it should be invoked: either