From cbbe50878c6588a71e578c57808ac03cd8876bb9 Mon Sep 17 00:00:00 2001 From: eneller Date: Wed, 14 Aug 2024 01:02:41 +0200 Subject: [PATCH] minor stuff --- noten.py | 2 +- zotify.json | 6 +++--- 2 files changed, 4 insertions(+), 4 deletions(-) diff --git a/noten.py b/noten.py index 65b11d4..d1aeb83 100644 --- a/noten.py +++ b/noten.py @@ -13,7 +13,7 @@ data.sort_values(by='note', inplace=True) acc_note = 0.0 acc_lp = 0 # the use of iterrows and all iteration over dataframes is discouraged for performance reasons -for index, row in data.iterrows(): +for _ , row in data.iterrows(): if acc_lp + row['lp'] < target_lp: acc_lp = acc_lp + row['lp'] acc_note = acc_note + row['lp'] * row['note'] diff --git a/zotify.json b/zotify.json index 04fd3c9..68b7ef7 100644 --- a/zotify.json +++ b/zotify.json @@ -1,8 +1,8 @@ { "SAVE_CREDENTIALS": "True", "CREDENTIALS_LOCATION": "credentials.json", - "OUTPUT": "playlists/{playlist}/{artist} - {song_name}.{ext}", - "SONG_ARCHIVE": "archive.txt", + "OUTPUT": "downloaded/{artist}/{album}/{song_name} - {artist}.{ext}", + "SONG_ARCHIVE": "successful_archive.txt", "ROOT_PATH": ".", "ROOT_PODCAST_PATH": "", "SPLIT_ALBUM_DISCS": "False", @@ -23,7 +23,7 @@ "LANGUAGE": "en", "PRINT_SPLASH": "False", "PRINT_SKIPS": "True", - "PRINT_DOWNLOAD_PROGRESS": "True", + "PRINT_DOWNLOAD_PROGRESS": "False", "PRINT_ERRORS": "True", "PRINT_DOWNLOADS": "False", "PRINT_API_ERRORS": "True",