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? 

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. 

Aubin


-------------------------------------------------------
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

Reply via email to