From 74d82516ae171cea8157beb67eb124effdb88b65 Mon Sep 17 00:00:00 2001 From: Shane Frischkorn Date: Tue, 9 Jul 2013 12:14:02 +1000 Subject: [PATCH] fixed bug --- TVEncoder.py | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/TVEncoder.py b/TVEncoder.py index 57ba313..182b72d 100644 --- a/TVEncoder.py +++ b/TVEncoder.py @@ -10,7 +10,7 @@ import getopt from libfilemanager import FileManager from libsettings import Settings from libhandbrake import Encoder -import libtvdatasource +from libtvdatasource import TVData #TVRECORDINGSDIR = "/Volumes/TV Recordings/" #TVRECORDINGSDIR = "/srv/storage2/videos/TVRecordings/" # TODO move this to settings @@ -91,7 +91,8 @@ def main(argv): # TODO Process files for encoding fileManager = FileManager(settings) shows = fileManager.GetFilesToPrepare(numFiles) - libtvdatasource.PrepareEpisodes(shows) + tvData = TVData(settings) + tvData.PrepareEpisodes(shows) if __name__ == "__main__": main(sys.argv[1:]) \ No newline at end of file