Fallback to stored total time if missing
commitb9f505ba2b766f9baa4989653f936ad9fd35ae2c
authorThomas Perl <thp@thpinfo.com>
Tue, 17 Aug 2010 01:07:05 +0000 (17 03:07 +0200)
committerThomas Perl <thp@thpinfo.com>
Tue, 17 Aug 2010 01:08:49 +0000 (17 03:08 +0200)
tree4a88a0647cc73dc4ce99e8adcd2a55ad5e9b054b
parentbfd710067dd2f0eddf4375578f2c1add4dbc7091
Fallback to stored total time if missing

If the total time of an episode action received
from the local player application is zero, use
the total time stored in the episode metadata,
as it is a better approximation than what we got
from the player (zero in that case).
src/gpodder/gui.py