aboutsummaryrefslogtreecommitdiff
path: root/lib/python
diff options
context:
space:
mode:
authorghost <andreas.monzner@multimedia-labs.de>2010-01-27 10:49:53 +0100
committerghost <andreas.monzner@multimedia-labs.de>2010-01-27 10:49:53 +0100
commit34f11d5064546dd47b7cfde226f4267a7f83741d (patch)
tree1051b343b5890b994ad52d9ad192741856ac5d5b /lib/python
parentc75e82f378fef9e9a1c500ffb1696ba02d8fbd9a (diff)
parentcecd9068fcba09234232399748d4a55ed7574e4b (diff)
downloadenigma2-34f11d5064546dd47b7cfde226f4267a7f83741d.tar.gz
enigma2-34f11d5064546dd47b7cfde226f4267a7f83741d.zip
Merge remote branch 'origin/bug_288_remove_no_resume_on_minor_start_cutpoints'
Diffstat (limited to 'lib/python')
-rw-r--r--lib/python/Screens/InfoBarGenerics.py4
1 files changed, 3 insertions, 1 deletions
diff --git a/lib/python/Screens/InfoBarGenerics.py b/lib/python/Screens/InfoBarGenerics.py
index 7ae0b123..ca9ba550 100644
--- a/lib/python/Screens/InfoBarGenerics.py
+++ b/lib/python/Screens/InfoBarGenerics.py
@@ -2014,8 +2014,10 @@ class InfoBarCueSheetSupport:
if last is not None:
self.resume_point = last
+
+ l = last / 90000
if config.usage.on_movie_start.value == "ask":
- Notifications.AddNotificationWithCallback(self.playLastCB, MessageBox, _("Do you want to resume this playback?"), timeout=10)
+ Notifications.AddNotificationWithCallback(self.playLastCB, MessageBox, _("Do you want to resume this playback?") + "\n" + (_("Resume position at %s") % ("%d:%02d:%02d" % (l/3600, l%3600/60, l%60))), timeout=10)
elif config.usage.on_movie_start.value == "resume":
# TRANSLATORS: The string "Resuming playback" flashes for a moment
# TRANSLATORS: at the start of a movie, when the user has selected