OpenWebif [E2OpenPlugins]
Re: OpenWebif [E2OpenPlugins] #1301
Posted 17 November 2014 - 04:48
I hope I didn't start WW3.
2nd box: Gigablue Quad 4k 2xDVB-S2 FBC / 2xDVB-C / 1.8 TB HDD / OpenATV 6.2
testing boxes: Vu+ Duo² + AX Quadbox HD2400 + 2x Vu+ Solo² + Octagon SF4008
Sats & Pay-TV: Astra 19.2°E + Hotbird 13°E with Redlight / SCT HD / SES Astra HD- / Sky V14 / 4th empire propaganda TV
Card-Server: Raspberry Pi + IPv6-capable oscam
Router: Linksys WRT1900ACS w/ LEDE + Fritz!Box 7390
Re: OpenWebif [E2OpenPlugins] #1302
Posted 19 November 2014 - 21:25
Could someone check something?
Try to open a channel with parental control on it ,by clicking on the channel in openwebif.
Then nothing happends which is good.
But then click on the little tv in front of the bouquet name.
Then the channel starts to play.
Be aware that that also could happen to you ,so watch your kids.
i don't think that this is good.
ET10000+ Openpli 6.1,1m schotel 4x duo-lnb op vaste opstelling.
Momolights teensy 2.0 met 50 leds op een string ,150 channels
DM8000 Openpli 6.1 Release
Re: OpenWebif [E2OpenPlugins] #1303
Posted 3 December 2014 - 11:42
HI All,
Would someone be able to to help me with my issue?
I'm trying to simple ZAP chanells over webif/vu+ player(on android phone) - but nothing works..
no error message or what-so-ever ..
Do you guys know any magical tricks to fix this issue?
I've tried to use dreamDroid software as well, but this shows me that message (service XXXXXXX is blocked by parental control)
I'm 1000% sure its not.. cuase i dont have any chanells locket at all..
Please help..
M.
VU+Solo2
OpenPLi 7.0
Re: OpenWebif [E2OpenPlugins] #1304
Posted 13 December 2014 - 18:00
Please add this patch.
Correct reference for renamed services with add/change timers:
--- a/plugin/controllers/models/timers.py +++ b/plugin/controllers/models/timers.py @@ -214,9 +214,11 @@ def editTimer(session, serviceref, begin, end, name, description, disabled, justplay, afterEvent, dirname, tags, repeated, channelOld, beginOld, endOld, vpsinfo): # TODO: exception handling serviceref = unquote(serviceref) + channelOld_str = ':'.join(str(channelOld).split(':')[:11]) rt = session.nav.RecordTimer for timer in rt.timer_list + rt.processed_timers: - if str(timer.service_ref) == channelOld and int(timer.begin) == beginOld and int(timer.end) == endOld: + needed_ref = ':'.join(timer.service_ref.ref.toString().split(':')[:11]) == channelOld_str + if needed_ref and int(timer.begin) == beginOld and int(timer.end) == endOld: timer.service_ref = ServiceReference(serviceref) # TODO: start end time check timer.begin = int(float(begin)) @@ -267,9 +269,11 @@ def removeTimer(session, serviceref, begin, end): serviceref = unquote(serviceref) + serviceref_str = ':'.join(str(serviceref).split(':')[:11]) rt = session.nav.RecordTimer for timer in rt.timer_list + rt.processed_timers: - if str(timer.service_ref) == serviceref and int(timer.begin) == begin and int(timer.end) == end: + needed_ref = ':'.join(timer.service_ref.ref.toString().split(':')[:11]) == serviceref_str + if needed_ref and int(timer.begin) == begin and int(timer.end) == end: rt.removeEntry(timer) return { "result": True, @@ -283,9 +287,11 @@ def toggleTimerStatus(session, serviceref, begin, end): serviceref = unquote(serviceref) + serviceref_str = ':'.join(str(serviceref).split(':')[:11]) rt = session.nav.RecordTimer for timer in rt.timer_list + rt.processed_timers: - if str(timer.service_ref) == serviceref and int(timer.begin) == begin and int(timer.end) == end: + needed_ref = ':'.join(timer.service_ref.ref.toString().split(':')[:11]) == serviceref_str + if needed_ref and int(timer.begin) == begin and int(timer.end) == end: if timer.disabled: timer.enable() effect = "enabled"
GigaBlue UHD Quad 4K /Lunix3-4K/Duo 4K
Re: OpenWebif [E2OpenPlugins] #1305
Posted 14 December 2014 - 08:48
Littlesat can you have a look at this?
* Wavefrontier T90 with 28E/23E/19E/13E via SCR switches 2 x 2 x 6 user bands
I don't read PM -> if you have something to ask or to report, do it in the forum so others can benefit. I don't take freelance jobs.
Ik lees geen PM -> als je iets te vragen of te melden hebt, doe het op het forum, zodat anderen er ook wat aan hebben.
Re: OpenWebif [E2OpenPlugins] #1306
Posted 14 December 2014 - 11:47
Littlesat can you have a look at this?
The same is done for openPli:
http://sourceforge.n...ae8b9c06b9f7b9/
GigaBlue UHD Quad 4K /Lunix3-4K/Duo 4K
Re: OpenWebif [E2OpenPlugins] #1307
Re: OpenWebif [E2OpenPlugins] #1308
Posted 14 December 2014 - 22:46
Please add this patch.
I'm a bit überbusy at the moment (and also a lazy pig ), could you please simply provide a pull request here and here ?
I'll happily merge it in no time.
2nd box: Gigablue Quad 4k 2xDVB-S2 FBC / 2xDVB-C / 1.8 TB HDD / OpenATV 6.2
testing boxes: Vu+ Duo² + AX Quadbox HD2400 + 2x Vu+ Solo² + Octagon SF4008
Sats & Pay-TV: Astra 19.2°E + Hotbird 13°E with Redlight / SCT HD / SES Astra HD- / Sky V14 / 4th empire propaganda TV
Card-Server: Raspberry Pi + IPv6-capable oscam
Router: Linksys WRT1900ACS w/ LEDE + Fritz!Box 7390
Re: OpenWebif [E2OpenPlugins] #1309
Re: OpenWebif [E2OpenPlugins] #1310
Re: OpenWebif [E2OpenPlugins] #1311
Posted 15 December 2014 - 12:04
2nd box: Gigablue Quad 4k 2xDVB-S2 FBC / 2xDVB-C / 1.8 TB HDD / OpenATV 6.2
testing boxes: Vu+ Duo² + AX Quadbox HD2400 + 2x Vu+ Solo² + Octagon SF4008
Sats & Pay-TV: Astra 19.2°E + Hotbird 13°E with Redlight / SCT HD / SES Astra HD- / Sky V14 / 4th empire propaganda TV
Card-Server: Raspberry Pi + IPv6-capable oscam
Router: Linksys WRT1900ACS w/ LEDE + Fritz!Box 7390
Re: OpenWebif [E2OpenPlugins] #1312
Posted 15 December 2014 - 12:08
Thanks.
And building ( but it is possible skip):
Applying patch 0001-Revert-Change-insane-default-again.patch patch: **** Can't create file /tmp/tmpUrd1Dy/poq8321o : No such file or directory Patch 0001-Revert-Change-insane-default-again.patch appears to be empty; applied
Re: OpenWebif [E2OpenPlugins] #1313
Posted 15 December 2014 - 12:28
No login was possible at all when there was no password set for root, so instead I disabled https by default ...
That means that "no login" logins are possible again, but there is no https listener until you explicitely set it to on.
For setups without login there is no sense in https at all
but
for setups WITH login or cert auth, https is the only port you would ever want to open to the outside.
So:
Disabling logins for http again should satisfy those who do not open the Webif to the outside at all or who want the whole world to be able to control their box
and
disabling https by default on the other hand should ensure that the OpenWebif is NOT open to the outside world BEFORE the user had a chance to set it up securely, i.e. right after flashing the box and before you had a chance to install personal cert/key/ca.
This won't help those who open http-Webif to the outside world but probably nobody can help those ...
2nd box: Gigablue Quad 4k 2xDVB-S2 FBC / 2xDVB-C / 1.8 TB HDD / OpenATV 6.2
testing boxes: Vu+ Duo² + AX Quadbox HD2400 + 2x Vu+ Solo² + Octagon SF4008
Sats & Pay-TV: Astra 19.2°E + Hotbird 13°E with Redlight / SCT HD / SES Astra HD- / Sky V14 / 4th empire propaganda TV
Card-Server: Raspberry Pi + IPv6-capable oscam
Router: Linksys WRT1900ACS w/ LEDE + Fritz!Box 7390
Re: OpenWebif [E2OpenPlugins] #1314
Posted 15 December 2014 - 14:46
Please do so and test the latest changes extensively.
What I'm trying to do is to minimize the differences between the E2OpenPlugins master and the oe-a fork of OpenWebif.
This way both repos got some additional features previously existing in the other repo only.
On the other hand, in the process of re-implementing a replacement module for oe-a's "boxbranding" module I had to add quite some logic, i.e. to gather the OE version (Should return "PLi-OE" on OpenPLi, OE 1.6 on some older other images, "OE 2.2" on DM7080/DM820 running original images, "OpenVuplus 2.1" for newer VTI/BH/original Vu+ images ...)
The first one to find some oddities on the "Box Info" page, please open a new Issue here providing a screenshot.
Everyone else please just add your screenshot to the first issue
Everybody is welcome to test, not only OpenPLi users ...
2nd box: Gigablue Quad 4k 2xDVB-S2 FBC / 2xDVB-C / 1.8 TB HDD / OpenATV 6.2
testing boxes: Vu+ Duo² + AX Quadbox HD2400 + 2x Vu+ Solo² + Octagon SF4008
Sats & Pay-TV: Astra 19.2°E + Hotbird 13°E with Redlight / SCT HD / SES Astra HD- / Sky V14 / 4th empire propaganda TV
Card-Server: Raspberry Pi + IPv6-capable oscam
Router: Linksys WRT1900ACS w/ LEDE + Fritz!Box 7390
Re: OpenWebif [E2OpenPlugins] #1315
Posted 15 December 2014 - 15:16
Compiling /home/ims/oe4_formuler1/build/tmp/work/formuler1-oe-linux/enigma2-plugin-extensions-openwebif/1+gitAUTOINC+c36bfcc7b0-r0/git/plugin/controllers/models/info.py ... | SyntaxError: ('invalid syntax', ('/home/ims/oe4_formuler1/build/tmp/work/formuler1-oe-linux/enigma2-plugin-extensions-openwebif/1+gitAUTOINC+c36bfcc7b0-r0/git/plugin/controllers/models/info.py', 33, 36, '\tfrom Components.About import about.getEnigmaVersionString as getEnigmaVersionString\n'))
Re: OpenWebif [E2OpenPlugins] #1316
Posted 15 December 2014 - 15:26
2nd box: Gigablue Quad 4k 2xDVB-S2 FBC / 2xDVB-C / 1.8 TB HDD / OpenATV 6.2
testing boxes: Vu+ Duo² + AX Quadbox HD2400 + 2x Vu+ Solo² + Octagon SF4008
Sats & Pay-TV: Astra 19.2°E + Hotbird 13°E with Redlight / SCT HD / SES Astra HD- / Sky V14 / 4th empire propaganda TV
Card-Server: Raspberry Pi + IPv6-capable oscam
Router: Linksys WRT1900ACS w/ LEDE + Fritz!Box 7390
Re: OpenWebif [E2OpenPlugins] #1317
Re: OpenWebif [E2OpenPlugins] #1318
Posted 15 December 2014 - 17:12
2nd box: Gigablue Quad 4k 2xDVB-S2 FBC / 2xDVB-C / 1.8 TB HDD / OpenATV 6.2
testing boxes: Vu+ Duo² + AX Quadbox HD2400 + 2x Vu+ Solo² + Octagon SF4008
Sats & Pay-TV: Astra 19.2°E + Hotbird 13°E with Redlight / SCT HD / SES Astra HD- / Sky V14 / 4th empire propaganda TV
Card-Server: Raspberry Pi + IPv6-capable oscam
Router: Linksys WRT1900ACS w/ LEDE + Fritz!Box 7390
Re: OpenWebif [E2OpenPlugins] #1319
Posted 15 December 2014 - 17:29
I am not ... it is when i am running openwebif
web.Server Traceback (most recent call last): exceptions.NameError: global name 'hashlib' is not defined /usr/lib/python2.7/site-packages/twisted/web/server.py:189 in process 188 189 190 /usr/lib/python2.7/site-packages/twisted/web/server.py:238 in render 237 238 239 /usr/lib/enigma2/python/Plugins/Extensions/OpenWebif/controllers/base.py:143 in render 142 if self.withMainTemplate: 143 args = self.prepareMainTemplate() 144 args["content"] = out /usr/lib/enigma2/python/Plugins/Extensions/OpenWebif/controllers/base.py:190 in prepareMainTemplate 189 if not ret['boxname'] or not ret['customname']: 190 ret['boxname'] = getInfo()['brand']+" "+getInfo()['model'] 191 ret['box'] = "dmm" /usr/lib/enigma2/python/Plugins/Extensions/OpenWebif/controllers/models/info.py:137 in getInfo 136 137 info['brand'] = getMachineBrand() 138 info['model'] = getMachineName() /usr/lib/enigma2/python/Plugins/Extensions/OpenWebif/controllers/models/owibranding.py:36 in getMachineBrand 35 def getMachineBrand(): 36 return getAllInfo()['brand'] 37 /usr/lib/enigma2/python/Plugins/Extensions/OpenWebif/controllers/models/owibranding.py:67 in getAllInfo 66 if tpmloaded: 67 orgdream = tpm_check() 68 /usr/lib/enigma2/python/Plugins/Extensions/OpenWebif/controllers/models/owibranding.py:336 in tpm_check 335 336 l2k = validate_certificate(l2c, rootkey) 337 if l2k is None: /usr/lib/enigma2/python/Plugins/Extensions/OpenWebif/controllers/models/owibranding.py:283 in validate_certificate 282 def validate_certificate(cert, key): 283 buf = decrypt_block(cert[8:], key) 284 if buf is None: /usr/lib/enigma2/python/Plugins/Extensions/OpenWebif/controllers/models/owibranding.py:315 in decrypt_block 314 dest = rsa_pub1024(src[:128], mod) 315 hash = hashlib.sha1(dest[1:107]) 316 if len(src) == 202: exceptions.NameError: global name 'hashlib' is not defined
Edited by ims, 15 December 2014 - 17:30.
Re: OpenWebif [E2OpenPlugins] #1320
Posted 15 December 2014 - 17:55
Delete
/usr/lib/enigma2/python/Plugins/Extensions/OpenWebif/controllers/models/owibranding.py
/usr/lib/enigma2/python/Plugins/Extensions/OpenWebif/controllers/models/owibranding.pyo
Replace with the one in the attached zip and retry ...
Attached Files
2nd box: Gigablue Quad 4k 2xDVB-S2 FBC / 2xDVB-C / 1.8 TB HDD / OpenATV 6.2
testing boxes: Vu+ Duo² + AX Quadbox HD2400 + 2x Vu+ Solo² + Octagon SF4008
Sats & Pay-TV: Astra 19.2°E + Hotbird 13°E with Redlight / SCT HD / SES Astra HD- / Sky V14 / 4th empire propaganda TV
Card-Server: Raspberry Pi + IPv6-capable oscam
Router: Linksys WRT1900ACS w/ LEDE + Fritz!Box 7390
8 user(s) are reading this topic
0 members, 8 guests, 0 anonymous users