summaryrefslogtreecommitdiff
path: root/meta-openvuplus/recipes-vuplus/e2openplugins/files/openwebif_vu_box_remote.patch
blob: 270d8d537849639e86bfa7e5cda6a3b215859c02 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
diff --git a/plugin/controllers/ajax.py b/plugin/controllers/ajax.py
index 9add982..da2be4a 100644
--- a/plugin/controllers/ajax.py
+++ b/plugin/controllers/ajax.py
@@ -92,7 +92,9 @@ class AjaxController(BaseController):
 		info = getInfo()
 		type = getBoxType()
 
-		if fileExists(getPublicPath("/images/boxes/"+type+".jpg")):
+		if fileExists(getPublicPath("/images/boxes/"+type+".png")):
+			info["boximage"] = type+".png"
+		elif fileExists(getPublicPath("/images/boxes/"+type+".jpg")):
 			info["boximage"] = type+".jpg"
 		else:
 			info["boximage"] = "unknown.jpg"
diff --git a/plugin/controllers/models/owibranding.py b/plugin/controllers/models/owibranding.py
index 9b8f1e5..835cee5 100644
--- a/plugin/controllers/models/owibranding.py
+++ b/plugin/controllers/models/owibranding.py
@@ -277,6 +277,8 @@ def getAllInfo():
 		remote = "vu_duo2"
 	elif procmodel == "ultimo":
 		remote = "vu_ultimo"
+	elif procmodel == "uno4kse":
+		remote = "vu_brown"
 	elif procmodel == "e3hd":
 		remote = "e3hd"
 	elif procmodel in ("et9x00", "et9000", "et9200", "et9500"):
diff --git a/plugin/public/static/remotes/vu_brown.html b/plugin/public/static/remotes/vu_brown.html
new file mode 100644
index 0000000..b7835d3
--- /dev/null
+++ b/plugin/public/static/remotes/vu_brown.html
@@ -0,0 +1,47 @@
+<img border='0' src='images/remotes/vu_brown.png' usemap='#map' >
+<map name="map">
+	<area shape="circle" coords="71,276,15" id="113" alt="mute" onclick="pressMenuRemote('113');">
+	<area shape="circle" coords="110,26,15" id ="116" alt="Power" onclick="pressMenuRemote('116');">
+	<area shape="circle" coords="31,45,15" id ="388" alt="text" onclick="pressMenuRemote('388');">
+	<area shape="circle" coords="56,45,15" id ="370" alt="subtitle" onclick="pressMenuRemote('370');">
+	<area shape="circle" coords="36,65,15" id ="2" alt="1" onclick="pressMenuRemote('2');">
+	<area shape="circle" coords="68,65,15" id ="3" alt="2" onclick="pressMenuRemote('3');">
+	<area shape="circle" coords="103,65,15" id ="4" alt="3" onclick="pressMenuRemote('4');">
+	<area shape="circle" coords="36,87,15" id ="5" alt="4" onclick="pressMenuRemote('5');">
+	<area shape="circle" coords="68,87,15" id ="6" alt="5" onclick="pressMenuRemote('6');">
+	<area shape="circle" coords="103,87,15" id ="7" alt="6" onclick="pressMenuRemote('7');">
+	<area shape="circle" coords="36,106,15" id ="8" alt="7" onclick="pressMenuRemote('8');">
+	<area shape="circle" coords="68,106,15" id ="9" alt="8" onclick="pressMenuRemote('9');">
+	<area shape="circle" coords="103,106,15" id ="10" alt="9" onclick="pressMenuRemote('10');">
+	<area shape="circle" coords="69,129,15" id ="11" alt="0" onclick="pressMenuRemote('11');">
+	<area shape="circle" coords="36,131,15" id ="412" alt="previous" onclick="pressMenuRemote('412');">
+	<area shape="circle" coords="103,131,15" id ="407" alt="next" onclick="pressMenuRemote('407');">
+	<area shape="circle" coords="32,149,15" id ="398" alt="red" onclick="pressMenuRemote('398');">
+	<area shape="circle" coords="56,149,15" id ="399" alt="green" onclick="pressMenuRemote('399');">
+	<area shape="circle" coords="83,149,15" id ="400" alt="yellow" onclick="pressMenuRemote('400');">
+	<area shape="circle" coords="107,149,15" id ="401" alt="blue" onclick="pressMenuRemote('401');">
+	<area shape="circle" coords="69,177,15" id ="103" alt="up" onclick="pressMenuRemote('103');">
+	<area shape="circle" coords="69,226,15" id ="108" alt="down" onclick="pressMenuRemote('108');">
+	<area shape="circle" coords="45,201,15" id ="105" alt="left" onclick="pressMenuRemote('105');">
+	<area shape="circle" coords="95,201,15" id ="106" alt="right" onclick="pressMenuRemote('106');">
+	<area shape="circle" coords="69,201,20" id ="352" alt="OK" onclick="pressMenuRemote('352');">
+	<area shape="circle" coords="37,260,15" id ="115" alt="volume up" onclick="pressMenuRemote('115');">
+	<area shape="circle" coords="37,291,13" id ="114" alt="volume down" onclick="pressMenuRemote('114');">
+	<area shape="circle" coords="106,234,15" id ="174" alt="exit" onclick="pressMenuRemote('174');">
+	<area shape="circle" coords="33,234,15" id ="358" alt="epg" onclick="pressMenuRemote('358');">
+	<area shape="circle" coords="105,258,15" id ="402" alt="channelup" onclick="pressMenuRemote('402');">
+	<area shape="circle" coords="105,292,15" id ="403" alt="channeldown" onclick="pressMenuRemote('403');">
+	<area shape="circle" coords="105,170,15" id ="139" alt="menu" onclick="pressMenuRemote('139');">
+	<area shape="circle" coords="33,170,15" id ="393" alt="videoaltlast" onclick="pressMenuRemote('393');">
+	<area shape="circle" coords="68,260,15" id ="392" alt="audio" onclick="pressMenuRemote('392');">
+	<area shape="circle" coords="68,292,15" id ="176" alt="timer" onclick="pressMenuRemote('176');">
+	<area shape="circle" coords="110,46,15" id ="138" alt="help" onclick="pressMenuRemote('138');">
+	<area shape="circle" coords="33,314,15" id ="168" alt="rewind" onclick="pressMenuRemote('168');">
+	<area shape="circle" coords="58,314,15" id ="207" alt="play" onclick="pressMenuRemote('207');">
+	<area shape="circle" coords="82,314,15" id ="164" alt="pause" onclick="pressMenuRemote('164');">
+	<area shape="circle" coords="107,314,15" id ="208" alt="forward" onclick="pressMenuRemote('208');">
+	<area shape="circle" coords="34,334,15" id ="377" alt="tv" onclick="pressMenuRemote('377');">
+	<area shape="circle" coords="57,334,15" id ="167" alt="record" onclick="pressMenuRemote('167');">
+	<area shape="circle" coords="83,334,15" id ="128" alt="stop" onclick="pressMenuRemote('128');">
+	<area shape="circle" coords="107,334,15" id ="385" alt="radio" onclick="pressMenuRemote('385');">
+</map>