mirror of
https://github.com/clinton-hall/nzbToMedia.git
synced 2025-07-16 02:02:53 -07:00
fix SickBeard issue and cleanup single file handling. #262
This commit is contained in:
parent
5369c83e23
commit
b35dba4261
2 changed files with 15 additions and 15 deletions
|
@ -118,14 +118,16 @@ def processEpisode(dirName, nzbName=None, failed=False, clientAgent=None, inputC
|
|||
if os.path.isdir(SpecificPath):
|
||||
dirName = SpecificPath
|
||||
|
||||
if clientAgent in ['nzbget','sabnzbd']: #Assume Torrent actions (unrar and link) don't happen. We need to check for valid media here.
|
||||
SICKBEARD_TORRENT = []
|
||||
SICKBEARD_TORRENT_USE = SICKBEARD_TORRENT
|
||||
|
||||
if not fork in SICKBEARD_TORRENT:
|
||||
if clientAgent in ['nzbget','sabnzbd']: #Assume Torrent actions (unrar and link) don't happen. We need to check for valid media here.
|
||||
SICKBEARD_TORRENT_USE = []
|
||||
|
||||
if not fork in SICKBEARD_TORRENT_USE:
|
||||
process_all_exceptions(nzbName.lower(), dirName)
|
||||
nzbName, dirName = converto_to_ascii(nzbName, dirName)
|
||||
|
||||
if nzbName != "Manual Run" and not fork in SICKBEARD_TORRENT:
|
||||
if nzbName != "Manual Run" and not fork in SICKBEARD_TORRENT_USE:
|
||||
# Now check if movie files exist in destination:
|
||||
video = int(0)
|
||||
for dirpath, dirnames, filenames in os.walk(dirName):
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue