Jump to content


Photo

OpenWebif [E2OpenPlugins]


  • Please log in to reply
1459 replies to this topic

Re: OpenWebif [E2OpenPlugins] #1341 theparasol

  • Senior Member
  • 4,157 posts

+198
Excellent

Posted 15 December 2014 - 20:41

Now fetched all files from github, replaced the files on my box with these and removed all *.pyo...

Infoscreen remains the same.... so too bad: would be nice to assist you for a change ;)


@Camping: ZGemma H.2S, Technisat Multytenne 4-in-1 @Home: Edision Mini 4K, Wave Frontier T55, EMP Centauri EMP DiSEqC 8/1 switch, 4x Inverto Ultra Black single LNB


Re: OpenWebif [E2OpenPlugins] #1342 hemertje

  • Forum Moderator
    PLi® Core member
  • 33,504 posts

+118
Excellent

Posted 15 December 2014 - 20:44

 

Ok, fixed it.

 

Output from as many different boxes as possible please :)

 

You got a picture on Github. You can't post pictures here :(

 

 

 

yes you can

 

More Reply Options on the right left corner!

Select and upload the picture


on the Glassfibre 1GB DVB-C...


Re: OpenWebif [E2OpenPlugins] #1343 ims

  • PLi® Core member
  • 13,926 posts

+215
Excellent

Posted 15 December 2014 - 22:08

Please, rebuild size in info.py:

size = "%d GB" % (size / float(1024))

f.eg. to:

size = "%.2f GB" % (size / 1024.)

Why size / float() and then %d ?  And why using float and not . only ?


Kdo nic nedělá, nic nezkazí!

Re: OpenWebif [E2OpenPlugins] #1344 SpaceRat

  • Senior Member
  • 1,030 posts

+65
Good

Posted 15 December 2014 - 22:10

I'll have to check that rounding out ...

 

I have some idea what it happens at the 1023 MB <> 1024 MB = 1GB boundary, but not really about the 2 GB vs. 3 GB thing.


1st box: Vu+ Ultimo 4k 4xDVB-S2 FBC / 2xDVB-C / 1.8 TB HDD / OpenATV 6.2
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] #1345 Priskvark

  • Senior Member
  • 44 posts

+1
Neutral

Posted 16 December 2014 - 00:31

 
 

 

 


You got a picture on Github. You can't post pictures here :(

 

 

yes you can

 

More Reply Options on the right left corner!

Select and upload the picture

 

 

Thank you hemertje!

After the error message I got when pasting the picture and trying to post I wrongly thought picture posting was disabled :blink:.

But you are right, now I can after you showed me how.


Edited by Priskvark, 16 December 2014 - 00:33.


Re: OpenWebif [E2OpenPlugins] #1346 Gerr

  • Member
  • 12 posts

0
Neutral

Posted 16 December 2014 - 12:01

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 ...)

I don't know if it's already possible or not, but it would be useful to be able to retrieve this type of info via api, something like:

http://127.0.0.1/web/info/getOEVersion

 

If that would return "PLi-OE"  (as an example according to your quote), and preferably only that string in plaintext and not enclosed in xml tags, that would be perfect for use in shellscripts.

 

I use shellscripts for a lot of stuff, and I already use other api commands via wget in scripts and also directly from browser bookmarks.

Examples:

/web/powerstate?newstate=0

/web/servicelistreload?mode=2

 

Or similar commands provided by plugins, like:

/epgrefresh/refresh

 

I find these and other such commands very useful, and I'm sure there are many more I don't know about, so it would also be cool and IMHO logical if you could visit something like:

http://myboxip/web in your browser and get a list of available api commands and parameters, rather than a 404. Maybe they could even be clickable.

 

Or, taking it one step further, if a subdir "info" is one of those listed items like I used in my suggestion for getOEVersion api, then http://myboxip/web/info could list all the api commands in the (box)info category. Just a thought.  :)

 

Speaking of those api commands, I found a cosmetic issue with /web/servicelistreload

If you supply an invalid parameter, like 9 in this example /web/servicelistreload?mode=9

the error message seems cut off, missing some valid options and a closing square bracket. See this comparison with DMM's webif:

OpenWebif:  missing or wrong parameter mode [0=both, 1=lamedb only, 2=userbouqets only

DMM Webif: missing or wrong parameter mode [0=both, 1=lamedb only, 2=userbouqets only, 3=transponders, 4=parentalcontrol white-/blacklist]



Re: OpenWebif [E2OpenPlugins] #1347 system

  • Senior Member
  • 40 posts

+1
Neutral

Posted 16 December 2014 - 18:54

Hello everyone,

report the version OpenWebif 4.xx and following on decoder Dreambox 800se, remote control mode full,  the buttons
do not work except for a few button; in full mode the remote control is shown correctly.
The numeric keys work, the function keys and colorful keys no;
for example, by clicking the "OK" button to open the channel list and clicking again "ok" channels rushing down.

You can verify?

Thanks in advance



Re: OpenWebif [E2OpenPlugins] #1348 ims

  • PLi® Core member
  • 13,926 posts

+215
Excellent

Posted 16 December 2014 - 20:56

All buttons work well for me...


Kdo nic nedělá, nic nezkazí!

Re: OpenWebif [E2OpenPlugins] #1349 SpaceRat

  • Senior Member
  • 1,030 posts

+65
Good

Posted 17 December 2014 - 06:48

Hm, he reported the same issue on the oe-a fork of OpenWebif ...

So I told him it's a boxbranding issue then, as OpenWebif on oe-a doesn't even have a full remote but just takes the one boxbranding provides.

 

Now he's reporting here ....

Argls.

 

@system:

Which image (OpenPLi, OpenATV, VTI, ...) do you use?


1st box: Vu+ Ultimo 4k 4xDVB-S2 FBC / 2xDVB-C / 1.8 TB HDD / OpenATV 6.2
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] #1350 system

  • Senior Member
  • 40 posts

+1
Neutral

Posted 17 December 2014 - 07:07

Thanks for the answers, I thought it was the right place here.
Use the ItalySat, which from what I know and based OpenPLi, I apologize if my information is not correct.
I tried with different browsers and computers but reflected the same problem.
This anomaly with version 0.2.9 does not occur, the feedback from the subsequent.
Can you help?



Re: OpenWebif [E2OpenPlugins] #1351 SpaceRat

  • Senior Member
  • 1,030 posts

+65
Good

Posted 17 December 2014 - 08:17

API

None of my businesses ...

I created an issue https://github.com/E...ebif/issues/228 for you.
1st box: Vu+ Ultimo 4k 4xDVB-S2 FBC / 2xDVB-C / 1.8 TB HDD / OpenATV 6.2
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] #1352 SpaceRat

  • Senior Member
  • 1,030 posts

+65
Good

Posted 17 December 2014 - 08:39

As ims reports all keys to work on the same box, I assume the problem to be inside your image.

 

The remote control inside the OpenWebif (regardless of if it comes from oe-a's boxbranding or is provided by OpenWebif itselt) just sends key codes to E2 which has to interpret them.

If you have a borked keymap.xml inside your E2, keys aren't properly handled.


1st box: Vu+ Ultimo 4k 4xDVB-S2 FBC / 2xDVB-C / 1.8 TB HDD / OpenATV 6.2
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] #1353 system

  • Senior Member
  • 40 posts

+1
Neutral

Posted 17 December 2014 - 13:39

As ims reports all keys to work on the same box, I assume the problem to be inside your image.

 

The remote control inside the OpenWebif (regardless of if it comes from oe-a's boxbranding or is provided by OpenWebif itselt) just sends key codes to E2 which has to interpret them.

If you have a borked keymap.xml inside your E2, keys aren't properly handled.

It could depend on the image, but I do not understand why loading the version 0.2.9 does work.
Sorry if I insist but I would like to understand where and when I can act autonomously.



Re: OpenWebif [E2OpenPlugins] #1354 Dimitrij

  • PLi® Core member
  • 10,379 posts

+354
Excellent

Posted 20 December 2014 - 13:59

Please add this patch:

--- plugin/controllers/web.py
+++ plugin/controllers/web.py
@@ -434,6 +434,9 @@
 		description = ""
 		if "description" in request.args.keys():
 			description = request.args["description"][0]
+		eit = 0
+		if "eit" in request.args.keys():
+			eit = int(request.args["eit"][0])
 
 		return addTimer(
 			self.session,
@@ -448,6 +451,7 @@
 			dirname,
 			tags,
 			repeated,
+			eit,
 			self.vpsparams(request)
 		)

GigaBlue UHD Quad 4K /Lunix3-4K/Duo 4K


Re: OpenWebif [E2OpenPlugins] #1355 SpaceRat

  • Senior Member
  • 1,030 posts

+65
Good

Posted 20 December 2014 - 14:00

It would be much easier if you would just provide pull requests ...
1st box: Vu+ Ultimo 4k 4xDVB-S2 FBC / 2xDVB-C / 1.8 TB HDD / OpenATV 6.2
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] #1356 Dimitrij

  • PLi® Core member
  • 10,379 posts

+354
Excellent

Posted 20 December 2014 - 18:05

It would be much easier if you would just provide pull requests ...

I do not know how to do it.
The problem is my English.


GigaBlue UHD Quad 4K /Lunix3-4K/Duo 4K


Re: OpenWebif [E2OpenPlugins] #1357 SpaceRat

  • Senior Member
  • 1,030 posts

+65
Good

Posted 20 December 2014 - 18:11

Just edit the file on https://github.com/E...lugin-OpenWebif as if you would have write access to it.
That will create your own fork of OpenWebif where you can apply all the changes you like.

After you are done, you can create a pull request of it.

See here: https://github.com/E...nWebif/pull/232
Priskvark did it for you :)
1st box: Vu+ Ultimo 4k 4xDVB-S2 FBC / 2xDVB-C / 1.8 TB HDD / OpenATV 6.2
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] #1358 Dimitrij

  • PLi® Core member
  • 10,379 posts

+354
Excellent

Posted 20 December 2014 - 20:05

SpaceRat

thanks again


GigaBlue UHD Quad 4K /Lunix3-4K/Duo 4K


Re: OpenWebif [E2OpenPlugins] #1359 Dimitrij

  • PLi® Core member
  • 10,379 posts

+354
Excellent

Posted 23 December 2014 - 06:44

Sorri,my mistake :(

Please add new patch:

--- plugin/controllers/web.py
+++ plugin/controllers/web.py
@@ -434,6 +434,9 @@
 		description = ""
 		if "description" in request.args.keys():
 			description = request.args["description"][0]
+		eventid = 0
+		if "eit" in request.args.keys():
+			eventid = int(request.args["eit"][0])
 
 		return addTimer(
 			self.session,
@@ -448,6 +451,7 @@
 			dirname,
 			tags,
 			repeated,
+			eit=eventid,
 			self.vpsparams(request)
 		)

GigaBlue UHD Quad 4K /Lunix3-4K/Duo 4K


Re: OpenWebif [E2OpenPlugins] #1360 gabrielinio_39

  • Member
  • 7 posts

0
Neutral

Posted 23 December 2014 - 10:38

vusolose with beta image openpli 4 openwebif not stream with my pc in vlc player i need a plugin?




3 user(s) are reading this topic

0 members, 3 guests, 0 anonymous users