Ejemplo n.º 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')
Ejemplo n.º 2
0
	def getShows(self):
		self.store = showManager.showStore()
		self.store.fillStore(self.filepath)
		self.template = templateHandler.template()