mirror of
https://github.com/clinton-hall/nzbToMedia.git
synced 2025-08-20 13:23:18 -07:00
improve matching without .nzb closes #36
This commit is contained in:
parent
5b1a7d622d
commit
b002d4127d
1 changed files with 2 additions and 2 deletions
|
@ -100,8 +100,8 @@ def process(dirName, nzbName=None, status=0):
|
||||||
else:
|
else:
|
||||||
print "download of", nzbName1, "has failed."
|
print "download of", nzbName1, "has failed."
|
||||||
print "trying to re-cue the next highest ranked release"
|
print "trying to re-cue the next highest ranked release"
|
||||||
a=nzbName1.find('.cp')+4
|
a=nzbName1.find('.cp(')+4
|
||||||
b=nzbName1.find('.nzb')-1
|
b=nzbName1[a:].find(')')+a
|
||||||
imdbid=nzbName1[a:b]
|
imdbid=nzbName1[a:b]
|
||||||
#print imdbid
|
#print imdbid
|
||||||
|
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue