Beispiel #1
0
	def processTPOS( self, theString, theFlags, theValue ):
		TPOS = fixEncoding( theValue, self.language )
		try:
			if TPOS == '1/1':
				return
			else:
				sp = TPOS.split('/')
				self.disk = int(sp[0])
		except:
			pass
Beispiel #2
0
	def processTIT2( self, theString, theFlags, theValue ):
		self.title = fixEncoding( theValue, self.language )
Beispiel #3
0
	def processTRCK(self,s,f,v):
		track = fixEncoding(v, self.language)
		slash = track.find('/')
		if slash != -1:
			track = track[0:slash]
		self.track = int(track)
Beispiel #4
0
	def processTYER( self, theString, theFlags, theValue ):
		self.year = fixEncoding( theValue, self.language )
Beispiel #5
0
	def processTPE2( self, theString, theFlags, theValue ):
		self.TPE2 = fixEncoding( theValue, self.language )
Beispiel #6
0
	def processTPE1( self, theString, theFlags, theValue ):
		self.artist = fixEncoding( theValue, self.language )
Beispiel #7
0
	def processTALB( self, theString, theFlags, theValue ):
		self.album = fixEncoding( theValue, self.language )