Example #1
0
	def __init__(self, tivoId, server, attr):
		Asset.__init__(self, 'TivoVideo')
		self.details = attr['Details']
		self.links = attr['Links']
		self.tivoId = tivoId
		self.server = server
		self.attr['server'] = server.id
		self.attr['showid'] = self.showId()
		self.attr['programid'] = self.programId()
		if 'Title' in self.details:
			self.attr['title'] = self.details['Title']
Example #2
0
 def __init__(self, tivoId, server, attr):
     Asset.__init__(self, 'TivoVideo')
     self.details = attr['Details']
     self.links = attr['Links']
     self.tivoId = tivoId
     self.server = server
     self.attr['server'] = server.id
     self.attr['showid'] = self.showId()
     self.attr['programid'] = self.programId()
     if 'Title' in self.details:
         self.attr['title'] = self.details['Title']
Example #3
0
	def __init__(self, type, filename):
		Asset.__init__(self, type)
		self.filename = filename
Example #4
0
	def __init__(self, attr):
		Asset.__init__(self, 'TivoServer')
		self.resetAttrs(attr)
Example #5
0
 def get_status_asset(self,status):
     from base import Asset
     asset = Asset(ip4="127.0.0.1")
     asset.force_status(status)
     return asset
Example #6
0
 def __init__(self, type, filename):
     Asset.__init__(self, type)
     self.filename = filename
Example #7
0
 def __init__(self, attr):
     Asset.__init__(self, 'TivoServer')
     self.resetAttrs(attr)