mirror of
https://github.com/nathom/streamrip.git
synced 2025-05-23 11:37:08 -04:00
Format lowercase (c) in copyright tags
This commit is contained in:
parent
43730127fa
commit
2707312862
1 changed files with 2 additions and 2 deletions
|
@ -256,8 +256,8 @@ class TrackMetadata:
|
||||||
if hasattr(self, "_copyright"):
|
if hasattr(self, "_copyright"):
|
||||||
if self._copyright is None:
|
if self._copyright is None:
|
||||||
return None
|
return None
|
||||||
cr = self._copyright.replace("(P)", PHON_COPYRIGHT)
|
cr = re.sub(r"(?i)\(P\)", PHON_COPYRIGHT, self._copyright)
|
||||||
cr = cr.replace("(C)", COPYRIGHT)
|
cr = re.sub(r"(?i)\(C\)", COPYRIGHT, cr)
|
||||||
return cr
|
return cr
|
||||||
|
|
||||||
logger.debug("Accessed copyright tag before setting, return None")
|
logger.debug("Accessed copyright tag before setting, return None")
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue