From d8d338183c0026037fc57255b88b5ce8e5219508 Mon Sep 17 00:00:00 2001 From: Stefano Pigozzi Date: Thu, 30 Jan 2020 20:04:15 +0100 Subject: [PATCH] Fix id3 tag bug --- pyproject.toml | 2 +- royalnet/bard/ytdlfile.py | 1 + royalnet/version.py | 2 +- 3 files changed, 3 insertions(+), 2 deletions(-) diff --git a/pyproject.toml b/pyproject.toml index 27f8c51f..9d74607a 100644 --- a/pyproject.toml +++ b/pyproject.toml @@ -5,7 +5,7 @@ [tool.poetry] name = "royalnet" - version = "5.3.3" + version = "5.3.4" description = "A multipurpose bot and web framework" authors = ["Stefano Pigozzi "] license = "AGPL-3.0+" diff --git a/royalnet/bard/ytdlfile.py b/royalnet/bard/ytdlfile.py index bda35281..367f81a4 100644 --- a/royalnet/bard/ytdlfile.py +++ b/royalnet/bard/ytdlfile.py @@ -105,6 +105,7 @@ class YtdlFile: tag_file = eyed3.load(self.filename) if not tag_file: log.debug(f"No ID3 tags found: {self}") + return tag: eyed3.core.Tag = tag_file.tag if tag.title: log.debug(f"Found title: {self}") diff --git a/royalnet/version.py b/royalnet/version.py index ff6c1d6b..71c01004 100644 --- a/royalnet/version.py +++ b/royalnet/version.py @@ -1 +1 @@ -semantic = "5.3.3" +semantic = "5.3.4"