refactored Song object. I hooooope it works

This commit is contained in:
Lars Noack
2022-11-30 12:55:35 +01:00
parent ddf19c4716
commit 12c453e005
5 changed files with 88 additions and 124 deletions

View File

@@ -16,7 +16,7 @@ calling of the functions do search for a song and to download it.
class AudioSource:
@classmethod
def fetch_source(cls, row: dict):
logger.info(f"try getting source {row['title']} from {cls.__name__}")
logger.info(f"try getting source {row.title} from {cls.__name__}")
@classmethod
def fetch_audio(cls, song: song_objects.Song, src: song_objects.Source):