diff --git a/TVEncoder.py b/TVEncoder.py index 47eacae..1df07fa 100644 --- a/TVEncoder.py +++ b/TVEncoder.py @@ -63,6 +63,7 @@ def main(argv): else: # Generate the list of files to process shows = libfilemanager.GetFilesToPrepare(TVRECORDINGSDIR, numFiles, showSettings) + print len(shows) PrintShowsToPrepare(shows) else: if doEncode: diff --git a/libtvdatasource.py b/libtvdatasource.py index d954d36..a35eb97 100644 --- a/libtvdatasource.py +++ b/libtvdatasource.py @@ -48,7 +48,7 @@ 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 if show.title and show.title in showsToProcess: if show.subtitle: show.subtitle = GetEpisodeName(show.subtitle, show.title)