summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorchriszero <zerov83@gmail.com>2015-11-07 16:39:28 +0100
committerchriszero <zerov83@gmail.com>2015-11-07 16:39:28 +0100
commitf7432aedbd74d83ec92dc72750d1e755a699c25a (patch)
tree20f2f74a98e9f4fb77643109e5b43c0732b9e0d4
parent75e178bcc0105e5f618e913d53cca91450a6e8bd (diff)
downloadvdr-plugin-plex-f7432aedbd74d83ec92dc72750d1e755a699c25a.tar.gz
vdr-plugin-plex-f7432aedbd74d83ec92dc72750d1e755a699c25a.tar.bz2
Use skipsteps from VDR Setup. (kamel5)
-rw-r--r--hlsPlayerControl.cpp28
-rw-r--r--po/de_DE.po40
2 files changed, 48 insertions, 20 deletions
diff --git a/hlsPlayerControl.cpp b/hlsPlayerControl.cpp
index d8d847d..b7acd24 100644
--- a/hlsPlayerControl.cpp
+++ b/hlsPlayerControl.cpp
@@ -136,15 +136,37 @@ eOSState cHlsPlayerControl::ProcessKey(eKeys Key)
case kDown:
Pause();
break;
+ case kFastRew:
+ case kLeft:
+ player->JumpRelative(-10);
+ break;
+ case kFastFwd:
+ case kRight:
+ player->JumpRelative(10);
+ break;
case kGreen|k_Repeat:
+#if APIVERSNUM >= 20200
+ player->JumpRelative(-Setup.SkipSecondsRepeat);
+ break;
+#endif
case kGreen:
- //Hide();
+#if APIVERSNUM >= 20200
+ player->JumpRelative(-Setup.SkipSeconds);
+#else
player->JumpRelative(-300);
+#endif
break;
case kYellow|k_Repeat:
+#if APIVERSNUM >= 20200
+ player->JumpRelative(Setup.SkipSecondsRepeat);
+ break;
+#endif
case kYellow:
- //Hide();
+#if APIVERSNUM >= 20200
+ player->JumpRelative(Setup.SkipSeconds);
+#else
player->JumpRelative(300);
+#endif
break;
case kStop:
case kBlue:
@@ -251,7 +273,7 @@ bool cHlsPlayerControl::ShowProgress(bool Initial)
if (GetIndex(Current, Total)) {
if (!visible) {
displayReplay = Skins.Current()->DisplayReplay(modeOnly);
- displayReplay->SetButtons(NULL,"-5m","+4m",tr("Stop"));
+ displayReplay->SetButtons(NULL,tr("Skip Back"),tr("Skip Forward"),tr("Stop"));
SetNeedsFastResponse(true);
visible = true;
}
diff --git a/po/de_DE.po b/po/de_DE.po
index d4244f4..4c68b43 100644
--- a/po/de_DE.po
+++ b/po/de_DE.po
@@ -7,8 +7,8 @@ msgid ""
msgstr ""
"Project-Id-Version: vdr-plex 0.1.0\n"
"Report-Msgid-Bugs-To: <see README>\n"
-"POT-Creation-Date: 2015-10-02 18:19+0200\n"
-"PO-Revision-Date: 2015-10-02 20:06+0200\n"
+"POT-Creation-Date: 2015-11-07 16:19+0100\n"
+"PO-Revision-Date: 2015-11-07 16:38+0200\n"
"Last-Translator: Chris <zerov83@gmail.com>\n"
"Language-Team: LANGUAGE <LL@li.org>\n"
"Language: de\n"
@@ -18,21 +18,6 @@ msgstr ""
"Plural-Forms: nplurals=2; plural=(n != 1);\n"
"X-Generator: Virtaal 0.7.1\n"
-msgid "Library"
-msgstr "Bibliothek"
-
-msgid "No Plex Media Server found."
-msgstr "Kein Plexmediaserver gefunden."
-
-msgid "Switch View"
-msgstr "Ansicht wechseln"
-
-msgid "Unscrobble"
-msgstr "Ungesehen"
-
-msgid "Scrobble"
-msgstr "Gesehen"
-
msgid "Hide main menu entry"
msgstr "Verstecke Hauptmenüeintrag"
@@ -97,6 +82,27 @@ msgstr "Aktuelle UUID"
msgid "%s - Season %d"
msgstr "%s - Staffel %d"
+msgid "Library"
+msgstr "Bibliothek"
+
+msgid "No Plex Media Server found."
+msgstr "Kein Plexmediaserver gefunden."
+
+msgid "Switch View"
+msgstr "Ansicht wechseln"
+
+msgid "Unscrobble"
+msgstr "Ungesehen"
+
+msgid "Scrobble"
+msgstr "Gesehen"
+
+msgid "Skip Back"
+msgstr "Vorspringen"
+
+msgid "Skip Forward"
+msgstr "Zurückspringen"
+
msgid "Stop"
msgstr "Stop"