From 482f398e44749eec8a5c898931d79e9c7f5926e0 Mon Sep 17 00:00:00 2001 From: nathom Date: Sat, 24 Jul 2021 11:00:26 -0700 Subject: [PATCH] Fix #121 --- streamrip/metadata.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/streamrip/metadata.py b/streamrip/metadata.py index a31bf63..b9ac02c 100644 --- a/streamrip/metadata.py +++ b/streamrip/metadata.py @@ -264,9 +264,9 @@ class TrackMetadata: :param work: :type work: str """ - if version is not None: + if version is not None and version not in self.title: self.title = f"{self.title} ({version})" - if work is not None: + if work is not None and work not in self.title: logger.debug("Work found: %s", work) self.title = f"{work}: {self.title}"