mirror of
https://github.com/LibreELEC/LibreELEC.tv.git
synced 2025-07-30 06:06:43 +00:00
xbmc-dharma: make PS3 remote more quiet
Signed-off-by: Stephan Raue <stephan@openelec.tv>
This commit is contained in:
parent
a7f1d849e1
commit
06eb539c08
@ -1,33 +1,29 @@
|
|||||||
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
|
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/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
|
+++ xbmc-dharma-33971.patch/tools/EventClients/Clients/PS3 BD Remote/ps3_remote.py 2010-09-25 22:30:55.174281890 +0200
|
||||||
@@ -58,14 +58,13 @@
|
@@ -59,9 +59,6 @@
|
||||||
global xbmc
|
|
||||||
target_connected = False
|
target_connected = False
|
||||||
target_address = None
|
target_address = None
|
||||||
- while target_connected is False:
|
while target_connected is False:
|
||||||
- xbmc.send_notification("Action Required!",
|
- xbmc.send_notification("Action Required!",
|
||||||
- "Hold Start+Enter on your remote.",
|
- "Hold Start+Enter on your remote.",
|
||||||
- bticon)
|
- bticon)
|
||||||
- print "Searching for %s" % target_name
|
print "Searching for %s" % target_name
|
||||||
- print "(Hold Start + Enter on remote to make it discoverable)"
|
print "(Hold Start + Enter on remote to make it discoverable)"
|
||||||
- time.sleep(2)
|
time.sleep(2)
|
||||||
|
@@ -72,7 +69,6 @@
|
||||||
|
except Exception, e:
|
||||||
|
print "Error performing bluetooth discovery"
|
||||||
|
print str(e)
|
||||||
|
- xbmc.send_notification("Error", "Unable to find devices.", bticon)
|
||||||
|
time.sleep(5)
|
||||||
|
continue
|
||||||
|
|
||||||
+ xbmc.send_notification("Action Required!","Hold Start+Enter on your remote.",bticon)
|
@@ -109,7 +105,6 @@
|
||||||
+ 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..."
|
print "ERROR - Could Not Connect. Trying again..."
|
||||||
time.sleep(2)
|
time.sleep(2)
|
||||||
else:
|
else:
|
||||||
- xbmc.send_notification("Error", "No remotes were found.", bticon)
|
- 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..."
|
print "Could not find BD Remote Control. Trying again..."
|
||||||
time.sleep(2)
|
time.sleep(2)
|
||||||
return (remote,target_address)
|
return (remote,target_address)
|
||||||
|
Loading…
x
Reference in New Issue
Block a user