Explorar el Código

readme update

master
sharky555 hace 3 años
padre
commit
ceb1000039
Se han modificado 3 ficheros con 10 adiciones y 14 borrados
  1. +2
    -1
      README.md
  2. +8
    -8
      autoupload.py
  3. +0
    -5
      json_data/config.json.example

+ 2
- 1
README.md Ver fichero

@@ -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:**


+ 8
- 8
autoupload.py Ver fichero

@@ -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.


+ 0
- 5
json_data/config.json.example Ver fichero

@@ -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",


Cargando…
Cancelar
Guardar