add delete_failed for music. Fixes #1355

This commit is contained in:
clinton-hall 2018-06-29 09:59:08 +12:00
commit 5d5d69ecdd
2 changed files with 2 additions and 0 deletions

View file

@ -179,6 +179,7 @@
###### ADVANCED USE - ONLY EDIT IF YOU KNOW WHAT YOU'RE DOING ######
ssl = 0
web_root =
delete_failed = 0
wait_for = 2
# Enable/Disable linking for Torrents
Torrent_NoLink = 0

View file

@ -121,6 +121,7 @@ class autoProcessMusic(object):
apikey = cfg["apikey"]
wait_for = int(cfg["wait_for"])
ssl = int(cfg.get("ssl", 0))
delete_failed = int(cfg["delete_failed"])
web_root = cfg.get("web_root", "")
remote_path = int(cfg.get("remote_path", 0))
protocol = "https://" if ssl else "http://"