From 522189929cc5b44616b299ce77fa8c098c9f3913 Mon Sep 17 00:00:00 2001 From: Stephan Raue Date: Wed, 22 Sep 2010 21:35:45 +0200 Subject: [PATCH] xbmc-dharma: add patch for ps3_remote to be more quiet Signed-off-by: Stephan Raue --- .../xbmc-ps3_remote_be_more_quiet-0.1.diff | 33 +++++++++++++++++++ 1 file changed, 33 insertions(+) create mode 100644 packages/mediacenter/xbmc-dharma/patches/xbmc-ps3_remote_be_more_quiet-0.1.diff diff --git a/packages/mediacenter/xbmc-dharma/patches/xbmc-ps3_remote_be_more_quiet-0.1.diff b/packages/mediacenter/xbmc-dharma/patches/xbmc-ps3_remote_be_more_quiet-0.1.diff new file mode 100644 index 0000000000..350df94684 --- /dev/null +++ b/packages/mediacenter/xbmc-dharma/patches/xbmc-ps3_remote_be_more_quiet-0.1.diff @@ -0,0 +1,33 @@ +diff -Naur xbmc-dharma-33971/tools/EventClients/Clients/PS3 BD Remote/ps3_remote.py xbmc-dharma-33971.patch/tools/EventClients/Clients/PS3 BD Remote/ps3_remote.py +--- xbmc-dharma-33971/tools/EventClients/Clients/PS3 BD Remote/ps3_remote.py 2010-09-19 14:54:08.000000000 +0200 ++++ xbmc-dharma-33971.patch/tools/EventClients/Clients/PS3 BD Remote/ps3_remote.py 2010-09-22 19:58:26.000000000 +0200 +@@ -58,14 +58,13 @@ + global xbmc + target_connected = False + target_address = None +- while target_connected is False: +- xbmc.send_notification("Action Required!", +- "Hold Start+Enter on your remote.", +- bticon) +- print "Searching for %s" % target_name +- print "(Hold Start + Enter on remote to make it discoverable)" +- time.sleep(2) + ++ xbmc.send_notification("Action Required!","Hold Start+Enter on your remote.",bticon) ++ print "Searching for %s" % target_name ++ print "(Hold Start + Enter on remote to make it discoverable)" ++ time.sleep(2) ++ ++ while target_connected is False: + if not target_address: + try: + nearby_devices = bt_discover_devices() +@@ -109,7 +108,7 @@ + print "ERROR - Could Not Connect. Trying again..." + time.sleep(2) + else: +- xbmc.send_notification("Error", "No remotes were found.", bticon) ++# xbmc.send_notification("Error", "No remotes were found.", bticon) + print "Could not find BD Remote Control. Trying again..." + time.sleep(2) + return (remote,target_address)