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
def processTIT2( self, theString, theFlags, theValue ): self.title = fixEncoding( theValue, self.language )
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)
def processTYER( self, theString, theFlags, theValue ): self.year = fixEncoding( theValue, self.language )
def processTPE2( self, theString, theFlags, theValue ): self.TPE2 = fixEncoding( theValue, self.language )
def processTPE1( self, theString, theFlags, theValue ): self.artist = fixEncoding( theValue, self.language )
def processTALB( self, theString, theFlags, theValue ): self.album = fixEncoding( theValue, self.language )