@@ -10,23 +10,23 @@ class SuperAudioFormat(enum.Enum):
1010 @staticmethod
1111 def get (audio_format : Metadata .AudioFile .Format ):
1212 if audio_format in [
13- Metadata .AudioFile .Format .OGG_VORBIS_96 ,
14- Metadata .AudioFile .Format .OGG_VORBIS_160 ,
15- Metadata .AudioFile .Format .OGG_VORBIS_320 ,
13+ Metadata .AudioFile .Format .OGG_VORBIS_96 ,
14+ Metadata .AudioFile .Format .OGG_VORBIS_160 ,
15+ Metadata .AudioFile .Format .OGG_VORBIS_320 ,
1616 ]:
1717 return SuperAudioFormat .VORBIS
1818 if audio_format in [
19- Metadata .AudioFile .Format .MP3_256 ,
20- Metadata .AudioFile .Format .MP3_320 ,
21- Metadata .AudioFile .Format .MP3_160 ,
22- Metadata .AudioFile .Format .MP3_96 ,
23- Metadata .AudioFile .Format .MP3_160_ENC ,
19+ Metadata .AudioFile .Format .MP3_256 ,
20+ Metadata .AudioFile .Format .MP3_320 ,
21+ Metadata .AudioFile .Format .MP3_160 ,
22+ Metadata .AudioFile .Format .MP3_96 ,
23+ Metadata .AudioFile .Format .MP3_160_ENC ,
2424 ]:
2525 return SuperAudioFormat .MP3
2626 if audio_format in [
27- Metadata .AudioFile .Format .AAC_24 ,
28- Metadata .AudioFile .Format .AAC_48 ,
29- Metadata .AudioFile .Format .AAC_24_NORM ,
27+ Metadata .AudioFile .Format .AAC_24 ,
28+ Metadata .AudioFile .Format .AAC_48 ,
29+ Metadata .AudioFile .Format .AAC_24_NORM ,
3030 ]:
3131 return SuperAudioFormat .AAC
3232 raise RuntimeError ("Unknown audio format: {}" .format (audio_format ))
0 commit comments