move error fixing

This commit is contained in:
2013-07-06 21:13:58 +10:00
parent d0d66fe9a8
commit bb02b34f9e
2 changed files with 2 additions and 1 deletions

View File

@@ -63,6 +63,7 @@ def main(argv):
else: else:
# Generate the list of files to process # Generate the list of files to process
shows = libfilemanager.GetFilesToPrepare(TVRECORDINGSDIR, numFiles, showSettings) shows = libfilemanager.GetFilesToPrepare(TVRECORDINGSDIR, numFiles, showSettings)
print len(shows)
PrintShowsToPrepare(shows) PrintShowsToPrepare(shows)
else: else:
if doEncode: if doEncode:

View File

@@ -48,7 +48,7 @@ def GetDirectory(title, season):
def RetrieveEpisodeData(serverAddress, user, password, database, inputFile, showsToProcess, sickbeardAddress, sickbeardPort, sickbeardAPIKey): def RetrieveEpisodeData(serverAddress, user, password, database, inputFile, showsToProcess, sickbeardAddress, sickbeardPort, sickbeardAPIKey):
file = os.path.basename(inputFile) file = os.path.basename(inputFile)
show = MythTV.RetrieveEpisodeData(serverAddress, user, password, database, file) show = MythTV.RetrieveEpisodeData(serverAddress, user, password, database, file)
print show
if show.title and show.title in showsToProcess: if show.title and show.title in showsToProcess:
if show.subtitle: if show.subtitle:
show.subtitle = GetEpisodeName(show.subtitle, show.title) show.subtitle = GetEpisodeName(show.subtitle, show.title)