diff --git a/libtvdatasource.py b/libtvdatasource.py index a35eb97..11885be 100644 --- a/libtvdatasource.py +++ b/libtvdatasource.py @@ -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)