Jump to content


Photo

OpenWebif [E2OpenPlugins]


  • Please log in to reply
1459 replies to this topic

Re: OpenWebif [E2OpenPlugins] #1101 Erfeniuses

  • Senior Member
  • 43 posts

0
Neutral

Posted 25 November 2013 - 11:04

Hi there.

 

I'd like to ask/make a request to enrich E2 WebIf to have structure to control Transcoding. VU+ DUO2 Device has enough CPU to facilitate this. Now Transcoding settings are global and cannot be set via JSON/GET method while requesting.

 

Can the transcoding initialization be something like this?

 

/web/trtanscodestreamsubservices?sRef=

<?xml version="1.0" encoding="UTF-8"?>
<e2servicelist>
   {e2:convert type=web:ListFiller}
   <e2service>
	<e2servicereference>{e2:item name=ServiceReference /}</e2servicereference>
	<e2resolution_x>{e2:item name=???/}</e2resolution_x>
	<e2resolution_y>{e2:item name=???/}</e2resolution_y>
	<e2bitrate>{e2:item name=???/}</e2bitrate>
   </e2service>
   {/e2:convert} 
</e2servicelist>

 

returns

#EXTM3U
#EXTVLCOPT--http-reconnect=true
http://:8002/ 

Edited by Erfeniuses, 25 November 2013 - 11:06.


Re: OpenWebif [E2OpenPlugins] #1102 plnick

  • Senior Member
  • 58 posts

+4
Neutral

Posted 25 November 2013 - 14:18

There is already an API for transcoding configuration

 

see: https://github.com/E...dacdbdd25f2d088



Re: OpenWebif [E2OpenPlugins] #1103 Erfeniuses

  • Senior Member
  • 43 posts

0
Neutral

Posted 26 November 2013 - 07:10

Excelent! so..... is this published already / what OpenIf version is this implemented on?



Re: OpenWebif [E2OpenPlugins] #1104 Erfeniuses

  • Senior Member
  • 43 posts

0
Neutral

Posted 30 November 2013 - 09:49

I just installed OpenPLI 4.beta nov-30-2013 to my VU+ DUO2 and it has OWIF 0.2.5. Git says that the transcoding parameter adding is with 0.2.2+.

"http://ip_of_stb/tra...framerate=30000" and I got

 

 

<e2simplexmlresult>
<e2state>false</e2state>
<e2statetext>
Transcoding Plugin is not installed or your STB does not support transcoding
</e2statetext>
</e2simplexmlresult>
 

 

Transcoding is turned on from PlugIn's menu.

Why isn't there ChannelRef as input param? What channel to transcode?


Edited by Erfeniuses, 30 November 2013 - 09:50.


Re: OpenWebif [E2OpenPlugins] #1105 Erfeniuses

  • Senior Member
  • 43 posts

0
Neutral

Posted 4 December 2013 - 07:15

Is there a API to ask for desired movie's specs, like length?

like

/web/moviespecs?sRef=<movie exact name>

resulting a XML output like

<?xml version="1.0" encoding="UTF-8"?>
<e2simplexmlresult>
   <e2state>{e2:convert type=SimpleResult}Movie length in seconds{/e2:convert} </e2state>
   <e2statetext>{e2:convert type=SimpleResult}other movie related specs like Subs list, AudioTrack list{/e2:convert} </e2statetext>
</e2simplexmlresult>

Edited by Erfeniuses, 4 December 2013 - 07:15.


Re: OpenWebif [E2OpenPlugins] #1106 Erfeniuses

  • Senior Member
  • 43 posts

0
Neutral

Posted 5 December 2013 - 09:25

This really needed feature for Enigma2 recordings Streaming system, where client's player needs to know the length of selected movie in order to show progressbar/seek functionality. 

 

There are many streaming solutuions for many many different platforms and movie rewind/forward are done some odd way using 3rd party parts (mediinfo)..



Re: OpenWebif [E2OpenPlugins] #1107 ims

  • PLi® Core member
  • 13,780 posts

+214
Excellent

Posted 6 December 2013 - 10:04

Problem with TV MultiEPG and in EPG Search in today's version OpenWebif.

 

 type 'exceptions.KeyError'


Edited by ims, 6 December 2013 - 10:07.

Kdo nic nedělá, nic nezkazí!

Re: OpenWebif [E2OpenPlugins] #1108 plnick

  • Senior Member
  • 58 posts

+4
Neutral

Posted 6 December 2013 - 10:10

Which key is missing ?

Please can you post the full error report


Edited by plnick, 6 December 2013 - 10:11.


Re: OpenWebif [E2OpenPlugins] #1109 ims

  • PLi® Core member
  • 13,780 posts

+214
Excellent

Posted 6 December 2013 - 10:36



<type 'exceptions.KeyError'>: 'so'
/usr/lib/python2.7/site-packages/twisted/web/server.py, line 132 in process
130
131
132
133
/usr/lib/python2.7/site-packages/twisted/web/server.py, line 167 in render
165
166
167
168
/usr/lib/enigma2/python/Plugins/Extensions/OpenWebif/controllers/base.py, line 80 in render
78                                plfunc(request)
79
80                        data = func(request)
81                        if data is None:
/usr/lib/enigma2/python/Plugins/Extensions/OpenWebif/controllers/ajax.py, line 102 in P_epgpop
100                        return getChannelEpg(request.args["sref"][0])
101                elif "sstr" in request.args.keys():
102                        return getSearchEpg(request.args["sstr"][0])
103                else:
/usr/lib/enigma2/python/Plugins/Extensions/OpenWebif/controllers/models/services.py, line 617 in getSearchEpg
615                        ev = {}
616                        ev['id'] = event[0]
617                        ev['date'] = "%s %s" % (tstrings[strftime("%a", (localtime(event[1]))).lower()], strftime("%d.%m.%Y", (localtime(event[1]))))
618                        ev['begin_timestamp'] = event[1]

<type 'exceptions.KeyError'>: 'so'

MultiEPG:



<type 'exceptions.KeyError'>: 'p\xc3\xa1'
/usr/lib/python2.7/site-packages/twisted/web/server.py, line 132 in process
130
131
132
133
/usr/lib/python2.7/site-packages/twisted/web/server.py, line 167 in render
165
166
167
168
/usr/lib/enigma2/python/Plugins/Extensions/OpenWebif/controllers/base.py, line 111 in render
109                                module = module.strip("/")
110                                module = module.replace(".", "")
111                                out = self.loadTemplate(module, self.path, data)
112                                if out is None:
/usr/lib/enigma2/python/Plugins/Extensions/OpenWebif/controllers/base.py, line 51 in loadTemplate
49                        mod = getattr(template, module, None)
50                        if callable(mod):
51                                return str(mod(searchList=args))
52                elif fileExists(getViewsPath(path + ".tmpl")):
/usr/lib/python2.7/site-packages/Cheetah/Template.py, line 1005 in __str__
1003      if mainMethName:
1004        def __str__(self):
1005          rc = getattr(self, mainMethName)()
1006          if isinstance(rc, unicode):
/home/martin/openpli3/build-dm800se/tmp/work/mips32el-oe-linux/enigma2-plugin-extensions-openwebif-0.1+git33+243ce133efaaaf97e1e1522db40c90ea68346bd1-r6.72/git/plugin/controllers/views/ajax/multiepg2.py, line 196 in respond
194
195
196
197

<type 'exceptions.KeyError'>: 'p\xc3\xa1'

Kdo nic nedělá, nic nezkazí!

Re: OpenWebif [E2OpenPlugins] #1110 plnick

  • Senior Member
  • 58 posts

+4
Neutral

Posted 6 December 2013 - 10:49

Hm,

how was the date (day and month) shown in OpenWebIF before today's update ? Was it in your language or in English ?

 

I guess OpenPLi sets the language for strftime("%a", (localtime(event[1])) correctly. None OpenPLi based images do not set it correctly (the return string is English)

 

If so, I revert the commit from yesterday



Re: OpenWebif [E2OpenPlugins] #1111 ims

  • PLi® Core member
  • 13,780 posts

+214
Excellent

Posted 6 December 2013 - 11:06

Yesterdays version:

Pá 06.pro.2013
So 07.pro.2013
 

Kdo nic nedělá, nic nezkazí!

Re: OpenWebif [E2OpenPlugins] #1112 ims

  • PLi® Core member
  • 13,780 posts

+214
Excellent

Posted 6 December 2013 - 11:11

It seems, "Current" on today's version do not works - still spinner only 


Kdo nic nedělá, nic nezkazí!

Re: OpenWebif [E2OpenPlugins] #1113 plnick

  • Senior Member
  • 58 posts

+4
Neutral

Posted 6 December 2013 - 11:22

Ok, thank you for your information.

 

OpenPLi based images use correct strftime --> I will do some workaround to solve the problem for all images.

 

The "current" page suffers from the same failure, so you only see the spinner.

 

 

When starts the nightly builds for OpenPLi images ? Is there time frame until the fix has to be commited ?



Re: OpenWebif [E2OpenPlugins] #1114 ims

  • PLi® Core member
  • 13,780 posts

+214
Excellent

Posted 6 December 2013 - 11:26

Note: Namespace there in Current ( in older version too) is in wrong format, imho

 

About start Nightly build - I think, 02h-03h ?


Kdo nic nedělá, nic nezkazí!

Re: OpenWebif [E2OpenPlugins] #1115 plnick

  • Senior Member
  • 58 posts

+4
Neutral

Posted 6 December 2013 - 11:33

Ok, I will do the workaround at the evening.

 

The current page uses also the services.py which crashes at your image ..> spinner (see your crash report above)

 

The current page for example works at the current Vu+ image, so it is the same failure

 

 

Thanks again for your information / bug report and sorry for the broken OpenWebIF from today.



Re: OpenWebif [E2OpenPlugins] #1116 ims

  • PLi® Core member
  • 13,780 posts

+214
Excellent

Posted 6 December 2013 - 12:07

one cosmetics - could be possible rearange screen for Screanshots ?  Refresh - High resolution - ...

It seems, as when is checkbox for Refresh


Kdo nic nedělá, nic nezkazí!

Re: OpenWebif [E2OpenPlugins] #1117 plnick

  • Senior Member
  • 58 posts

+4
Neutral

Posted 6 December 2013 - 21:29

Please check attached package. This version should work with all images and the day/month strings are translateable.

 

I reworked the refresh button at the screenshot site, please take a look at it.

 

 

BTW: At this package there are only Vu+ images (no other boxes) it's only for testing



Re: OpenWebif [E2OpenPlugins] #1118 ims

  • PLi® Core member
  • 13,780 posts

+214
Excellent

Posted 7 December 2013 - 11:14

Thanks, it works now, but I think, there is new bug in this version:

 

Main - Bouquets - try open any bouquet: "loading ..." and that's all. Same for open any item from Satellites,  Providers. For All Satellites too.

 

Thanks for rearange in screenshot, but - could it be button in one line with others items, and button aligned to left (and less hight - or could be old version), high resolution aligned into center and "refresh after" aligned to  right ?

 

Info about current - wouldn't be better hex for some value ?


Edited by ims, 7 December 2013 - 11:20.

Kdo nic nedělá, nic nezkazí!

Re: OpenWebif [E2OpenPlugins] #1119 plnick

  • Senior Member
  • 58 posts

+4
Neutral

Posted 7 December 2013 - 11:58

Hm, I just flashed current OpenPLi nightly build and I can not see any failure.

 

Can you do some logging ?

 

What do you mean with the current site ?



Re: OpenWebif [E2OpenPlugins] #1120 plnick

  • Senior Member
  • 58 posts

+4
Neutral

Posted 7 December 2013 - 12:03

I switched to cs language and I can not see any failure,

 

 

Attached Files




18 user(s) are reading this topic

0 members, 17 guests, 0 anonymous users


    Bing (1)