Print "No Genres found for song" to own channel

This commit is contained in:
Mike Schwörer
2021-12-15 15:10:28 +01:00
parent d0e95aace1
commit 5404ccaf9d
3 changed files with 4 additions and 1 deletions

View File

@@ -58,7 +58,7 @@ def get_song_info(song_id) -> Tuple[List[str], List[str], str, str, Any, Any, An
genres.append(artistInfo[GENRES][0])
if len(genres) == 0:
Printer.print(PrintChannel.SKIPS, '### No Genre found.')
Printer.print(PrintChannel.WARNINGS, '### No Genres found for song ' + info[TRACKS][0][NAME])
genres.append('')
album_name = info[TRACKS][0][ALBUM][NAME]