Jump to content


Photo

OpenWebif [E2OpenPlugins]


  • Please log in to reply
1459 replies to this topic

Re: OpenWebif [E2OpenPlugins] #141 theparasol

  • Senior Member
  • 4,157 posts

+198
Excellent

Posted 18 November 2011 - 20:27

Since the update of Skamann also JSON package needs to be installed for the openwebif to work properly.

opkg install python-json

@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] #142 bacicciosat

  • Senior Member
  • 540 posts

+100
Excellent

Posted 18 November 2011 - 23:35

@Sjaaky: Can you please add Homey to dev group @Github ?
You only have the team managment.


Hey Sjaaky it is all ok ?

Re: OpenWebif [E2OpenPlugins] #143 ambrosa

  • Senior Member
  • 161 posts

+35
Good

Posted 19 November 2011 - 09:40

Hi.. i haven't read this post for a while... and you write a lot! :)

@homey
good to see you here and partecipate to this project

About cheetah templates i think they are really great! As you saw they are a lot of faster than the original web if. And they are reach of features, you can do really many things inside your templates.
If you haven't yet tested it. With cheetah compiler the .tmpl code will be directly translated in python code. At the end, when we compile it, we can enjoy a great speed up in performance.

But you're right. When we play with javascript the JSON is like a must. It's faster than XML in both server and client side.

I just committed some code to let you to use json from javascript: https://github.com/E.../commits/master

Now every xml webapi (that i'm still implementing on the line of original web if) could be generate a json output using http://boxip/api/ instead of http://boxip/web/

An example:

http://172.16.1.101:8088/web/vol

<e2volume>
<e2result>True</e2result>
<e2resulttext>Status</e2resulttext>
<e2current>0</e2current>
<e2ismuted>True</e2ismuted>
</e2volume>

http://172.16.1.101:8088/api/vol

{"current": 0, "message": "Status", "result": true, "ismute": true}



About the streaming i thought a little about that... and i can't see many solutions
- HTML5
HTML5 finally introduce the capability to stream a video from your HTML code. Great! But HTML5 say only how to use the "<video /> tag". Doesn't speak about the content (mean as formats and codecs). So every browser is different. Someone use H264, someone use VP8. Someone can read a .ts, someone need an .avi or similar and need to know the file size before. Someone need a small playlist with a series of .ts links (like ios and android honeycomb). Really a mess.
On our stb we must use the video with original codec. Because the CPU doesn't permit us to reencode the video. Probabilly we can only change the format to the video.. but with a large usage of resources

- FLASH
As i can read on the web it work only with H264. If we are lucky we can only play some HD stream.. but what we can do with an SD MPEG2 stream?
And flash will not work on many mobile devices.

- VLC PLUGIN
This seem to be the only solution.
Sincerly i don't like it. You need to install a plugin. It won't work on mobile devices. And it work only with some browser/platform combinations.


Any idea? :)


If possible don't break currently mobile apps available, like DreamDroid for Android or other apps for Apple device....
STB: Clarke Tech ET9100
Mass storage: internal SATA-II HDD 1TB WD10EACS GreenPower 5400rpm
Mass storage: external USB pen drive 2GB
Firmware: OpenPLi kernel 3.x.x
Tuner A: AVL2108 (DVB-S2) HotBird 13E
Tuner B: AVL2108 (DVB-S2) HotBird 13E
Tuner C: AverMedia A867 (DVB-T HD) (AF9035 + MXL5007T)
TV: plasma PANASONIC GT30 fullHD
Audio: PCM through HDMI (no Dolby decoder)

Re: OpenWebif [E2OpenPlugins] #144 Sjaaky

  • Senior Member
  • 7,443 posts

+41
Good

Posted 19 November 2011 - 13:06

Hi Homey-GER,

You've got access to the github repo. Good luck!

Re: OpenWebif [E2OpenPlugins] #145 skaman

  • Senior Member
  • 67 posts

+48
Good

Posted 19 November 2011 - 13:32

If possible don't break currently mobile apps available, like DreamDroid for Android or other apps for Apple device....


Yes.. keep "api compatibility" with original webif is one of our purpose.
But actually original webif expose 73 web api.. openwebif only 18
So for now client applications couldn't work... but with some patience they will do

Re: OpenWebif [E2OpenPlugins] #146 Homey-GER

  • Member
  • 24 posts

+42
Good

Posted 19 November 2011 - 14:03

Hey there

So I had finally some time this morning to develop some stuff.
I've created some screens and stuff:
- I've created an feed containing volume, mute status, current channel and standby mode (using skamans json api)
- This feed is used in javascript and fetched every 15 seconds to update the volume control and sets current channel-name in the header
- A simple Power-Control Screen for restart and power on/off buttons
- An experimental bouquet screen to watch channellists. The HTML Table is created via javascript on the client completly based on the json channellist feed (also json api from skamans). The Full Channellist loads in about 2 seconds now, instead 5-6 when using the old method where the box has to render HTML completly with cheetah tpl engine.
- Movielist Screen already finished days ago.
- Currently working on "Send Message" and Sreenshot Screens which should be also finished an hour or so.

Re: OpenWebif [E2OpenPlugins] #147 Meega

  • Senior Member
  • 3,000 posts

+51
Good

Posted 19 November 2011 - 14:21

Can't wait to test :D

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] #148 bacicciosat

  • Senior Member
  • 540 posts

+100
Excellent

Posted 19 November 2011 - 14:23

Great Homey !
It is time that you start to commit your code. :)

Re: OpenWebif [E2OpenPlugins] #149 hemertje

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

+118
Excellent

Posted 19 November 2011 - 17:05

Homey, you got PM ;)

on the Glassfibre 1GB DVB-C...


Re: OpenWebif [E2OpenPlugins] #150 positron

  • Member
  • 29 posts

+1
Neutral

Posted 19 November 2011 - 21:54

Could you reduce the width of OpenWebIf's config window in order to get the right edge still on the TV screen ? (SD skin "Magic" used here).

Thanx for the great work.

Attached Files


RX: DM7000; DM8000; ET9000 - SW: OpenPli 8.3 - ANT: T90 9°/10°;13°;19°;28°Ost; MS 17/8

Re: OpenWebif [E2OpenPlugins] #151 littlesat

  • PLi® Core member
  • 57,122 posts

+698
Excellent

Posted 19 November 2011 - 21:57

Is the reload settings already implemented????

WaveFrontier 28.2E | 23.5E | 19.2E | 16E | 13E | 10/9E | 7E | 5E | 1W | 4/5W | 15W


Re: OpenWebif [E2OpenPlugins] #152 pieterg

  • PLi® Core member
  • 32,766 posts

+245
Excellent

Posted 19 November 2011 - 22:10

I think we should not degrade this thread into a feature request list ;)

This is a development thread, where the developers are discussing technical issues and making design choices.
A lot of functionality is still missing, so it does not look like the developers are sitting here not knowing what to do next ;)

Perhaps someone could start a new thread with wishes and feature requests.

Re: OpenWebif [E2OpenPlugins] #153 littlesat

  • PLi® Core member
  • 57,122 posts

+698
Excellent

Posted 19 November 2011 - 22:57

In the settings for openwebif the red button is store and the green cancel... usually in E2 this is the other way around...

WaveFrontier 28.2E | 23.5E | 19.2E | 16E | 13E | 10/9E | 7E | 5E | 1W | 4/5W | 15W


Re: OpenWebif [E2OpenPlugins] #154 bacicciosat

  • Senior Member
  • 540 posts

+100
Excellent

Posted 19 November 2011 - 23:18

Ok for both

Re: OpenWebif [E2OpenPlugins] #155 littlesat

  • PLi® Core member
  • 57,122 posts

+698
Excellent

Posted 19 November 2011 - 23:48

;)...

WaveFrontier 28.2E | 23.5E | 19.2E | 16E | 13E | 10/9E | 7E | 5E | 1W | 4/5W | 15W


Re: OpenWebif [E2OpenPlugins] #156 kooleracer

  • Senior Member
  • 130 posts

+1
Neutral

Posted 20 November 2011 - 13:17

Just a suggestion is it possible to put a feature in this openwebif, that allows you to update your box?

««««««««««««««««««««««««««««««««««««««««««« »»»»»»»»»»»»»»»»»»»»»»»»»»»»»»»»»»»»»»»»»»»»»»



Mut@nt / AX HD51 | Linux  4.7.4 | OpenPLi 4.0


Re: OpenWebif [E2OpenPlugins] #157 Homey-GER

  • Member
  • 24 posts

+42
Good

Posted 20 November 2011 - 14:28

I've committed most of my stuff today so we have something to play with :)

For sure I will update those screens I've commited in the next days again and optimize the code, make it nicer, more error-handling etc.

Re: OpenWebif [E2OpenPlugins] #158 TheMystery

  • Senior Member
  • 395 posts

+2
Neutral

Posted 20 November 2011 - 15:03

@Homey

Looks very nice, in de movie section is it possible to sort it on date.
Now is everything is not in order.

Re: OpenWebif [E2OpenPlugins] #159 Taykun345

  • Senior Member
  • 1,297 posts

+41
Good

Posted 20 November 2011 - 15:22

Just a suggestion is it possible to put a feature in this openwebif, that allows you to update your box?


Nice feature but this is not useful in all images as they dont have built-in update system (OpenPLi is an exception of course).

Edited by Taykun345, 20 November 2011 - 15:22.

Army MoodBlue HD skin modification by me: https://github.com/T...-MoodBlueHD-mod
Matrix10 MH-HD2 skin modification by me: https://github.com/B...-MX-HD2-OpenPli
MetrixHD skin modification by me: https://github.com/T...xHD-WPstyle-mod
Slovenian translation for OpenPLi E2: https://github.com/T...ion-for-OpenPLi

Re: OpenWebif [E2OpenPlugins] #160 skaman

  • Senior Member
  • 67 posts

+48
Good

Posted 20 November 2011 - 15:37


Just a suggestion is it possible to put a feature in this openwebif, that allows you to update your box?


Nice feature but this is not useful in all images as they dont have built-in update system (OpenPLi is an exception of course).


A "package manager" inside the webif could still be an interesting feature (but not the most important for now).
If someone want implement it please contact me. I already have some python code (from other projects) who parse the packages list without wrap opkg command line tool. We can recycle that code if necessary.
Otherwise i can do it but only after finish all web apis


1 user(s) are reading this topic

0 members, 1 guests, 0 anonymous users