Esempio n. 1
0
	def _calc_sha1(self):
		import songdb
		try:
			return {"sha1": songdb.hashFile(self.url)}
		except IOError as exc:
			return {"error": exc}			
Esempio n. 2
0
	def _calc_sha1(self):
		import songdb
		try:
			return {"sha1": songdb.hashFile(self.url)}
		except IOError as exc:
			return {"error": exc}
Esempio n. 3
0
	def _calc_sha1(self):
		import songdb
		return {"sha1": songdb.hashFile(self.url)}