mirror of
https://github.com/clinton-hall/nzbToMedia.git
synced 2025-08-19 12:59:36 -07:00
don't add imdb id when torrent move-sym in use. Fixes #1030
This commit is contained in:
parent
c1de432a3f
commit
417b79db12
1 changed files with 3 additions and 2 deletions
|
@ -212,8 +212,9 @@ class autoProcessMovie:
|
||||||
if not release and not ".cp(tt" in video and imdbid:
|
if not release and not ".cp(tt" in video and imdbid:
|
||||||
videoName, videoExt = os.path.splitext(video)
|
videoName, videoExt = os.path.splitext(video)
|
||||||
video2 = "%s.cp(%s)%s" % (videoName, imdbid, videoExt)
|
video2 = "%s.cp(%s)%s" % (videoName, imdbid, videoExt)
|
||||||
logger.debug('Renaming: %s to: %s' % (video, video2))
|
if not (clientAgent in [core.TORRENT_CLIENTAGENT, 'manual'] and core.USELINK == 'move-sym'):
|
||||||
os.rename(video, video2)
|
logger.debug('Renaming: %s to: %s' % (video, video2))
|
||||||
|
os.rename(video, video2)
|
||||||
|
|
||||||
params = {}
|
params = {}
|
||||||
if download_id:
|
if download_id:
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue