Exemple #1
0
	def __init__(self,paths,storage):
		self.filepaths = paths
		self.store = showManager.showStore(storage)
		self.templates = {}
		self.storage = storage
		self.templates['tv'] = templateHandler.template()
		self.templates['settings'] = templateHandler.settingsTemplate()
		self.templates['films'] = templateHandler.filmTemplate()
		self.updateShows();
		self.settings = storage.read('settings')
	def getShows(self):
		self.store = showManager.showStore()
		self.store.fillStore(self.filepath)
		self.template = templateHandler.template()