mirror of
https://github.com/nathom/streamrip.git
synced 2025-05-24 20:14:42 -04:00
Fix #121
This commit is contained in:
parent
5ab0fdbc4a
commit
482f398e44
1 changed files with 2 additions and 2 deletions
|
@ -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}"
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue