Did some reformatting.

This commit is contained in:
The Wobbler 2025-03-30 17:23:05 +02:00
parent 5a693f2771
commit a7d9500e57

View file

@ -15,13 +15,13 @@ UnsupportedFormatError = tinytag.UnsupportedFormatError
class SmallTag(TinyTag):
_file_extension_mapping: dict[tuple[str, ...], type[SmallTag]]= {
(".mp1", ".mp2", ".mp3"): None,
('.oga', '.ogg', '.opus', '.spx'): None,
('.wav',): tinytag._Wave,
('.flac',): tinytag._Flac,
('.wma',): tinytag._Wma,
('.m4b', '.m4a', '.m4r', '.m4v', '.mp4',
'.aax', '.aaxc'): tinytag._MP4,
('.aiff', '.aifc', '.aif', '.afc'): tinytag._Aiff,
(".oga", ".ogg", ".opus", ".spx"): None,
(".wav",): tinytag._Wave,
(".flac",): tinytag._Flac,
(".wma",): tinytag._Wma,
(".m4b", ".m4a", ".m4r", ".m4v", ".mp4",
".aax", ".aaxc"): tinytag._MP4,
(".aiff", ".aifc", ".aif", ".afc"): tinytag._Aiff,
}
@classmethod