Jump to content


Photo

OpenWebif [E2OpenPlugins]


  • Please log in to reply
1459 replies to this topic

Re: OpenWebif [E2OpenPlugins] #561 skaman

  • Senior Member
  • 67 posts

+48
Good

Posted 15 January 2012 - 13:08

So basically my question is are these things already implemented in OpenWebIf, and are they subject to further changes?


The api set is still under development but it's near to be completed. Actually most apis for original webif are already implemented.
These are the missing apis:

external
gettags
parentcontrollist
pluginlistread
restarttwisted
sleeptimer
messageanswer
tvbrowser
 
## DO NOT TO DO ##
updates.html ?????? IS IT REALLY NECESSARY ??????
getpid Not needed  E1
settings Not needed.. WHY?
tpm Not needed only for DM

Today i should complete the api set. The last 4 apis (updates.html, getpid, settings, tpm) we don't think they are necessary. And if we don't found an application who use that, they will be not implemented.

Anyway, our purpose is keep compatibility between original webif and openwebif so, if you get some different output from one of our api, please let us know. In theory your application should work on openwebif as well as with original webif. If this doesn't happen probably there's a bug somewhere in our api set.



Is there any informations is there any E2 images distributing it as default?


Not yet. Because the first stable version it's not completed (but as i told we are near to achieve that).
I'm pretty confident (but maybe i'm wrong) that various teams should use openwebif as default webif when it's completed.
The main reason to choose openwebif instead of the original webif is mainly the license. To explain it shortly you shouldn't use original webif on not dmm boxes (this because the license).



Is there any wiki site?


No, for now you can still use the wiki of original webif

Re: OpenWebif [E2OpenPlugins] #562 Meega

  • Senior Member
  • 3,000 posts

+51
Good

Posted 15 January 2012 - 13:55

The main reason to choose openwebif instead of the original webif is mainly the license.


Yep, second reason:It's much better!!!

To be the first with a bug in a api (think)
When i use xbmc(streaming mediaplayer for pc) and Openwebif on port 80 it works like a charm,only when i enable Http authentication ,xbmc will connect to my dream and show the bouquetlist, but that's it.

The string for connecting in xbmc is tuxbox://login:pass@ipadres/ after disable the http authentication ,xbmc works with login and pass in the string.

This is feedback not a priority

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] #563 shax

  • Senior Member
  • 90 posts

+16
Neutral

Posted 15 January 2012 - 18:42

@skaman

Thank's a lot for very detailed answer! :)
Things are much clarer now.
Here's the list of the commands i'm using

E2SleepCommand = "sleep";
E2GetVolumeCommand = "web/vol"; //+level (0-100)
E2SetVolumeCommand = "web/vol?set=set";
E2SetMuteCommand = "web/vol?set=mute";
E2CurrentCommand = "web/getcurrent";
E2PowerStateCommand = "web/powerstate";
E2SignalCommand = "web/signal";
E2StandbyCommand = "web/powerstate?newstate=0";
E2GetBouquetsCommand = "web/getservices"; // + servicereference
E2GetBouquetServicesCommand = "web/getservices?sRef=";//+ command code (for example. 114,115)
E2RCCommand = "web/remotecontrol?command=";
E2CurrentServiceCommand = "web/subservices"; //+ servicereference
E2ZAPCommand = "web/zap?sRef=";
E2ScreenShotAllCommand = "grab?format=jpg&r=720&&filename=/tmp/" + UnixTimeStamp() + ".jpg";
E2ScreenShotOSDCommand = "grab?format=jpg&r=720&&o=&n=&filename=/tmp/" + UnixTimeStamp() + ".jpg";
E2ScreenShotPictureOnlyCommand = "grab?format=jpg&r=720&&v=&filename=/tmp/" + UnixTimeStamp() + ".jpg";


So this should already work ?

Now app fails when i try to parse current channel info, "/web/subservices" is returning

<e2servicelist></e2servicelist>

instead

<e2servicelist><e2service><e2servicereference>1:0:1:206D:2328:13E:820000:0:0:0:</e2servicereference><e2servicename>HRT-TV1</e2servicename></e2service></e2servicelist>


Edited by shax, 15 January 2012 - 18:42.


Re: OpenWebif [E2OpenPlugins] #564 skaman

  • Senior Member
  • 67 posts

+48
Good

Posted 15 January 2012 - 22:02

@meega
ok, wrote it in my todo

@shax
yes, you're right. Same problem on my box. I'll check it
all the other api set should be implemented... but all this stuff still need to be tested

@all
i think it's time to make a list about what work and what doesn't work (but only about the api set)

For now my "issues list" has 2 entry:
- xbmc as client doesn't stream with authentication enabled
- subservices api return an empty result

Please fill that list with other issues... but not too much please :D

Re: OpenWebif [E2OpenPlugins] #565 Rob van der Does

  • Senior Member
  • 7,766 posts

+184
Excellent

Posted 16 January 2012 - 07:35

@all
i think it's time to make a list about what work and what doesn't work (but only about the api set)

The web-page of Fancontrol2 (accessible via http://<IP-of-the-box>/fancontrol/) gives an error 404.
Using Web-IF old it works fine.

Re: OpenWebif [E2OpenPlugins] #566 Raitsa

  • Senior Member
  • 122 posts

+6
Neutral

Posted 17 January 2012 - 18:54

OpenAAF images have some cool extra stuff on the webif, softcam panel etc.
Maybe someday something like this will be on openwebif too.

Attached Files


Sony VPL-HW55ES + Stewart Firehawk 182cm, 2 * Nvidia Shield, LibreElec + 5 * Intel NUC, Vu+ Uno4k & T90+8lnb, 28Tb Thecus N7510 NAS, Denon AVR-X1100W, AMX+ 3*Ipad, 3*KefQ1, 4*KefQ2DS, Elac S12EQ

Re: OpenWebif [E2OpenPlugins] #567 bacicciosat

  • Senior Member
  • 540 posts

+100
Excellent

Posted 17 January 2012 - 18:57

No sorry no softcam panels ecc.

Re: OpenWebif [E2OpenPlugins] #568 WanWizard

  • PLi® Core member
  • 70,563 posts

+1,816
Excellent

Posted 17 January 2012 - 20:26

If there will be an option to add plugins, anyone can create an extension. I agree with bacicciosat it should not be part of the core functionality.

Currently in use: VU+ Duo 4K (2xFBC S2), VU+ Solo 4K (1xFBC S2), uClan Usytm 4K Ultimate (S2+T2), Octagon SF8008 (S2+T2), Zgemma H9.2H (S2+T2)

Due to my bad health, I will not be very active at times and may be slow to respond. I will not read the forum or PM on a regular basis.

Many answers to your question can be found in our new and improved wiki.


Re: OpenWebif [E2OpenPlugins] #569 bacicciosat

  • Senior Member
  • 540 posts

+100
Excellent

Posted 17 January 2012 - 20:31

If there will be an option to add plugins, anyone can create an extension. I agree with bacicciosat it should not be part of the core functionality.


In every case it couldn't be standardized because softcam managment is image dependent.

Re: OpenWebif [E2OpenPlugins] #570 WanWizard

  • PLi® Core member
  • 70,563 posts

+1,816
Excellent

Posted 17 January 2012 - 20:47

That will than be the plugin developers problem... ;)

Currently in use: VU+ Duo 4K (2xFBC S2), VU+ Solo 4K (1xFBC S2), uClan Usytm 4K Ultimate (S2+T2), Octagon SF8008 (S2+T2), Zgemma H9.2H (S2+T2)

Due to my bad health, I will not be very active at times and may be slow to respond. I will not read the forum or PM on a regular basis.

Many answers to your question can be found in our new and improved wiki.


Re: OpenWebif [E2OpenPlugins] #571 Raitsa

  • Senior Member
  • 122 posts

+6
Neutral

Posted 17 January 2012 - 20:59

Yeah, now that i think of it, point taken. :rolleyes:
Sony VPL-HW55ES + Stewart Firehawk 182cm, 2 * Nvidia Shield, LibreElec + 5 * Intel NUC, Vu+ Uno4k & T90+8lnb, 28Tb Thecus N7510 NAS, Denon AVR-X1100W, AMX+ 3*Ipad, 3*KefQ1, 4*KefQ2DS, Elac S12EQ

Re: OpenWebif [E2OpenPlugins] #572 blzr

  • PLi® Core member
  • 2,270 posts

+118
Excellent

Posted 21 January 2012 - 20:49

since there was no response to my post: http://openpli.org/f...055#entry242055
I took matters into my own hands, and here's the results (see my screenshot), my modified (improved?) channels.template:
- (i) info icon removed, - clicking on event_now/next title shows event description instead
- border between services added
- event_now/next spacing aligned
- hints (zap to 'xyz', event 'xyz'descripon) added
what do you think about it?

if someone wants to test my version, replace /usr/lib/enigma2/python/Plugins/Extensions/OpenWebif/controllers/views/ajax/channels.tmpl with the attached one channels.template (unpack it first), remove channels.py and channels.pyo, then clear your browser's cache, run openwebif and voila' :))
// and in case one of 'openwebif moguls' has found my changes commit-worthy, ready-made patch attached too :P
----------
edit 02.02
I've just noticed that by mistake I attached a version without pop-up 'hints' (zap-to/description), now it should be ok

Attached Files


Edited by blzr, 2 February 2012 - 21:06.

True sarcasm doesn't need green font...

Re: OpenWebif [E2OpenPlugins] #573 Hump

  • Senior Member
  • 88 posts

+3
Neutral

Posted 21 January 2012 - 21:31

@blzr,

thanks for the modification. Works like a charm! :)

Re: OpenWebif [E2OpenPlugins] #574 nietgiftig

  • Senior Member
  • 787 posts

+39
Good

Posted 22 January 2012 - 10:27

and here's the results (see my screenshot), my modified (improved?) channels.template:
....
what do you think about it?


Thanks, the border makes a better difference between the channels then the white lines

 Hardware: Master VU Uno 4K SE  1x Mut@nt HD51.4K & 2x ZgemmaH9T
Software : Pli (v7) (7.1rc) 2019 


Re: OpenWebif [E2OpenPlugins] #575 dylantje

  • Senior Member
  • 2,406 posts

+19
Neutral

Posted 22 January 2012 - 11:26

Hello.
I do not now if everything is working fine.
Bud i get a error when i will send a message to the box.

The next message i see....


Missing mandatory parameter 'message'


Mut@nt HD51 with PLi 7.2 release - Cccam, PLi HD skin, HDD-1,5TB, USB DVB-T,4GB usb backupsuite. AB: harmony smartcontrol 

XTrend ET6500 with PLi 7.2 release - PLi HD skin, Stream remote, 2GB usb backupsuite. AB: Harmony 650 , 1x zgemma h2h with Cccam.

Met een USB Dvb-T Triax 78cm, 2x ALPS quatro LNB /19,2 en 23,5, SAB GSO-multiswitch: 4 sat. in 12 out. 

 


Re: OpenWebif [E2OpenPlugins] #576 chant

  • Senior Member
  • 279 posts

+1
Neutral

Posted 22 January 2012 - 16:58

Hello everybody,

I have a question about the open webif. Since I'm using a lot of the radio channels during daytime I would like to control this trough the webif. But when the receiver is in 'radio' mode I still see the bouquets of the 'tv' mode.
So basically I can never zap radio channels with the webif. Is this something that is fixed easy or is this a major thing? I would really love this feature.
But I like the interface very much, a lot faster than the old webif. Keep it up.

Chant

Re: OpenWebif [E2OpenPlugins] #577 Rincewind

  • Member
  • 25 posts

+12
Neutral

Posted 22 January 2012 - 17:18

Hello.
I do not now if everything is working fine.
Bud i get a error when i will send a message to the box.

The next message i see....


Missing mandatory parameter 'message'




Replace /usr/lib/enigma2/python/Plugins/Extensions/OpenWebif/public/js/openwebif.js with this, and you'll see the messages.

Question for the developers: could you please give me write access to the git repository? I'm developing the timer edit function, and I don't want to bother further nobody9, who has been so kind up to now to checkin all of my patches.

Thanks

Attached Files



Re: OpenWebif [E2OpenPlugins] #578 bacicciosat

  • Senior Member
  • 540 posts

+100
Excellent

Posted 22 January 2012 - 17:24

Question for the developers: could you please give me write access to the git repository? I'm developing the timer edit function, and I don't want to bother further nobody9, who has been so kind up to now to checkin all of my patches.


For me is ok but you have to aks to Sjaaky to have write access.

Re: OpenWebif [E2OpenPlugins] #579 beebee

  • Senior Member
  • 452 posts

+4
Neutral

Posted 22 January 2012 - 23:02

Open Web If ziet er steeds gelikter uit.

Aan de ontwikkelaars de vraag: Is mouseover op de kanalenlijst mogelijk?

Dit omdat de kanalen dicht op elkaar zitten is het soms wat lastiger te zien welk TV icoontje ik moet klikken.

Bij de Movie lijst komt er een stippelkader om alle info van de film heen

Kan deze "mouse over" functie ook op de kanalen lijsten?
Beebee
______________________________________________________________________
DM8000 + mutifeed 13E+19.2E+23.5E+28.2E en ook nog de rotor werkend op Tuner A.

Re: OpenWebif [E2OpenPlugins] #580 beebee

  • Senior Member
  • 452 posts

+4
Neutral

Posted 22 January 2012 - 23:11

Open Web If looks nicer and nicer.

Question for the developers: Is it possible to use "mouse over" on all the channel listings.

It wil then be easer to see wich TV button i have to click.

In the Movie list dotted lines are used when i "mouse over" a film entry with all the info.

Edited by beebee, 22 January 2012 - 23:13.

Beebee
______________________________________________________________________
DM8000 + mutifeed 13E+19.2E+23.5E+28.2E en ook nog de rotor werkend op Tuner A.


4 user(s) are reading this topic

0 members, 4 guests, 0 anonymous users