diff --git a/README.md b/README.md index 71b43dc..aeb7b45 100644 --- a/README.md +++ b/README.md @@ -30,7 +30,8 @@ Command | Description | Example ## Config.json - It's not recommended to use both local watch/download folders and ftp watch/download folders at the same time as it will result in seeding from 2 locations. -- If generate_tracklist is set to false the script will try and find BugsPy logs within the selected log folder, this will use the comments tag to find the log. For example if 204815 is within your comments tag, it will search your log folder for 204815.log and use the contents of this log for the album description. +- Please make sure your password does not contain any special characters. +- For the directory paths in the config please use the forward slash "/" **credentials:** diff --git a/autoupload.py b/autoupload.py index df38bbd..2f9b2c0 100644 --- a/autoupload.py +++ b/autoupload.py @@ -459,14 +459,14 @@ def gatherdata(directory): ## Acquire contents of our log file to be used for album description # Comments store the album id which matches our log names, so we can use the comment tag to find our album descriptions. - log_directory = cfg['local_prefs']['log_directory'] - # Album description taken from log file. - if cfg['local_prefs']['generate_tracklist']: - log_filename = f"{unique_album_artists} - {tags['ALBUM'][0]}" - album_description = generatelog(tracklist_entries, log_filename, log_directory) - else: - log_filename = tags['COMMENT'][0] - album_description = readlog(log_filename, log_directory) + # log_directory = cfg['local_prefs']['log_directory'] + # # Album description taken from log file. + # if cfg['local_prefs']['generate_tracklist']: + # log_filename = f"{unique_album_artists} - {tags['ALBUM'][0]}" + # album_description = generatelog(tracklist_entries, log_filename, log_directory) + # else: + # log_filename = tags['COMMENT'][0] + # album_description = readlog(log_filename, log_directory) ## If release description is enabled we apply comments to the bugs album url # Note that this is dependant on the album being sourced from bugs so should be changed per user. diff --git a/json_data/config.json.example b/json_data/config.json.example index 9ee932f..fbff375 100644 --- a/json_data/config.json.example +++ b/json_data/config.json.example @@ -5,11 +5,6 @@ "passkey": "passkey" }, "local_prefs": { - "log_directory": "D:/Bugs/BugsPy-master/logs", - "generate_tracklist": true, - "save_tracklist": false, - "enable_release_description": false, - "cover_name": "cover.jpg", "add_to_watch_folder": false, "add_to_downloads_folder": false, "local_watch_folder": "C:/watch",