From 07d8a1903598f1420adeaf52b3882447fbd00f64 Mon Sep 17 00:00:00 2001 From: Shane Frischkorn Date: Sat, 6 Jul 2013 21:15:46 +1000 Subject: [PATCH] move error fixing --- libtvdatasource.py | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) 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)