~exaile-bugday/+junk/exaile

« back to all changes in this revision

Viewing changes to xl/track.py

  • Committer: Mathias Brodala
  • Date: 2009-07-25 20:15:28 UTC
  • Revision ID: info@noctus.net-20090725201528-gbzsi1tvr2olmqdh
* Add ShortcutListPrefsItem for simple editing of keyboard shortcuts

Show diffs side-by-side

added added

removed removed

Lines of Context:
345
345
        except:
346
346
            return self['__bitrate']
347
347
 
348
 
    def get_size(self):
349
 
        return os.path.getsize(self.get_loc())
350
 
 
351
348
    def get_duration(self):
352
349
        """
353
350
            Returns the length of the track as an int in seconds