Aubin Paul wrote: > What is the purpose of this (from mediainfo.py) > > def correct_data(self): > """ > correct trackof to be two digest > """ > if self['trackof']: > try: > if int(self['trackno']) < 9: > self['trackno'] = '%s' % int(self['trackno']) > except: > pass > > I understand that it (erroneously) adds a zero to digits 1-8 (not 9), but why would > we do this anyway?
First of all, I guess 1-8 is a bug, 1-9 sounds better to me. Second: I don't see any 0 adding in the ocde, but IIRC that's what it should do. > For sorting, we can add a zero - and we do in freevo itself - , but > I don't know if we should be changing what is reported. IIRC it was also for the gui to display. When all track numbers have two digests, I may look better. But maybe I also wrote it becuase of the sorting, I can't remeber. Dischi -- I intend to live forever - so far, so good. ------------------------------------------------------- This SF.Net email is sponsored by: YOU BE THE JUDGE. Be one of 170 Project Admins to receive an Apple iPod Mini FREE for your judgement on who ports your project to Linux PPC the best. Sponsored by IBM. Deadline: Sept. 13. Go here: http://sf.net/ppc_contest.php _______________________________________________ Freevo-devel mailing list [EMAIL PROTECTED] https://lists.sourceforge.net/lists/listinfo/freevo-devel