Determine episode duration (bug 811)
commit7c20ffd167d7cf980d19adbaa78da042a0f00897
authorThomas Perl <thp@thpinfo.com>
Fri, 4 Jun 2010 18:43:38 +0000 (4 20:43 +0200)
committerThomas Perl <thp@thpinfo.com>
Fri, 4 Jun 2010 18:43:38 +0000 (4 20:43 +0200)
treeb8dc1b2729d772f968840f9835bfc7a35112b34a
parent7917c78ee89d03d7de51baea4c1e4c091fdaca74
Determine episode duration (bug 811)

This patch adds two methods for detecting the
episode length (time units, not bytes):

 * iTunes-specific "duration" in the RSS feed
 * GStreamer-based length detection after download

The patch also adds duration information to the
tooltip in the episode list as a first step for
displaying this information in the UI.
src/gpodder/gtkui/model.py
src/gpodder/model.py
src/gpodder/util.py