Album art pattern issue
Describe the bug Including a dot in the Album Art pattern makes it uneffective.
To Reproduce Steps to reproduce the behavior:
- Open setting & go to album art pattern
- Enter
front.*as pattern - Convert a file to m4a (should also be triggered for other formats but not tested)
- Converted file does not have the front cover, even if
front.jpgorfront.pngexist
Expected behavior The matched album art should be embedded in the converted file.
System
- OS: Linux
- fre:ac v1.1.7 (20251001) (x86-64)
Additional context
On some albums I have several front covers named front.png to front (x).png and using the patterns *front* or front*, fre:ac includes several arts in the converted files.
I am looking for a way to have a more restrictive pattern but I haven't found any way to do it.
It would be great to have few hints on how works the album art pattern.
After some code reading I found the solution, the pattern should include only the filename without the extension name. https://github.com/enzo1982/BoCA/blob/1f120b8748de136e8236233fe7ae40e69e32dbaa/runtime/common/metadata/track.cpp#L193
But I still think the documentation should be updated 😃