Did some reformatting.
This commit is contained in:
parent
5a693f2771
commit
a7d9500e57
1 changed files with 7 additions and 7 deletions
|
@ -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
|
||||
|
|
Loading…
Add table
Reference in a new issue