recordingprocessing/libtvshow.py

19 lines
557 B
Python
Raw Normal View History

2013-07-06 20:28:49 +10:00
# -*- coding: utf-8 -*-
"""
Created on Sat Jul 6 20:26:22 2013
@author: shanef
"""
2013-07-06 23:14:41 +10:00
class TVShow(object):
2013-07-06 20:28:49 +10:00
def __init__(self, episode, season, title, subtitle, description, inputFile='', outputFile=''):
2013-07-06 23:14:41 +10:00
self.episode = str(episode)
self.season = str(season)
2013-07-06 20:28:49 +10:00
self.title = title
self.subtitle = subtitle
self.description = description
self.inputFile = inputFile
2013-07-06 21:59:33 +10:00
self.outputFile = outputFile
2013-07-06 23:14:41 +10:00
2013-07-06 21:59:33 +10:00
def Print(self):
print "Input: {0} -> Output: {1}".format(self.inputFile, self.outputFile)