don't add imdb id when torrent move-sym in use. Fixes #1030

This commit is contained in:
clinton-hall 2016-05-19 12:45:40 +09:30
parent c1de432a3f
commit 417b79db12

View file

@ -212,8 +212,9 @@ class autoProcessMovie:
if not release and not ".cp(tt" in video and imdbid:
videoName, videoExt = os.path.splitext(video)
video2 = "%s.cp(%s)%s" % (videoName, imdbid, videoExt)
logger.debug('Renaming: %s to: %s' % (video, video2))
os.rename(video, video2)
if not (clientAgent in [core.TORRENT_CLIENTAGENT, 'manual'] and core.USELINK == 'move-sym'):
logger.debug('Renaming: %s to: %s' % (video, video2))
os.rename(video, video2)
params = {}
if download_id: