move error fixing
This commit is contained in:
@@ -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:
|
||||||
|
|||||||
@@ -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)
|
||||||
|
|||||||
Reference in New Issue
Block a user