Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP

Loading…

remove this message #23

Closed
wants to merge 2 commits into from

5 participants

Persian Professionals Sjaaky meo NietGiftig plnick
Persian Professionals

remove this message

Sjaaky
Owner

Adding the Technomate is no problem.
I don't know if I like the new spinner. What do others think?

Persian Professionals

new spinner is 3D and i think it's better :)

Persian Professionals

also unknown.jpg is 3D with better quality :)

Persian Professionals

and please remove old pull : #21

meo
Owner

Absolutely not agree with your graphics changes.
If you want to change graphics please fork the repo and make your own version.
Also to extend support to too many boxes is not a good idea in my opinion because this cause that the plugins will go to be always too much heavy and big. I think that it could be better to support only the main factory boxes in the original OpenWebif and to create separate forks for others minors boxes or clone boxes.

NietGiftig

I agree with lupomeo

plnick
Owner

I also agree with lupomeo

Jörg Bleyel jbleyel referenced this pull request
Closed

remove this message #21

meo lupomeo closed this
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Commits on Sep 28, 2012
  1. Persian Professionals

    add Technomate support

    persianpros authored
  2. Persian Professionals

    new graphics

    persianpros authored
This page is out of date. Refresh to see the latest.
6 plugin/controllers/base.py
View
@@ -145,6 +145,8 @@ def prepareMainTemplate(self):
ret['box'] = open("/proc/stb/info/vumodel").read().strip()
elif fileExists("/proc/stb/info/azmodel"):
ret['box'] = open("/proc/stb/info/model").read().strip()
+ elif fileExists("/proc/stb/info/hwmodel"):
+ ret['box'] = open("/proc/stb/info/hwmodel").read().strip()
if ret["box"] == "duo" or ret["box"] == "solo" or ret["box"] == "uno":
@@ -167,6 +169,10 @@ def prepareMainTemplate(self):
ret["remote"] = "ini-3000"
elif ret["box"] == "ini-7000" or ret["box"] == "ini-5000":
ret["remote"] = "ini-7000"
+ elif ret["box"] == "TM-TWIN-OE":
+ ret["remote"] = "tm_twin"
+ elif ret["box"] == "TWIN":
+ ret["remote"] = "twin"
else:
ret["remote"] = "dmm"
5 plugin/controllers/models/info.py
View
@@ -77,6 +77,11 @@ def getInfo():
f = open("/proc/stb/info/vumodel",'r')
model = f.readline().strip()
f.close()
+ elif fileExists("/proc/stb/info/hwmodel"):
+ brand = "Technomate"
+ f = open("/proc/stb/info/hwmodel",'r')
+ model = f.readline().strip()
+ f.close()
elif fileExists("/proc/stb/info/azmodel"):
brand = "AZBOX"
f = open("/proc/stb/info/model",'r')
2  plugin/controllers/views/ajax/about.tmpl
View
@@ -7,7 +7,7 @@
<h1>Version: $info.owiver</h1>
<h2>Site and sources: <a href='https://github.com/E2OpenPlugins/e2openplugin-OpenWebif'>Github</a></h2>
<hr />
- <img src="images/about.jpg" alt="about">
+ <img src="images/about.png" alt="about">
<hr />
<br/>
<h1>Authors</h1>
2  plugin/controllers/views/main.tmpl
View
@@ -192,7 +192,7 @@
<div id="content_container">
$content
</div>
- <div id="footer"><h3>&nbsp;&nbsp;<a href="https://github.com/E2OpenPlugins">E2OpenPlugins</a> | <a href="http://www.vuplus-community.net">Black Hole</a> | <a href="http://openpli.org">OpenPli</a> | <a href="http://forum.sifteam.eu">Sif</a> | <a href="http://www.vuplus-support.org">Vti</a></h3></div>
+ <div id="footer"><h3>&nbsp;&nbsp;<a href="https://github.com/E2OpenPlugins">E2OpenPlugins</a> | <a href="http://www.vuplus-community.net">Black Hole</a> | <a href="http://openpli.org">OpenPli</a> | <a href="http://forum.sifteam.eu">Sif</a> | <a href="http://www.vuplus-support.org">Vti</a> | <a href="http://persianpros.org">Persian Professionals</h3></div>
</div>
</div>
</body>
BIN  plugin/public/images/about.png
View
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
BIN  plugin/public/images/boxes/TWIN.jpg
View
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
BIN  plugin/public/images/boxes/unknown.jpg
View
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
BIN  plugin/public/images/remotes/twin.png
View
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
BIN  plugin/public/images/spinner.gif
View
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
93 plugin/public/static/remotes/twin.html
View
@@ -0,0 +1,93 @@
+<img border='0' src='/images/remotes/twin.png' usemap='#map' >
+<map name="map">
+ <area shape="rect" coords="98,62,118,72" id="113" alt="mute" onclick="pressMenuRemote('113');">
+ <area shape="rect" coords="105,28,15" id ="116" alt="Power" onclick="pressMenuRemote('116');">
+ <area shape="rect" coords="33,53,15" id ="388" alt="text" onclick="pressMenuRemote('388');">
+ <area shape="rect" coords="58,53,15" id ="370" alt="subtitle" onclick="pressMenuRemote('370');">
+ <area shape="rect" coords="82,53,15" id ="102" alt="home" onclick="pressMenuRemote('102');">
+ <area shape="rect" coords="105,53,15" id ="107" alt="end" onclick="pressMenuRemote('107');">
+
+ <area shape="rect" coords="20,62,40,72" id ="2" alt="1" onclick="pressMenuRemote('2');">
+ <area shape="rect" coords="46,62,66,72" id ="3" alt="2" onclick="pressMenuRemote('3');">
+ <area shape="rect" coords="72,62,92,72" id ="4" alt="3" onclick="pressMenuRemote('4');">
+ <area shape="rect" coords="20,78,40,88" id ="5" alt="4" onclick="pressMenuRemote('5');">
+ <area shape="rect" coords="46,78,66,88" id ="6" alt="5" onclick="pressMenuRemote('6');">
+ <area shape="rect" coords="72,78,92,88" id ="7" alt="6" onclick="pressMenuRemote('7');">
+ <area shape="rect" coords="20,96,40,106" id ="8" alt="7" onclick="pressMenuRemote('8');">
+ <area shape="rect" coords="46,96,66,106" id ="9" alt="8" onclick="pressMenuRemote('9');">
+ <area shape="rect" coords="72,62,92,106" id ="10" alt="9" onclick="pressMenuRemote('10');">
+ <area shape="rect" coords="46,112,66,125" id ="11" alt="0" onclick="pressMenuRemote('11');">
+
+ <!-- Added Key -->
+ <area shape="rect" coords="96,95,118,107" id="59" alt="Lan" onclick="pressMenuRemote(59);">
+ <area shape="circle" coords="104,214,18" id ="174" alt="exit" onclick="pressMenuRemote('174');">
+
+ <area shape="rect" coords="94,134,117,154" id ="402" alt="channelup" onclick="pressMenuRemote('402');">
+ <area shape="rect" coords="94,174,117,194" id ="403" alt="channeldown" onclick="pressMenuRemote('403');">
+
+ <area shape="rect" coords="20,134,40,154" id ="115" alt="volume up" onclick="pressMenuRemote('115');">
+ <area shape="rect" coords="20,174,40,194" id ="114" alt="volume down" onclick="pressMenuRemote('114');">
+
+ <area shape="rect" coords="20,112,40,125" id ="412" alt="previous" onclick="pressMenuRemote('412');">
+ <area shape="rect" coords="72,112,92,125" id ="407" alt="next" onclick="pressMenuRemote('407');">
+
+ <area shape="rect" coords="20,323,41,332" id ="398" alt="red" onclick="pressMenuRemote('398');">
+ <area shape="rect" coords="45,323,66,332" id ="399" alt="green" onclick="pressMenuRemote('399');">
+ <area shape="rect" coords="70,323,91,332" id ="400" alt="yellow" onclick="pressMenuRemote('400');">
+ <area shape="rect" coords="95,323,116,332" id ="401" alt="blue" onclick="pressMenuRemote('401');">
+
+ <area shape="circle" coords="69,145,15" id="365" alt="EPGPressed" onclick="pressMenuRemote(365);">
+ <area shape="circle" coords="33,280,20" id="381" alt="openSatellites" onclick="pressMenuRemote(381);">
+
+ <area shape="rect" coords="98,342,118,355" id="362" alt="openTimerList" onclick="pressMenuRemote(362);">
+ <area shape="rect" coords="56,342,81,355" id="226" alt="showMediaPlayer" onclick="pressMenuRemote(226);">
+ <area shape="rect" coords="20,342,48,355" id="393" alt="showMovies" onclick="pressMenuRemote(393);">
+ <area shape="rect" coords="98,365,118,379" id="164" alt="timeshiftStart" onclick="pressMenuRemote(164);">
+ <area shape="rect" coords="57,365,83,379" id="167" alt="instantRecord" onclick="pressMenuRemote(167);">
+ <area shape="rect" coords="21,365,47,379" id="128" alt="timeshiftStop" onclick="pressMenuRemote(164);">
+
+
+ <!-- Fastforward , rewind -->
+ <area shape="rect" coords="98,389,118,402" id="208" alt="seekFwd" onclick="pressMenuRemote(208);">
+ <area shape="rect" coords="57,389,83,402" id="207" alt="playpauseService" onclick="pressMenuRemote(207);">
+ <area shape="rect" coords="21,389,47,402" id="168" alt="seekBack" onclick="pressMenuRemote(168);">
+
+ <!-- Key Radio, and Tv -->
+ <area shape="rect" coords="98,412,118,427" id="385" alt="keyRadio" onclick="pressMenuRemote(385);">
+ <area shape="rect" coords="21,412,83,427" id="377" alt="showTv" onclick="pressMenuRemote(377);">
+
+ <!-- Zoom , subtitle, teletext -->
+ <area shape="rect" coords="89,306,116,315" id="372" alt="ZoomInOut" onclick="pressMenuRemote(372);">
+ <area shape="rect" coords="55,306,83,315" id="370" alt="subtitleSelection" onclick="pressMenuRemote(370);">
+ <area shape="rect" coords="21,306,47,315" id="388" alt="startTeletext" onclick="pressMenuRemote(388);">
+
+ <!-- Power-->
+ <area shape="rect" coords="51,36,87,52" id="116" alt="power_down" onclick="pressMenuRemote(116);">
+
+ <!-- Rf modulator -->
+ <area shape="rect" coords="98,114,116,124" id="63" alt="showRFmod" onclick="pressMenuRemote(63);">
+
+ <area shape="circle" coords="70,213,15" id ="103" alt="up" onclick="pressMenuRemote('103');">
+ <area shape="circle" coords="70,283,15" id ="108" alt="down" onclick="pressMenuRemote('108');">
+ <area shape="circle" coords="35,248,15" id ="105" alt="left" onclick="pressMenuRemote('105');">
+ <area shape="circle" coords="105,248,15" id ="106" alt="right" onclick="pressMenuRemote('106');">
+
+ <area shape="circle" coords="70,248,20" id ="352" alt="OK" onclick="pressMenuRemote('352');">
+ <area shape="circle" coords="69,180,15" id ="392" alt="audio" onclick="pressMenuRemote('392');">
+
+ <area shape="circle" coords="32,214,18" id ="139" alt="menu" onclick="pressMenuRemote('139');">
+ <area shape="rect" coords="55,342,82,358" id ="167" alt="record" onclick="pressMenuRemote('167');">
+ <area shape="rect" coords="20,342,46,357" id ="393" alt="videoaltlast" onclick="pressMenuRemote('393');">
+
+ <area shape="rect" coords="98,78,118,88" id ="138" alt="help" onclick="pressMenuRemote('138');">
+
+ <area shape="circle" coords="36,383,15" id ="168" alt="rewind" onclick="pressMenuRemote('168');">
+ <area shape="circle" coords="59,383,15" id ="207" alt="play" onclick="pressMenuRemote('207');">
+ <area shape="circle" coords="81,383,15" id ="119" alt="pause" onclick="pressMenuRemote('119');">
+ <area shape="circle" coords="104,383,15" id ="208" alt="forward" onclick="pressMenuRemote('208');">
+ <area shape="circle" coords="36,405,15" id ="377" alt="tv" onclick="pressMenuRemote('377');">
+
+
+ <area shape="circle" coords="81,405,15" id ="128" alt="stop" onclick="pressMenuRemote('128');">
+ <area shape="circle" coords="104,405,15" id ="385" alt="radio" onclick="pressMenuRemote('385');">
+</map>
Something went wrong with that request. Please try again.