mirror of
https://github.com/RYGhub/royalnet.git
synced 2024-11-27 13:34:28 +00:00
Fix id3 tag bug
This commit is contained in:
parent
60142cced0
commit
d8d338183c
3 changed files with 3 additions and 2 deletions
|
@ -5,7 +5,7 @@
|
||||||
|
|
||||||
[tool.poetry]
|
[tool.poetry]
|
||||||
name = "royalnet"
|
name = "royalnet"
|
||||||
version = "5.3.3"
|
version = "5.3.4"
|
||||||
description = "A multipurpose bot and web framework"
|
description = "A multipurpose bot and web framework"
|
||||||
authors = ["Stefano Pigozzi <ste.pigozzi@gmail.com>"]
|
authors = ["Stefano Pigozzi <ste.pigozzi@gmail.com>"]
|
||||||
license = "AGPL-3.0+"
|
license = "AGPL-3.0+"
|
||||||
|
|
|
@ -105,6 +105,7 @@ class YtdlFile:
|
||||||
tag_file = eyed3.load(self.filename)
|
tag_file = eyed3.load(self.filename)
|
||||||
if not tag_file:
|
if not tag_file:
|
||||||
log.debug(f"No ID3 tags found: {self}")
|
log.debug(f"No ID3 tags found: {self}")
|
||||||
|
return
|
||||||
tag: eyed3.core.Tag = tag_file.tag
|
tag: eyed3.core.Tag = tag_file.tag
|
||||||
if tag.title:
|
if tag.title:
|
||||||
log.debug(f"Found title: {self}")
|
log.debug(f"Found title: {self}")
|
||||||
|
|
|
@ -1 +1 @@
|
||||||
semantic = "5.3.3"
|
semantic = "5.3.4"
|
||||||
|
|
Loading…
Reference in a new issue