Skip to content

Commit

Permalink
gpodder.model: return "Finished (##:##)" from get_play_info_string()
Browse files Browse the repository at this point in the history
This reverts the change made in f02063b.
  • Loading branch information
dovf authored and thp committed Feb 27, 2014
1 parent 14cffed commit 5b4d0b0
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions src/gpodder/model.py
Original file line number Diff line number Diff line change
Expand Up @@ -717,6 +717,8 @@ def get_play_info_string(self, duration_only=False):
duration = util.format_time(self.total_time)
if duration_only and self.total_time > 0:
return duration
elif self.is_finished():
return '%s (%s)' % (_('Finished'), duration)
elif self.current_position > 0 and \
self.current_position != self.total_time:
position = util.format_time(self.current_position)
Expand Down

0 comments on commit 5b4d0b0

Please sign in to comment.