move error fixing

This commit is contained in:
2013-07-06 21:15:46 +10:00
parent bb02b34f9e
commit 07d8a19035

View File

@@ -48,7 +48,8 @@ def GetDirectory(title, season):
def RetrieveEpisodeData(serverAddress, user, password, database, inputFile, showsToProcess, sickbeardAddress, sickbeardPort, sickbeardAPIKey):
file = os.path.basename(inputFile)
show = MythTV.RetrieveEpisodeData(serverAddress, user, password, database, file)
print show
print "file: {0} mythtv returned show name {1}".format(file, show.title)
if show.title and show.title in showsToProcess:
if show.subtitle:
show.subtitle = GetEpisodeName(show.subtitle, show.title)