Fix bug where mp3 and —quality doesn’t work

This commit is contained in:
nathom 2021-04-05 15:41:33 -07:00
parent 3d56defddf
commit 41c4ef4f79
4 changed files with 15 additions and 6 deletions

View file

@ -330,7 +330,7 @@ class TrackMetadata:
else:
text = getattr(self, k)
if text is not None:
if text is not None and v is not None:
yield (v.__name__, v(encoding=3, text=text))
def __mp4_tags(self) -> Tuple[str, str]: