1
0
mirror of https://github.com/VDR4Arch/vdr.git synced 2023-10-10 13:36:52 +02:00

Implemented Play/Pause key

This commit is contained in:
Klaus Schmidinger 2012-12-04 13:37:59 +01:00
parent 85b9c2f370
commit 551b46cab1
35 changed files with 136 additions and 32 deletions

View File

@ -3003,3 +3003,7 @@ Peter M
Mike Hay <mike.hay@linenshorts.com> Mike Hay <mike.hay@linenshorts.com>
for reporting a problem with handling the case of the polarization character in for reporting a problem with handling the case of the polarization character in
channel definitions if no DiSEqC is used channel definitions if no DiSEqC is used
Stefan Hofmann <stefan.hofmann@t-online.de>
for suggesting to implement support for remote controls that only have a combined
"Play/Pause" key instead of separate keys for "Play" and "Pause"

View File

@ -7380,3 +7380,7 @@ Video Disk Recorder Revision History
(based on a suggestion by Lucian Muresan). (based on a suggestion by Lucian Muresan).
- The SVDRP command HITK now discards any keys if the remote control is currently - The SVDRP command HITK now discards any keys if the remote control is currently
turned off (thanks to Alexander Hans). turned off (thanks to Alexander Hans).
- The new remote control key "Play/Pause" can be used with remote controls that don't
have separate keys for "Play" and "Pause", but rather have a single key for both
functions (thanks to Stefan Hofmann for suggesting to implement support for such
remote controls).

1
MANUAL
View File

@ -39,6 +39,7 @@ Version 1.6
Info display information on the currently viewed programme or recording, Info display information on the currently viewed programme or recording,
or on the current item in a menu or on the current item in a menu
Play/Pause combined key to resume or pause replay, or pause live video
Play resume normal replay Play resume normal replay
Pause pause replay or live video Pause pause replay or live video
Stop stop replay Stop stop replay

3
keys.c
View File

@ -4,7 +4,7 @@
* See the main source file 'vdr.c' for copyright information and * See the main source file 'vdr.c' for copyright information and
* how to reach the author. * how to reach the author.
* *
* $Id: keys.c 2.1 2010/04/05 10:05:58 kls Exp $ * $Id: keys.c 2.2 2012/12/04 12:52:52 kls Exp $
*/ */
#include "keys.h" #include "keys.h"
@ -33,6 +33,7 @@ static tKey keyTable[] = { // "Up" and "Down" must be the first two keys!
{ k8, "8" }, { k8, "8" },
{ k9, "9" }, { k9, "9" },
{ kInfo, trNOOP("Key$Info") }, { kInfo, trNOOP("Key$Info") },
{ kPlayPause, trNOOP("Key$Play/Pause") },
{ kPlay, trNOOP("Key$Play") }, { kPlay, trNOOP("Key$Play") },
{ kPause, trNOOP("Key$Pause") }, { kPause, trNOOP("Key$Pause") },
{ kStop, trNOOP("Key$Stop") }, { kStop, trNOOP("Key$Stop") },

3
keys.h
View File

@ -4,7 +4,7 @@
* See the main source file 'vdr.c' for copyright information and * See the main source file 'vdr.c' for copyright information and
* how to reach the author. * how to reach the author.
* *
* $Id: keys.h 2.1 2010/04/05 10:06:04 kls Exp $ * $Id: keys.h 2.2 2012/12/04 12:51:25 kls Exp $
*/ */
#ifndef __KEYS_H #ifndef __KEYS_H
@ -27,6 +27,7 @@ enum eKeys { // "Up" and "Down" must be the first two keys!
kBlue, kBlue,
k0, k1, k2, k3, k4, k5, k6, k7, k8, k9, k0, k1, k2, k3, k4, k5, k6, k7, k8, k9,
kInfo, kInfo,
kPlayPause, // combined Play/Pause key
kPlay, kPlay,
kPause, kPause,
kStop, kStop,

10
menu.c
View File

@ -4,7 +4,7 @@
* See the main source file 'vdr.c' for copyright information and * See the main source file 'vdr.c' for copyright information and
* how to reach the author. * how to reach the author.
* *
* $Id: menu.c 2.66 2012/12/04 09:50:39 kls Exp $ * $Id: menu.c 2.67 2012/12/04 13:17:49 kls Exp $
*/ */
#include "menu.h" #include "menu.h"
@ -2454,6 +2454,7 @@ eOSState cMenuRecordings::ProcessKey(eKeys Key)
if (state == osUnknown) { if (state == osUnknown) {
switch (Key) { switch (Key) {
case kPlayPause:
case kPlay: case kPlay:
case kOk: return Play(); case kOk: return Play();
case kRed: return (helpKeys > 1 && RecordingCommands.Count()) ? Commands() : Play(); case kRed: return (helpKeys > 1 && RecordingCommands.Count()) ? Commands() : Play();
@ -4685,6 +4686,7 @@ void cReplayControl::TimeSearchProcess(eKeys Key)
timeSearchActive = false; timeSearchActive = false;
} }
break; break;
case kPlayPause:
case kPlay: case kPlay:
case kUp: case kUp:
case kPause: case kPause:
@ -4865,6 +4867,12 @@ eOSState cReplayControl::ProcessKey(eKeys Key)
TimeSearchProcess(Key); TimeSearchProcess(Key);
return osContinue; return osContinue;
} }
if (Key == kPlayPause) {
bool Play, Forward;
int Speed;
GetReplayMode(Play, Forward, Speed);
Key = Play ? kPause : kPlay;
}
bool DoShowMode = true; bool DoShowMode = true;
switch (int(Key)) { switch (int(Key)) {
// Positioning: // Positioning:

View File

@ -7,7 +7,7 @@ msgid ""
msgstr "" msgstr ""
"Project-Id-Version: VDR 1.7.0\n" "Project-Id-Version: VDR 1.7.0\n"
"Report-Msgid-Bugs-To: <vdr-bugs@tvdr.de>\n" "Report-Msgid-Bugs-To: <vdr-bugs@tvdr.de>\n"
"POT-Creation-Date: 2012-11-18 14:31+0100\n" "POT-Creation-Date: 2012-12-04 14:36+0100\n"
"PO-Revision-Date: 2008-10-16 11:16-0400\n" "PO-Revision-Date: 2008-10-16 11:16-0400\n"
"Last-Translator: Osama Alrawab <alrawab@hotmail.com>\n" "Last-Translator: Osama Alrawab <alrawab@hotmail.com>\n"
"Language-Team: Arabic <ar@li.org>\n" "Language-Team: Arabic <ar@li.org>\n"
@ -417,6 +417,9 @@ msgstr "ازرق"
msgid "Key$Info" msgid "Key$Info"
msgstr "معلومات" msgstr "معلومات"
msgid "Key$Play/Pause"
msgstr ""
msgid "Key$Play" msgid "Key$Play"
msgstr "عرض" msgstr "عرض"

View File

@ -10,7 +10,7 @@ msgid ""
msgstr "" msgstr ""
"Project-Id-Version: VDR 1.6.0\n" "Project-Id-Version: VDR 1.6.0\n"
"Report-Msgid-Bugs-To: <vdr-bugs@tvdr.de>\n" "Report-Msgid-Bugs-To: <vdr-bugs@tvdr.de>\n"
"POT-Creation-Date: 2012-11-18 14:31+0100\n" "POT-Creation-Date: 2012-12-04 14:36+0100\n"
"PO-Revision-Date: 2008-03-02 19:02+0100\n" "PO-Revision-Date: 2008-03-02 19:02+0100\n"
"Last-Translator: Luca Olivetti <luca@ventoso.org>\n" "Last-Translator: Luca Olivetti <luca@ventoso.org>\n"
"Language-Team: Catalan <vdr@linuxtv.org>\n" "Language-Team: Catalan <vdr@linuxtv.org>\n"
@ -413,6 +413,9 @@ msgstr "Blau"
msgid "Key$Info" msgid "Key$Info"
msgstr "Informació" msgstr "Informació"
msgid "Key$Play/Pause"
msgstr ""
msgid "Key$Play" msgid "Key$Play"
msgstr "Reproduir" msgstr "Reproduir"

View File

@ -9,7 +9,7 @@ msgid ""
msgstr "" msgstr ""
"Project-Id-Version: VDR 1.7.14\n" "Project-Id-Version: VDR 1.7.14\n"
"Report-Msgid-Bugs-To: <vdr-bugs@tvdr.de>\n" "Report-Msgid-Bugs-To: <vdr-bugs@tvdr.de>\n"
"POT-Creation-Date: 2012-11-18 14:31+0100\n" "POT-Creation-Date: 2012-12-04 14:36+0100\n"
"PO-Revision-Date: 2010-05-06 11:00+0200\n" "PO-Revision-Date: 2010-05-06 11:00+0200\n"
"Last-Translator: Radek Šťastný <dedkus@gmail.com>\n" "Last-Translator: Radek Šťastný <dedkus@gmail.com>\n"
"Language-Team: Czech <vdr@linuxtv.org>\n" "Language-Team: Czech <vdr@linuxtv.org>\n"
@ -412,6 +412,9 @@ msgstr "Modrý"
msgid "Key$Info" msgid "Key$Info"
msgstr "Info" msgstr "Info"
msgid "Key$Play/Pause"
msgstr ""
msgid "Key$Play" msgid "Key$Play"
msgstr "Přehrát" msgstr "Přehrát"

View File

@ -7,7 +7,7 @@ msgid ""
msgstr "" msgstr ""
"Project-Id-Version: VDR 1.6.0\n" "Project-Id-Version: VDR 1.6.0\n"
"Report-Msgid-Bugs-To: <vdr-bugs@tvdr.de>\n" "Report-Msgid-Bugs-To: <vdr-bugs@tvdr.de>\n"
"POT-Creation-Date: 2012-11-18 14:31+0100\n" "POT-Creation-Date: 2012-12-04 14:36+0100\n"
"PO-Revision-Date: 2007-08-12 14:17+0200\n" "PO-Revision-Date: 2007-08-12 14:17+0200\n"
"Last-Translator: Mogens Elneff <mogens@elneff.dk>\n" "Last-Translator: Mogens Elneff <mogens@elneff.dk>\n"
"Language-Team: Danish <vdr@linuxtv.org>\n" "Language-Team: Danish <vdr@linuxtv.org>\n"
@ -410,6 +410,9 @@ msgstr "Bl
msgid "Key$Info" msgid "Key$Info"
msgstr "Info" msgstr "Info"
msgid "Key$Play/Pause"
msgstr ""
msgid "Key$Play" msgid "Key$Play"
msgstr "Afspil" msgstr "Afspil"

View File

@ -7,7 +7,7 @@ msgid ""
msgstr "" msgstr ""
"Project-Id-Version: VDR 1.6.0\n" "Project-Id-Version: VDR 1.6.0\n"
"Report-Msgid-Bugs-To: <vdr-bugs@tvdr.de>\n" "Report-Msgid-Bugs-To: <vdr-bugs@tvdr.de>\n"
"POT-Creation-Date: 2012-11-18 14:31+0100\n" "POT-Creation-Date: 2012-12-04 14:36+0100\n"
"PO-Revision-Date: 2010-01-16 16:46+0100\n" "PO-Revision-Date: 2010-01-16 16:46+0100\n"
"Last-Translator: Klaus Schmidinger <kls@tvdr.de>\n" "Last-Translator: Klaus Schmidinger <kls@tvdr.de>\n"
"Language-Team: German <vdr@linuxtv.org>\n" "Language-Team: German <vdr@linuxtv.org>\n"
@ -410,6 +410,9 @@ msgstr "Blau"
msgid "Key$Info" msgid "Key$Info"
msgstr "Info" msgstr "Info"
msgid "Key$Play/Pause"
msgstr "Wiedergabe/Pause"
msgid "Key$Play" msgid "Key$Play"
msgstr "Wiedergabe" msgstr "Wiedergabe"

View File

@ -7,7 +7,7 @@ msgid ""
msgstr "" msgstr ""
"Project-Id-Version: VDR 1.6.0\n" "Project-Id-Version: VDR 1.6.0\n"
"Report-Msgid-Bugs-To: <vdr-bugs@tvdr.de>\n" "Report-Msgid-Bugs-To: <vdr-bugs@tvdr.de>\n"
"POT-Creation-Date: 2012-11-18 14:31+0100\n" "POT-Creation-Date: 2012-12-04 14:36+0100\n"
"PO-Revision-Date: 2007-08-12 14:17+0200\n" "PO-Revision-Date: 2007-08-12 14:17+0200\n"
"Last-Translator: Dimitrios Dimitrakos <mail@dimitrios.de>\n" "Last-Translator: Dimitrios Dimitrakos <mail@dimitrios.de>\n"
"Language-Team: Greek <vdr@linuxtv.org>\n" "Language-Team: Greek <vdr@linuxtv.org>\n"
@ -410,6 +410,9 @@ msgstr "
msgid "Key$Info" msgid "Key$Info"
msgstr "Ðëçñïöïñßåò" msgstr "Ðëçñïöïñßåò"
msgid "Key$Play/Pause"
msgstr ""
msgid "Key$Play" msgid "Key$Play"
msgstr "ÁíáðáñáãùãÞ" msgstr "ÁíáðáñáãùãÞ"

View File

@ -8,7 +8,7 @@ msgid ""
msgstr "" msgstr ""
"Project-Id-Version: VDR 1.6.0\n" "Project-Id-Version: VDR 1.6.0\n"
"Report-Msgid-Bugs-To: <vdr-bugs@tvdr.de>\n" "Report-Msgid-Bugs-To: <vdr-bugs@tvdr.de>\n"
"POT-Creation-Date: 2012-11-18 14:31+0100\n" "POT-Creation-Date: 2012-12-04 14:36+0100\n"
"PO-Revision-Date: 2008-03-02 19:02+0100\n" "PO-Revision-Date: 2008-03-02 19:02+0100\n"
"Last-Translator: Luca Olivetti <luca@ventoso.org>\n" "Last-Translator: Luca Olivetti <luca@ventoso.org>\n"
"Language-Team: Spanish <vdr@linuxtv.org>\n" "Language-Team: Spanish <vdr@linuxtv.org>\n"
@ -411,6 +411,9 @@ msgstr "Azul"
msgid "Key$Info" msgid "Key$Info"
msgstr "Info" msgstr "Info"
msgid "Key$Play/Pause"
msgstr ""
msgid "Key$Play" msgid "Key$Play"
msgstr "Reproducir" msgstr "Reproducir"

View File

@ -7,7 +7,7 @@ msgid ""
msgstr "" msgstr ""
"Project-Id-Version: VDR 1.6.0\n" "Project-Id-Version: VDR 1.6.0\n"
"Report-Msgid-Bugs-To: <vdr-bugs@tvdr.de>\n" "Report-Msgid-Bugs-To: <vdr-bugs@tvdr.de>\n"
"POT-Creation-Date: 2012-11-18 14:31+0100\n" "POT-Creation-Date: 2012-12-04 14:36+0100\n"
"PO-Revision-Date: 2007-08-12 14:17+0200\n" "PO-Revision-Date: 2007-08-12 14:17+0200\n"
"Last-Translator: Arthur Konovalov <artlov@gmail.com>\n" "Last-Translator: Arthur Konovalov <artlov@gmail.com>\n"
"Language-Team: Estonian <vdr@linuxtv.org>\n" "Language-Team: Estonian <vdr@linuxtv.org>\n"
@ -410,6 +410,9 @@ msgstr "Sinine"
msgid "Key$Info" msgid "Key$Info"
msgstr "Info" msgstr "Info"
msgid "Key$Play/Pause"
msgstr ""
msgid "Key$Play" msgid "Key$Play"
msgstr "Start" msgstr "Start"

View File

@ -10,7 +10,7 @@ msgid ""
msgstr "" msgstr ""
"Project-Id-Version: VDR 1.6.0\n" "Project-Id-Version: VDR 1.6.0\n"
"Report-Msgid-Bugs-To: <vdr-bugs@tvdr.de>\n" "Report-Msgid-Bugs-To: <vdr-bugs@tvdr.de>\n"
"POT-Creation-Date: 2012-11-18 14:31+0100\n" "POT-Creation-Date: 2012-12-04 14:36+0100\n"
"PO-Revision-Date: 2007-08-15 15:52+0200\n" "PO-Revision-Date: 2007-08-15 15:52+0200\n"
"Last-Translator: Rolf Ahrenberg <rahrenbe@cc.hut.fi>\n" "Last-Translator: Rolf Ahrenberg <rahrenbe@cc.hut.fi>\n"
"Language-Team: Finnish <vdr@linuxtv.org>\n" "Language-Team: Finnish <vdr@linuxtv.org>\n"
@ -413,6 +413,9 @@ msgstr "Sininen"
msgid "Key$Info" msgid "Key$Info"
msgstr "Tiedot" msgstr "Tiedot"
msgid "Key$Play/Pause"
msgstr ""
msgid "Key$Play" msgid "Key$Play"
msgstr "Toista" msgstr "Toista"

View File

@ -13,7 +13,7 @@ msgid ""
msgstr "" msgstr ""
"Project-Id-Version: VDR 1.6.0\n" "Project-Id-Version: VDR 1.6.0\n"
"Report-Msgid-Bugs-To: <vdr-bugs@tvdr.de>\n" "Report-Msgid-Bugs-To: <vdr-bugs@tvdr.de>\n"
"POT-Creation-Date: 2012-11-18 14:31+0100\n" "POT-Creation-Date: 2012-12-04 14:36+0100\n"
"PO-Revision-Date: 2008-02-27 18:14+0100\n" "PO-Revision-Date: 2008-02-27 18:14+0100\n"
"Last-Translator: Jean-Claude Repetto <jc@repetto.org>\n" "Last-Translator: Jean-Claude Repetto <jc@repetto.org>\n"
"Language-Team: French <vdr@linuxtv.org>\n" "Language-Team: French <vdr@linuxtv.org>\n"
@ -416,6 +416,9 @@ msgstr "Bleu"
msgid "Key$Info" msgid "Key$Info"
msgstr "Info" msgstr "Info"
msgid "Key$Play/Pause"
msgstr ""
msgid "Key$Play" msgid "Key$Play"
msgstr "Lecture" msgstr "Lecture"

View File

@ -9,7 +9,7 @@ msgid ""
msgstr "" msgstr ""
"Project-Id-Version: VDR 1.6.0\n" "Project-Id-Version: VDR 1.6.0\n"
"Report-Msgid-Bugs-To: <vdr-bugs@tvdr.de>\n" "Report-Msgid-Bugs-To: <vdr-bugs@tvdr.de>\n"
"POT-Creation-Date: 2012-11-18 14:31+0100\n" "POT-Creation-Date: 2012-12-04 14:36+0100\n"
"PO-Revision-Date: 2008-03-17 19:00+0100\n" "PO-Revision-Date: 2008-03-17 19:00+0100\n"
"Last-Translator: Adrian Caval <anrxc@sysphere.org>\n" "Last-Translator: Adrian Caval <anrxc@sysphere.org>\n"
"Language-Team: Croatian <vdr@linuxtv.org>\n" "Language-Team: Croatian <vdr@linuxtv.org>\n"
@ -412,6 +412,9 @@ msgstr "Plavo"
msgid "Key$Info" msgid "Key$Info"
msgstr "Info" msgstr "Info"
msgid "Key$Play/Pause"
msgstr ""
msgid "Key$Play" msgid "Key$Play"
msgstr "Start" msgstr "Start"

View File

@ -10,7 +10,7 @@ msgid ""
msgstr "" msgstr ""
"Project-Id-Version: VDR 1.6.0\n" "Project-Id-Version: VDR 1.6.0\n"
"Report-Msgid-Bugs-To: <vdr-bugs@tvdr.de>\n" "Report-Msgid-Bugs-To: <vdr-bugs@tvdr.de>\n"
"POT-Creation-Date: 2012-11-18 14:31+0100\n" "POT-Creation-Date: 2012-12-04 14:36+0100\n"
"PO-Revision-Date: 2012-01-02 11:54+0200\n" "PO-Revision-Date: 2012-01-02 11:54+0200\n"
"Last-Translator: István Füley <ifuley@tigercomp.ro>\n" "Last-Translator: István Füley <ifuley@tigercomp.ro>\n"
"Language-Team: Hungarian <vdr@linuxtv.org>\n" "Language-Team: Hungarian <vdr@linuxtv.org>\n"
@ -413,6 +413,9 @@ msgstr "K
msgid "Key$Info" msgid "Key$Info"
msgstr "Információ" msgstr "Információ"
msgid "Key$Play/Pause"
msgstr ""
msgid "Key$Play" msgid "Key$Play"
msgstr "Lejátszás" msgstr "Lejátszás"

View File

@ -11,7 +11,7 @@ msgid ""
msgstr "" msgstr ""
"Project-Id-Version: VDR 1.6.0\n" "Project-Id-Version: VDR 1.6.0\n"
"Report-Msgid-Bugs-To: <vdr-bugs@tvdr.de>\n" "Report-Msgid-Bugs-To: <vdr-bugs@tvdr.de>\n"
"POT-Creation-Date: 2012-11-18 14:31+0100\n" "POT-Creation-Date: 2012-12-04 14:36+0100\n"
"PO-Revision-Date: 2012-06-06 22:50+0100\n" "PO-Revision-Date: 2012-06-06 22:50+0100\n"
"Last-Translator: Diego Pierotto <vdr-italian@tiscali.it>\n" "Last-Translator: Diego Pierotto <vdr-italian@tiscali.it>\n"
"Language-Team: Italian <vdr@linuxtv.org>\n" "Language-Team: Italian <vdr@linuxtv.org>\n"
@ -417,6 +417,9 @@ msgstr "Blu"
msgid "Key$Info" msgid "Key$Info"
msgstr "Info" msgstr "Info"
msgid "Key$Play/Pause"
msgstr ""
msgid "Key$Play" msgid "Key$Play"
msgstr "Riproduci" msgstr "Riproduci"

View File

@ -7,7 +7,7 @@ msgid ""
msgstr "" msgstr ""
"Project-Id-Version: VDR 1.7.16\n" "Project-Id-Version: VDR 1.7.16\n"
"Report-Msgid-Bugs-To: <vdr-bugs@tvdr.de>\n" "Report-Msgid-Bugs-To: <vdr-bugs@tvdr.de>\n"
"POT-Creation-Date: 2012-11-18 14:31+0100\n" "POT-Creation-Date: 2012-12-04 14:36+0100\n"
"PO-Revision-Date: 2010-10-30 11:55+0200\n" "PO-Revision-Date: 2010-10-30 11:55+0200\n"
"Last-Translator: Valdemaras Pipiras <varas@ambernet.lt>\n" "Last-Translator: Valdemaras Pipiras <varas@ambernet.lt>\n"
"Language-Team: Lithuanian <vdr@linuxtv.org>\n" "Language-Team: Lithuanian <vdr@linuxtv.org>\n"
@ -410,6 +410,9 @@ msgstr "Mėlyna"
msgid "Key$Info" msgid "Key$Info"
msgstr "Info" msgstr "Info"
msgid "Key$Play/Pause"
msgstr ""
msgid "Key$Play" msgid "Key$Play"
msgstr "Grona" msgstr "Grona"

View File

@ -7,7 +7,7 @@ msgid ""
msgstr "" msgstr ""
"Project-Id-Version: VDR-1.7.14\n" "Project-Id-Version: VDR-1.7.14\n"
"Report-Msgid-Bugs-To: <vdr-bugs@tvdr.de>\n" "Report-Msgid-Bugs-To: <vdr-bugs@tvdr.de>\n"
"POT-Creation-Date: 2012-11-19 13:33+0100\n" "POT-Creation-Date: 2012-12-04 14:36+0100\n"
"PO-Revision-Date: 2012-11-19 15:18+0100\n" "PO-Revision-Date: 2012-11-19 15:18+0100\n"
"Last-Translator: Dimitar Petrovski <dimeptr@gmail.com>\n" "Last-Translator: Dimitar Petrovski <dimeptr@gmail.com>\n"
"Language-Team: Macedonian <en@li.org>\n" "Language-Team: Macedonian <en@li.org>\n"
@ -411,6 +411,9 @@ msgstr "Сино"
msgid "Key$Info" msgid "Key$Info"
msgstr "Инфо" msgstr "Инфо"
msgid "Key$Play/Pause"
msgstr ""
msgid "Key$Play" msgid "Key$Play"
msgstr "Старт" msgstr "Старт"

View File

@ -11,7 +11,7 @@ msgid ""
msgstr "" msgstr ""
"Project-Id-Version: VDR 1.6.0\n" "Project-Id-Version: VDR 1.6.0\n"
"Report-Msgid-Bugs-To: <vdr-bugs@tvdr.de>\n" "Report-Msgid-Bugs-To: <vdr-bugs@tvdr.de>\n"
"POT-Creation-Date: 2012-11-18 14:31+0100\n" "POT-Creation-Date: 2012-12-04 14:36+0100\n"
"PO-Revision-Date: 2008-02-26 17:20+0100\n" "PO-Revision-Date: 2008-02-26 17:20+0100\n"
"Last-Translator: Johan Schuring <johan.schuring@vetteblei.nl>\n" "Last-Translator: Johan Schuring <johan.schuring@vetteblei.nl>\n"
"Language-Team: Dutch <vdr@linuxtv.org>\n" "Language-Team: Dutch <vdr@linuxtv.org>\n"
@ -414,6 +414,9 @@ msgstr "Blauw"
msgid "Key$Info" msgid "Key$Info"
msgstr "Info" msgstr "Info"
msgid "Key$Play/Pause"
msgstr ""
msgid "Key$Play" msgid "Key$Play"
msgstr "Weergeven" msgstr "Weergeven"

View File

@ -8,7 +8,7 @@ msgid ""
msgstr "" msgstr ""
"Project-Id-Version: VDR 1.6.0\n" "Project-Id-Version: VDR 1.6.0\n"
"Report-Msgid-Bugs-To: <vdr-bugs@tvdr.de>\n" "Report-Msgid-Bugs-To: <vdr-bugs@tvdr.de>\n"
"POT-Creation-Date: 2012-11-18 14:31+0100\n" "POT-Creation-Date: 2012-12-04 14:36+0100\n"
"PO-Revision-Date: 2007-08-12 14:17+0200\n" "PO-Revision-Date: 2007-08-12 14:17+0200\n"
"Last-Translator: Truls Slevigen <truls@slevigen.no>\n" "Last-Translator: Truls Slevigen <truls@slevigen.no>\n"
"Language-Team: Norwegian Nynorsk <vdr@linuxtv.org>\n" "Language-Team: Norwegian Nynorsk <vdr@linuxtv.org>\n"
@ -411,6 +411,9 @@ msgstr "Bl
msgid "Key$Info" msgid "Key$Info"
msgstr "" msgstr ""
msgid "Key$Play/Pause"
msgstr ""
msgid "Key$Play" msgid "Key$Play"
msgstr "" msgstr ""

View File

@ -8,7 +8,7 @@ msgid ""
msgstr "" msgstr ""
"Project-Id-Version: VDR 1.6.0\n" "Project-Id-Version: VDR 1.6.0\n"
"Report-Msgid-Bugs-To: <vdr-bugs@tvdr.de>\n" "Report-Msgid-Bugs-To: <vdr-bugs@tvdr.de>\n"
"POT-Creation-Date: 2012-11-18 14:31+0100\n" "POT-Creation-Date: 2012-12-04 14:36+0100\n"
"PO-Revision-Date: 2008-03-09 12:59+0100\n" "PO-Revision-Date: 2008-03-09 12:59+0100\n"
"Last-Translator: Michael Rakowski <mrak@gmx.de>\n" "Last-Translator: Michael Rakowski <mrak@gmx.de>\n"
"Language-Team: Polish <vdr@linuxtv.org>\n" "Language-Team: Polish <vdr@linuxtv.org>\n"
@ -411,6 +411,9 @@ msgstr "Niebieski"
msgid "Key$Info" msgid "Key$Info"
msgstr "Info" msgstr "Info"
msgid "Key$Play/Pause"
msgstr ""
msgid "Key$Play" msgid "Key$Play"
msgstr "Odtwórz" msgstr "Odtwórz"

View File

@ -8,7 +8,7 @@ msgid ""
msgstr "" msgstr ""
"Project-Id-Version: VDR 1.7.15\n" "Project-Id-Version: VDR 1.7.15\n"
"Report-Msgid-Bugs-To: <vdr-bugs@tvdr.de>\n" "Report-Msgid-Bugs-To: <vdr-bugs@tvdr.de>\n"
"POT-Creation-Date: 2012-11-18 14:31+0100\n" "POT-Creation-Date: 2012-12-04 14:36+0100\n"
"PO-Revision-Date: 2010-03-28 22:49+0100\n" "PO-Revision-Date: 2010-03-28 22:49+0100\n"
"Last-Translator: Cris Silva <hudokkow@gmail.com>\n" "Last-Translator: Cris Silva <hudokkow@gmail.com>\n"
"Language-Team: Portuguese <vdr@linuxtv.org>\n" "Language-Team: Portuguese <vdr@linuxtv.org>\n"
@ -411,6 +411,9 @@ msgstr "Azul"
msgid "Key$Info" msgid "Key$Info"
msgstr "Info" msgstr "Info"
msgid "Key$Play/Pause"
msgstr ""
msgid "Key$Play" msgid "Key$Play"
msgstr "Reproduzir" msgstr "Reproduzir"

View File

@ -8,7 +8,7 @@ msgid ""
msgstr "" msgstr ""
"Project-Id-Version: VDR 1.7.12\n" "Project-Id-Version: VDR 1.7.12\n"
"Report-Msgid-Bugs-To: <vdr-bugs@tvdr.de>\n" "Report-Msgid-Bugs-To: <vdr-bugs@tvdr.de>\n"
"POT-Creation-Date: 2012-11-18 14:31+0100\n" "POT-Creation-Date: 2012-12-04 14:36+0100\n"
"PO-Revision-Date: 2012-11-05 01:28+0100\n" "PO-Revision-Date: 2012-11-05 01:28+0100\n"
"Last-Translator: Lucian Muresan <lucianm@users.sourceforge.net>\n" "Last-Translator: Lucian Muresan <lucianm@users.sourceforge.net>\n"
"Language-Team: Romanian <vdr@linuxtv.org>\n" "Language-Team: Romanian <vdr@linuxtv.org>\n"
@ -413,6 +413,9 @@ msgstr "Albastru"
msgid "Key$Info" msgid "Key$Info"
msgstr "Info" msgstr "Info"
msgid "Key$Play/Pause"
msgstr ""
msgid "Key$Play" msgid "Key$Play"
msgstr "Redare" msgstr "Redare"

View File

@ -8,7 +8,7 @@ msgid ""
msgstr "" msgstr ""
"Project-Id-Version: VDR 1.6.0\n" "Project-Id-Version: VDR 1.6.0\n"
"Report-Msgid-Bugs-To: <vdr-bugs@tvdr.de>\n" "Report-Msgid-Bugs-To: <vdr-bugs@tvdr.de>\n"
"POT-Creation-Date: 2012-11-18 14:31+0100\n" "POT-Creation-Date: 2012-12-04 14:36+0100\n"
"PO-Revision-Date: 2008-12-15 14:37+0100\n" "PO-Revision-Date: 2008-12-15 14:37+0100\n"
"Last-Translator: Oleg Roitburd <oleg@roitburd.de>\n" "Last-Translator: Oleg Roitburd <oleg@roitburd.de>\n"
"Language-Team: Russian <vdr@linuxtv.org>\n" "Language-Team: Russian <vdr@linuxtv.org>\n"
@ -411,6 +411,9 @@ msgstr "
msgid "Key$Info" msgid "Key$Info"
msgstr "¸ÝäÞ" msgstr "¸ÝäÞ"
msgid "Key$Play/Pause"
msgstr ""
msgid "Key$Play" msgid "Key$Play"
msgstr "²ÞáßàÞØ×ÒÕÔÕÝØÕ" msgstr "²ÞáßàÞØ×ÒÕÔÕÝØÕ"

View File

@ -7,7 +7,7 @@ msgid ""
msgstr "" msgstr ""
"Project-Id-Version: VDR 1.7.16\n" "Project-Id-Version: VDR 1.7.16\n"
"Report-Msgid-Bugs-To: <vdr-bugs@tvdr.de>\n" "Report-Msgid-Bugs-To: <vdr-bugs@tvdr.de>\n"
"POT-Creation-Date: 2012-11-18 14:31+0100\n" "POT-Creation-Date: 2012-12-04 14:36+0100\n"
"PO-Revision-Date: 2011-02-15 16:29+0100\n" "PO-Revision-Date: 2011-02-15 16:29+0100\n"
"Last-Translator: Milan Hrala <hrala.milan@gmail.com>\n" "Last-Translator: Milan Hrala <hrala.milan@gmail.com>\n"
"Language-Team: Slovak <vdr@linuxtv.org>\n" "Language-Team: Slovak <vdr@linuxtv.org>\n"
@ -410,6 +410,9 @@ msgstr "Modr
msgid "Key$Info" msgid "Key$Info"
msgstr "Info" msgstr "Info"
msgid "Key$Play/Pause"
msgstr ""
msgid "Key$Play" msgid "Key$Play"
msgstr "Prehra»" msgstr "Prehra»"

View File

@ -8,7 +8,7 @@ msgid ""
msgstr "" msgstr ""
"Project-Id-Version: VDR 1.6.0\n" "Project-Id-Version: VDR 1.6.0\n"
"Report-Msgid-Bugs-To: <vdr-bugs@tvdr.de>\n" "Report-Msgid-Bugs-To: <vdr-bugs@tvdr.de>\n"
"POT-Creation-Date: 2012-11-18 14:31+0100\n" "POT-Creation-Date: 2012-12-04 14:36+0100\n"
"PO-Revision-Date: 2008-02-28 19:44+0100\n" "PO-Revision-Date: 2008-02-28 19:44+0100\n"
"Last-Translator: Matjaz Thaler <matjaz.thaler@guest.arnes.si>\n" "Last-Translator: Matjaz Thaler <matjaz.thaler@guest.arnes.si>\n"
"Language-Team: Slovenian <vdr@linuxtv.org>\n" "Language-Team: Slovenian <vdr@linuxtv.org>\n"
@ -411,6 +411,9 @@ msgstr "Modra"
msgid "Key$Info" msgid "Key$Info"
msgstr "Info" msgstr "Info"
msgid "Key$Play/Pause"
msgstr ""
msgid "Key$Play" msgid "Key$Play"
msgstr "Predvajaj" msgstr "Predvajaj"

View File

@ -7,7 +7,7 @@ msgid ""
msgstr "" msgstr ""
"Project-Id-Version: VDR 1.7.1\n" "Project-Id-Version: VDR 1.7.1\n"
"Report-Msgid-Bugs-To: <vdr-bugs@tvdr.de>\n" "Report-Msgid-Bugs-To: <vdr-bugs@tvdr.de>\n"
"POT-Creation-Date: 2012-11-18 14:31+0100\n" "POT-Creation-Date: 2012-12-04 14:36+0100\n"
"PO-Revision-Date: 2011-01-09 15:57+0100\n" "PO-Revision-Date: 2011-01-09 15:57+0100\n"
"Last-Translator: Milan Cvijanoviæ <elcom_cvijo@hotmail.com>\n" "Last-Translator: Milan Cvijanoviæ <elcom_cvijo@hotmail.com>\n"
"Language-Team: Serbian <vdr@linuxtv.org>\n" "Language-Team: Serbian <vdr@linuxtv.org>\n"
@ -412,6 +412,9 @@ msgstr "Plavo"
msgid "Key$Info" msgid "Key$Info"
msgstr "Info" msgstr "Info"
msgid "Key$Play/Pause"
msgstr ""
msgid "Key$Play" msgid "Key$Play"
msgstr "Start" msgstr "Start"

View File

@ -10,7 +10,7 @@ msgid ""
msgstr "" msgstr ""
"Project-Id-Version: VDR 1.6.0\n" "Project-Id-Version: VDR 1.6.0\n"
"Report-Msgid-Bugs-To: <vdr-bugs@tvdr.de>\n" "Report-Msgid-Bugs-To: <vdr-bugs@tvdr.de>\n"
"POT-Creation-Date: 2012-11-18 14:31+0100\n" "POT-Creation-Date: 2012-12-04 14:36+0100\n"
"PO-Revision-Date: 2008-03-12 18:25+0100\n" "PO-Revision-Date: 2008-03-12 18:25+0100\n"
"Last-Translator: Magnus Andersson <svankan@bahnhof.se>\n" "Last-Translator: Magnus Andersson <svankan@bahnhof.se>\n"
"Language-Team: Swedish <vdr@linuxtv.org>\n" "Language-Team: Swedish <vdr@linuxtv.org>\n"
@ -413,6 +413,9 @@ msgstr "Bl
msgid "Key$Info" msgid "Key$Info"
msgstr "Info" msgstr "Info"
msgid "Key$Play/Pause"
msgstr ""
msgid "Key$Play" msgid "Key$Play"
msgstr "Spela upp" msgstr "Spela upp"

View File

@ -7,7 +7,7 @@ msgid ""
msgstr "" msgstr ""
"Project-Id-Version: VDR 1.6.0\n" "Project-Id-Version: VDR 1.6.0\n"
"Report-Msgid-Bugs-To: <vdr-bugs@tvdr.de>\n" "Report-Msgid-Bugs-To: <vdr-bugs@tvdr.de>\n"
"POT-Creation-Date: 2012-11-18 14:31+0100\n" "POT-Creation-Date: 2012-12-04 14:36+0100\n"
"PO-Revision-Date: 2008-02-28 00:33+0100\n" "PO-Revision-Date: 2008-02-28 00:33+0100\n"
"Last-Translator: Oktay Yolgeçen <oktay_73@yahoo.de>\n" "Last-Translator: Oktay Yolgeçen <oktay_73@yahoo.de>\n"
"Language-Team: Turkish <vdr@linuxtv.org>\n" "Language-Team: Turkish <vdr@linuxtv.org>\n"
@ -410,6 +410,9 @@ msgstr "Mavi"
msgid "Key$Info" msgid "Key$Info"
msgstr "Bilgi" msgstr "Bilgi"
msgid "Key$Play/Pause"
msgstr ""
msgid "Key$Play" msgid "Key$Play"
msgstr "Göster" msgstr "Göster"

View File

@ -7,7 +7,7 @@ msgid ""
msgstr "" msgstr ""
"Project-Id-Version: VDR 1.7.7\n" "Project-Id-Version: VDR 1.7.7\n"
"Report-Msgid-Bugs-To: <vdr-bugs@tvdr.de>\n" "Report-Msgid-Bugs-To: <vdr-bugs@tvdr.de>\n"
"POT-Creation-Date: 2012-11-18 14:31+0100\n" "POT-Creation-Date: 2012-12-04 14:36+0100\n"
"PO-Revision-Date: 2010-04-25 16:35+0200\n" "PO-Revision-Date: 2010-04-25 16:35+0200\n"
"Last-Translator: Yarema aka Knedlyk <yupadmin@gmail.com>\n" "Last-Translator: Yarema aka Knedlyk <yupadmin@gmail.com>\n"
"Language-Team: Ukrainian <vdr@linuxtv.org>\n" "Language-Team: Ukrainian <vdr@linuxtv.org>\n"
@ -410,6 +410,9 @@ msgstr "Синя"
msgid "Key$Info" msgid "Key$Info"
msgstr "Інфо" msgstr "Інфо"
msgid "Key$Play/Pause"
msgstr ""
msgid "Key$Play" msgid "Key$Play"
msgstr "Програвання" msgstr "Програвання"

View File

@ -7,7 +7,7 @@ msgid ""
msgstr "" msgstr ""
"Project-Id-Version: VDR 1.6.0\n" "Project-Id-Version: VDR 1.6.0\n"
"Report-Msgid-Bugs-To: <vdr-bugs@tvdr.de>\n" "Report-Msgid-Bugs-To: <vdr-bugs@tvdr.de>\n"
"POT-Creation-Date: 2012-11-18 14:31+0100\n" "POT-Creation-Date: 2012-12-04 14:36+0100\n"
"PO-Revision-Date: 2009-09-23 23:50+0800\n" "PO-Revision-Date: 2009-09-23 23:50+0800\n"
"Last-Translator: Nan Feng <nfgx@21cn.com>\n" "Last-Translator: Nan Feng <nfgx@21cn.com>\n"
"Language-Team: Chinese (simplified) <vdr@linuxtv.org>\n" "Language-Team: Chinese (simplified) <vdr@linuxtv.org>\n"
@ -413,6 +413,9 @@ msgstr "蓝"
msgid "Key$Info" msgid "Key$Info"
msgstr "信息" msgstr "信息"
msgid "Key$Play/Pause"
msgstr ""
msgid "Key$Play" msgid "Key$Play"
msgstr "播放" msgstr "播放"

3
vdr.c
View File

@ -22,7 +22,7 @@
* *
* The project's page is at http://www.tvdr.de * The project's page is at http://www.tvdr.de
* *
* $Id: vdr.c 2.43 2012/12/03 13:24:39 kls Exp $ * $Id: vdr.c 2.44 2012/12/04 12:55:02 kls Exp $
*/ */
#include <getopt.h> #include <getopt.h>
@ -1089,6 +1089,7 @@ int main(int argc, char *argv[])
key = kNone; key = kNone;
break; break;
// Pausing live video: // Pausing live video:
case kPlayPause:
case kPause: case kPause:
if (!cControl::Control()) { if (!cControl::Control()) {
DELETE_MENU; DELETE_MENU;