fixed bug
This commit is contained in:
parent
e7fa163480
commit
74d82516ae
1 changed files with 3 additions and 2 deletions
|
|
@ -10,7 +10,7 @@ import getopt
|
||||||
from libfilemanager import FileManager
|
from libfilemanager import FileManager
|
||||||
from libsettings import Settings
|
from libsettings import Settings
|
||||||
from libhandbrake import Encoder
|
from libhandbrake import Encoder
|
||||||
import libtvdatasource
|
from libtvdatasource import TVData
|
||||||
|
|
||||||
#TVRECORDINGSDIR = "/Volumes/TV Recordings/"
|
#TVRECORDINGSDIR = "/Volumes/TV Recordings/"
|
||||||
#TVRECORDINGSDIR = "/srv/storage2/videos/TVRecordings/" # TODO move this to settings
|
#TVRECORDINGSDIR = "/srv/storage2/videos/TVRecordings/" # TODO move this to settings
|
||||||
|
|
@ -91,7 +91,8 @@ def main(argv):
|
||||||
# TODO Process files for encoding
|
# TODO Process files for encoding
|
||||||
fileManager = FileManager(settings)
|
fileManager = FileManager(settings)
|
||||||
shows = fileManager.GetFilesToPrepare(numFiles)
|
shows = fileManager.GetFilesToPrepare(numFiles)
|
||||||
libtvdatasource.PrepareEpisodes(shows)
|
tvData = TVData(settings)
|
||||||
|
tvData.PrepareEpisodes(shows)
|
||||||
|
|
||||||
if __name__ == "__main__":
|
if __name__ == "__main__":
|
||||||
main(sys.argv[1:])
|
main(sys.argv[1:])
|
||||||
Loading…
Add table
Add a link
Reference in a new issue