From 69fd3451a39894f9a1e58f396d412d66069f944b Mon Sep 17 00:00:00 2001 From: Rafael Moraes <50295204+glomatico@users.noreply.github.com> Date: Wed, 25 Feb 2026 20:44:48 -0300 Subject: [PATCH] Make _parse_copyright a staticmethod --- votify/interface/song.py | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/votify/interface/song.py b/votify/interface/song.py index 8ee0ab6..cad05de 100644 --- a/votify/interface/song.py +++ b/votify/interface/song.py @@ -145,7 +145,8 @@ class SpotifySongInterface(SpotifyAudioInterface): return cover_url - def _parse_copyright(self, copyright_items: list[dict]) -> str | None: + @staticmethod + def _parse_copyright(copyright_items: list[dict]) -> str | None: return next( (item["text"] for item in copyright_items if item["type"] == "P"), next(