From f311acdf8f97f20797d2c0b5a75d275e1bbe0606 Mon Sep 17 00:00:00 2001 From: Andreas Monzner Date: Mon, 15 Jun 2015 16:41:34 +0200 Subject: [PATCH] enigma2: add small fix for old remote control without pvr buttons --- ...tList-Timeshift-overlap-with-config..patch | 40 +++++++++++++++++++ .../enigma2/enigma2_4.2.3r1-dm7080.bb | 2 + 2 files changed, 42 insertions(+) create mode 100644 meta-opendreambox/recipes-dreambox/enigma2/enigma2-4.2.3r1-dm7080/0001-InfoBar-fix-EventList-Timeshift-overlap-with-config..patch diff --git a/meta-opendreambox/recipes-dreambox/enigma2/enigma2-4.2.3r1-dm7080/0001-InfoBar-fix-EventList-Timeshift-overlap-with-config..patch b/meta-opendreambox/recipes-dreambox/enigma2/enigma2-4.2.3r1-dm7080/0001-InfoBar-fix-EventList-Timeshift-overlap-with-config..patch new file mode 100644 index 00000000..a02ec156 --- /dev/null +++ b/meta-opendreambox/recipes-dreambox/enigma2/enigma2-4.2.3r1-dm7080/0001-InfoBar-fix-EventList-Timeshift-overlap-with-config..patch @@ -0,0 +1,40 @@ +From 981305510cc9d6d470837c6c118b945e64c8f4f7 Mon Sep 17 00:00:00 2001 +From: reichi +Date: Mon, 15 Jun 2015 11:14:43 +0200 +Subject: [PATCH] InfoBar: fix EventList/Timeshift overlap with + config.misc.rcused.value==1 + +--- + lib/python/Screens/InfoBarGenerics.py | 7 +++++-- + 1 file changed, 5 insertions(+), 2 deletions(-) + +diff --git a/usr/lib/enigma2/python/Screens/InfoBarGenerics.py b/usr/lib/enigma2/python/Screens/InfoBarGenerics.py +index 1f57aac..f3be1db 100644 +--- a/usr/lib/enigma2/python/Screens/InfoBarGenerics.py ++++ b/usr/lib/enigma2/python/Screens/InfoBarGenerics.py +@@ -597,6 +597,9 @@ class InfoBarEPG: + yellow = (self.openSingleServiceEPG, _("show single service EPG...")) + if config.misc.rcused.value == 0: + yellow = (self.audioSelection, _("Audio Options...")) ++ elif config.misc.rcused.value == 1: ++ yellow = (self.startTimeshift, _("start timeshift")) ++ + self["EPGActions"] = HelpableActionMap(self, "InfobarEPGActions", + { + "showEventInfo": (self.openEventView, _("show EPG...")), +@@ -2025,10 +2028,10 @@ class InfoBarAdditionalInfo: + def __init__(self): + self["RecordingPossible"] = Boolean(fixed=harddiskmanager.HDDCount() > 0 and config.misc.rcused.value == 1) + self["TimeshiftPossible"] = self["RecordingPossible"] +- self["ShowTimeshiftOnYellow"] = Boolean(fixed=(not config.misc.rcused.value in (0, 2))) + self["ShowAudioOnYellow"] = Boolean(fixed=config.misc.rcused.value == 0) ++ self["ShowTimeshiftOnYellow"] = Boolean(fixed=config.misc.rcused.value == 1) ++ self["ShowEventListOnYellow"] = Boolean(fixed=config.misc.rcused.value == 2) + self["ShowRecordOnRed"] = Boolean(fixed=config.misc.rcused.value == 1) +- self["ShowEventListOnYellow"] = Boolean(fixed=config.misc.rcused.value != 0) + self["ExtensionsAvailable"] = Boolean(fixed=1) + self["PendingNotification"] = Boolean(fixed=0) + +-- +1.7.10.4 + diff --git a/meta-opendreambox/recipes-dreambox/enigma2/enigma2_4.2.3r1-dm7080.bb b/meta-opendreambox/recipes-dreambox/enigma2/enigma2_4.2.3r1-dm7080.bb index 83585fea..f0d09393 100644 --- a/meta-opendreambox/recipes-dreambox/enigma2/enigma2_4.2.3r1-dm7080.bb +++ b/meta-opendreambox/recipes-dreambox/enigma2/enigma2_4.2.3r1-dm7080.bb @@ -3,6 +3,8 @@ SRC_URI[dm7080.sha256sum] = "10230387ae2b80b5bc5351838c91c467d3530b5d137b342316e require enigma2-bin-4.2.inc +SRC_URI += " file://0001-InfoBar-fix-EventList-Timeshift-overlap-with-config..patch" + COMPATIBLE_MACHINE = "^(dm820|dm7080)$" PRECOMPILED_ARCH = "${@d.getVar('PV', True).split('-')[1]}" -- 2.20.1