From 23fa4242385d66c5ff5139262320c09c7dc79f85 Mon Sep 17 00:00:00 2001 From: clinton-hall Date: Wed, 28 Feb 2018 21:02:13 +1300 Subject: [PATCH] disable valid media check for failed HP downloads. Fixes #1228 fix grammar! How did I let these go so long? --- autoProcessMedia.cfg.spec | 10 +++++----- core/autoProcess/autoProcessMusic.py | 6 +++--- 2 files changed, 8 insertions(+), 8 deletions(-) diff --git a/autoProcessMedia.cfg.spec b/autoProcessMedia.cfg.spec index bf7e3dbd..90a736a0 100644 --- a/autoProcessMedia.cfg.spec +++ b/autoProcessMedia.cfg.spec @@ -251,7 +251,7 @@ [Nzb] ###### clientAgent - Supported clients: sabnzbd, nzbget clientAgent = sabnzbd - ###### SabNZBD (You must edit this if your using nzbToMedia.py with SabNZBD) + ###### SabNZBD (You must edit this if you're using nzbToMedia.py with SabNZBD) sabnzbd_host = http://localhost sabnzbd_port = 8080 sabnzbd_apikey = @@ -271,21 +271,21 @@ categories = music_videos,pictures,software,manual ###### A list of categories that you don't want to be flattened (i.e preserve the directory structure when copying/linking. noFlatten = pictures,manual - ###### uTorrent Hardlink solution (You must edit this if your using TorrentToMedia.py with uTorrent) + ###### uTorrent Hardlink solution (You must edit this if you're using TorrentToMedia.py with uTorrent) uTorrentWEBui = http://localhost:8090/gui/ uTorrentUSR = your username uTorrentPWD = your password - ###### Transmission (You must edit this if your using TorrentToMedia.py with Transmission) + ###### Transmission (You must edit this if you're using TorrentToMedia.py with Transmission) TransmissionHost = localhost TransmissionPort = 9091 TransmissionUSR = your username TransmissionPWD = your password - #### Deluge (You must edit this if your using TorrentToMedia.py with deluge. Note that the host/port is for the deluge daemon, not the webui) + #### Deluge (You must edit this if you're using TorrentToMedia.py with deluge. Note that the host/port is for the deluge daemon, not the webui) DelugeHost = localhost DelugePort = 58846 DelugeUSR = your username DelugePWD = your password - ###### qBittorrent (You must edit this if your using TorrentToMedia.py with qBittorrent) + ###### qBittorrent (You must edit this if you're using TorrentToMedia.py with qBittorrent) qBittorrenHost = localhost qBittorrentPort = 8080 qBittorrentUSR = your username diff --git a/core/autoProcess/autoProcessMusic.py b/core/autoProcess/autoProcessMusic.py index 38985633..125b3569 100644 --- a/core/autoProcess/autoProcessMusic.py +++ b/core/autoProcess/autoProcessMusic.py @@ -119,9 +119,9 @@ class autoProcessMusic(object): core.extractFiles(dirName) inputName, dirName = convert_to_ascii(inputName, dirName) - if listMediaFiles(dirName, media=False, audio=True, meta=False, archives=False) and status: - logger.info("Status shown as failed from Downloader, but valid video files found. Setting as successful.", section) - status = 0 + #if listMediaFiles(dirName, media=False, audio=True, meta=False, archives=False) and status: + # logger.info("Status shown as failed from Downloader, but valid video files found. Setting as successful.", section) + # status = 0 if status == 0: