kodi: add patch to change remote power button behaviour to show shutdown menu

Signed-off-by: Matthias Reichl <hias@horus.com>
This commit is contained in:
Matthias Reichl 2023-09-22 23:50:58 +02:00 committed by Rudi Heitbaum
parent 53d215662e
commit df99a7e897

View File

@ -0,0 +1,26 @@
From e3a7668556c49c686caf953bf64da00c6655d2a2 Mon Sep 17 00:00:00 2001
From: Matthias Reichl <hias@horus.com>
Date: Fri, 22 Sep 2023 23:41:51 +0200
Subject: [PATCH] keymaps: change remote poweroff action to show shutdown menu
Signed-off-by: Matthias Reichl <hias@horus.com>
---
system/keymaps/remote.xml | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/system/keymaps/remote.xml b/system/keymaps/remote.xml
index 5c0baf7e9d22..10f802d0357d 100644
--- a/system/keymaps/remote.xml
+++ b/system/keymaps/remote.xml
@@ -50,7 +50,7 @@
<volumeplus>VolumeUp</volumeplus>
<volumeminus>VolumeDown</volumeminus>
<mute>Mute</mute>
- <power>ShutDown()</power>
+ <power>ActivateWindow(ShutdownMenu)</power>
<myvideo>ActivateWindow(Videos)</myvideo>
<mymusic>ActivateWindow(Music)</mymusic>
<mypictures>ActivateWindow(Pictures)</mypictures>
--
2.39.2