mirror of
https://gitlab.com/LazyLibrarian/LazyLibrarian.git
synced 2026-02-06 10:47:15 +00:00
Set default frame rate if none in header
This commit is contained in:
parent
11ed356f86
commit
c773b0b154
@ -520,6 +520,7 @@ class ID3(TinyTag):
|
||||
except (IndexError, TypeError):
|
||||
# raise TinyTagException('mp3 parsing failed')
|
||||
self.samplerate = 144000 # invalid/reserved
|
||||
frame_bitrate = 128 # usable value
|
||||
# There might be a xing header in the first frame that contains
|
||||
# all the info we need, otherwise parse multiple frames to find the
|
||||
# accurate average bitrate
|
||||
|
||||
Loading…
Reference in New Issue
Block a user