fixing errors

This commit is contained in:
2013-07-06 20:28:49 +10:00
parent b8acbcbdc1
commit 74b50ef3a2
5 changed files with 27 additions and 20 deletions

View File

@@ -9,6 +9,7 @@ import libmythtv as MythTV
from libsickbeard import Sickbeard
import os
import shutil
from libtvshow import TVShow
# TODO Move these to settings
PROCESSDIR="/srv/storage2/files/VideoProcessing/"
@@ -20,16 +21,6 @@ NIGHTGARDEN="InTheNightGarden"
RAARAA="RaaRaa"
INPUTDIR="Input"
class TVShow:
def __init__(self, episode, season, title, subtitle, description, inputFile='', outputFile=''):
self.episode = episode
self.season = season
self.title = title
self.subtitle = subtitle
self.description = description
self.inputFile = inputFile
self.outputFile = outputFile
def FixEpisodeSeasonNumber(number):
if number < 10:
return "0{0}".format(number)