mirror of
https://github.com/clinton-hall/nzbToMedia.git
synced 2025-08-19 21:03:14 -07:00
pass on individula directory. fixes #255
This commit is contained in:
parent
25dfa1d8f9
commit
fff690de79
2 changed files with 8 additions and 0 deletions
|
@ -107,6 +107,13 @@ def processEpisode(dirName, nzbName=None, failed=False, inputCategory=None):
|
|||
mediaContainer = (config.get("Extensions", "mediaExtensions")).split(',')
|
||||
minSampleSize = int(config.get("Extensions", "minSampleSize"))
|
||||
|
||||
SpecificPath = os.path.join(dirName, nzbName)
|
||||
cleanName = os.path.splitext(SpecificPath)
|
||||
if cleanName[1] == ".nzb":
|
||||
SpecificPath = cleanName[0]
|
||||
if os.path.isdir(SpecificPath):
|
||||
dirName = SpecificPath
|
||||
|
||||
if not fork in SICKBEARD_TORRENT:
|
||||
process_all_exceptions(nzbName.lower(), dirName)
|
||||
nzbName, dirName = converto_to_ascii(nzbName, dirName)
|
||||
|
|
|
@ -9,6 +9,7 @@ Fixed ascii conversion of directory name.
|
|||
|
||||
Impacts NZBs
|
||||
Fix Error with manual run of nzbToMedia
|
||||
Make sure SickBeard receives the individula download dir.
|
||||
|
||||
V9.1 24/01/2014
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue