-
Improvement
-
Resolution: Fixed
-
Normal
-
None
-
None
Picard currently always tries to guess the file format based on file content. This is very IO expensive and in many cases not needed.
Change the logic to:
- Try guessing the format by file extension first
- If no extension or no matching file extension is available, guess by file content
- If format was guessed by extension and loading the file with mutagen fails with an exception, retry with guessing by file content. Retry loading if the newly guessed format is different from the format guessed by extension.
See discussion at PICARD-975
- has related issue
-
PICARD-1826 "no appropriate stream found" when saving .ogg (OPUS) file
- Closed
- is related to
-
PICARD-2897 Load supported file formats with unknown / uncommon extension
- Closed