diff --git a/supysonic/db.py b/supysonic/db.py index a13c90f..bc65e84 100644 --- a/supysonic/db.py +++ b/supysonic/db.py @@ -311,6 +311,7 @@ class Track(PathMixin, db.Entity): def extract_cover_art(self): return Track._extract_cover_art(self.path) + @staticmethod def _extract_cover_art(path): if os.path.exists(path): metadata = mutagen.File(path)