Jump to content


Photo

OpenWebif [E2OpenPlugins]


  • Please log in to reply
1459 replies to this topic

Re: OpenWebif [E2OpenPlugins] #1361 ims

  • PLi® Core member
  • 13,625 posts

+212
Excellent

Posted 23 December 2014 - 10:45

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



In all cases must be eit as last parameter !!!

self.vpsparams(request),            eit=eventid        )

if not, then:

 

SyntaxError: non-keyword arg after keyword arg
Plugin  Extensions/WebInterface failed to load: No module named plugin
 

 

Attached Files


Edited by ims, 23 December 2014 - 11:05.

Kdo nic nedělá, nic nezkazí!

Re: OpenWebif [E2OpenPlugins] #1362 ims

  • PLi® Core member
  • 13,625 posts

+212
Excellent

Posted 23 December 2014 - 11:32

@Dima73:

 

1) for what you need it ?

2) for what service you awaiting there non zero "eit" ?

3) how you run it  ?


Kdo nic nedělá, nic nezkazí!

Re: OpenWebif [E2OpenPlugins] #1363 Dimitrij

  • PLi® Core member
  • 10,025 posts

+338
Excellent

Posted 23 December 2014 - 22:45

@Dima73:

 

1) for what you need it ?

2) for what service you awaiting there non zero "eit" ?

3) how you run it  ?

for remote timers plugins Partnerbox and RemoteTimer (need patch) and local timer plugin OpenWebif:

		description = ""
		if "description" in request.args.keys():
			description = request.args["description"][0]

+		if "eit" in request.args.keys():
+			eventid = request.args["eit"][0]
+		else:
+			from enigma import eEPGCache, eServiceReference
+			queryTime = int(request.args["begin"][0]) + (int(request.args["end"][0]) - int(request.args["begin"][0])) / 2
+			event = eEPGCache.getInstance().lookupEventTime(eServiceReference(request.args["sRef"][0]), queryTime)
+			eventid = event and event.getEventId() or 0
+		if eventid is not None:
+			eit = int(eventid)
+		else:
+			eit = 0

		return addTimer(
			self.session,
			request.args["sRef"][0],
			request.args["begin"][0],
			request.args["end"][0],
			request.args["name"][0],
			description,
			disabled,
			justplay,
			afterevent,
			dirname,
			tags,
			repeated,
-			self.vpsparams(request)
+			self.vpsparams(request),
+			None,
+			eit
		)

Edited by Dima73, 23 December 2014 - 22:53.

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


Re: OpenWebif [E2OpenPlugins] #1364 SpaceRat

  • Senior Member
  • 1,030 posts

+65
Good

Posted 23 December 2014 - 23:21

Not sure if that assumption would cause even more problems:

You assume that in the middle between start and end time there is the event to be recorded ...

That might be true in many but not all cases:

1. Event: Soccer - First half
2. Event: News
3. Event: Soccer - Second half

Or one recording might span multiple events ...
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] #1365 Dimitrij

  • PLi® Core member
  • 10,025 posts

+338
Excellent

Posted 24 December 2014 - 08:46

1. Event: Soccer - First half
2. Event: News
3. Event: Soccer - Second half
 

Naturally, it's three different EPG  events.

One of these events will be the base for the event id timer.
In the same way, and the timer is set through the menu of the receiver.

 

Why did you remove it?

https://github.com/E...f602a48bece3b2a

What is the problem?

once again...

for remote timers plugins Partnerbox and RemoteTimer (need patch)


Edited by Dima73, 24 December 2014 - 08:51.

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


Re: OpenWebif [E2OpenPlugins] #1366 Dimitrij

  • PLi® Core member
  • 10,025 posts

+338
Excellent

Posted 24 December 2014 - 09:15

This allows you to edit timers single/multi/graphic/similar EPG and Event View menu box.

 

1)for remote timers plugins Partnerbox and RemoteTimer

+		if "eit" in request.args.keys():
+			eventid = request.args["eit"][0]

2)for local timer plugin OpenWebif


+		else:
+			from enigma import eEPGCache, eServiceReference
+			queryTime = int(request.args["begin"][0]) + (int(request.args["end"][0]) - int(request.args["begin"][0])) / 2
+			event = eEPGCache.getInstance().lookupEventTime(eServiceReference(request.args["sRef"][0]), queryTime)
+			eventid = event and event.getEventId() or 0

Tell me where I'm wrong?


Edited by Dima73, 24 December 2014 - 09:42.

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


Re: OpenWebif [E2OpenPlugins] #1367 ims

  • PLi® Core member
  • 13,625 posts

+212
Excellent

Posted 24 December 2014 - 09:24

@SpaceRat: but why did you remove it when it was repaired ? Still was problems ?


Edited by ims, 24 December 2014 - 09:45.

Kdo nic nedělá, nic nezkazí!

Re: OpenWebif [E2OpenPlugins] #1368 SpaceRat

  • Senior Member
  • 1,030 posts

+65
Good

Posted 24 December 2014 - 14:17

It broke external apps setting timers, e.g. TV-Browser.
I was also no longer able to add timers by clicking the clock icon inside the OpenWebif EPG.

We can re-apply the change if its tested to work together with
- OpenWebif's own EPG
- TV-Browser
- DreamDroid

Those should be rather representative for apps using the add timer API.

PS: Preferably after christmas.
It wouldn't be too nice to break people's boxes during the holidays.

Edited by SpaceRat, 24 December 2014 - 14:18.

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] #1369 Dimitrij

  • PLi® Core member
  • 10,025 posts

+338
Excellent

Posted 24 December 2014 - 18:43

PS: Preferably after christmas.
It wouldn't be too nice to break people's boxes during the holidays.

Ok.

Let's wait for the tests.

Congratulations on Christmas.


Edited by Dima73, 24 December 2014 - 18:43.

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


Re: OpenWebif [E2OpenPlugins] #1370 pandravec

  • Member
  • 2 posts

0
Neutral

Posted 25 December 2014 - 15:14

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

 

+1,  Streaming from OpenWebif to PC does not work on VU+ Zero OpenPli 4, not sure if it is OpenWebif error or enigma2, enigma debug log says:

STREAM service event 0

stop streaming



Re: OpenWebif [E2OpenPlugins] #1371 pandravec

  • Member
  • 2 posts

0
Neutral

Posted 25 December 2014 - 15:21

 

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

 

+1,  Streaming from OpenWebif to PC does not work on VU+ Zero OpenPli 4, not sure if it is OpenWebif error or enigma2, enigma debug log says:

STREAM service event 0

stop streaming

 

 

Seems like it is not OpenWebif related problem:

 

http://forums.openpl...-vu-zero/page-2



Re: OpenWebif [E2OpenPlugins] #1372 Erik Slagter

  • PLi® Core member
  • 46,960 posts

+541
Excellent

Posted 26 December 2014 - 10:43

Exactly. The current version of the drivers inhibits both recording and streaming.


* 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] #1373 Pedro_Newbie

  • Senior Member
  • 4,631 posts

+225
Excellent

Posted 26 December 2014 - 11:49

But the exact same drivers in OpenATV and <forgot which image> allows recording and streaming if I didn't misunderstood some postings about that problem?



Re: OpenWebif [E2OpenPlugins] #1374 SpaceRat

  • Senior Member
  • 1,030 posts

+65
Good

Posted 26 December 2014 - 11:52

Nope.
Well, the drivers are the same, but the streaming is different.
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] #1375 Erik Slagter

  • PLi® Core member
  • 46,960 posts

+541
Excellent

Posted 26 December 2014 - 14:06

Nope.
Well, the drivers are the same, but the streaming is different.

????


* 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] #1376 pieterg

  • PLi® Core member
  • 32,766 posts

+245
Excellent

Posted 26 December 2014 - 15:30

streamproxy vs e2 streamserver



Re: OpenWebif [E2OpenPlugins] #1377 gabrielinio_39

  • Member
  • 7 posts

0
Neutral

Posted 26 December 2014 - 17:30

but blackhole vti openatv work with openwebif stream in vlc player the tean openpli cant fix it?



Re: OpenWebif [E2OpenPlugins] #1378 pieterg

  • PLi® Core member
  • 32,766 posts

+245
Excellent

Posted 26 December 2014 - 23:25

I don't think we broke anything?



Re: OpenWebif [E2OpenPlugins] #1379 gabrielinio_39

  • Member
  • 7 posts

0
Neutral

Posted 27 December 2014 - 00:30

sorry man!



Re: OpenWebif [E2OpenPlugins] #1380 SpaceRat

  • Senior Member
  • 1,030 posts

+65
Good

Posted 27 December 2014 - 01:32

streamproxy vs e2 streamserver

Well, that's a different story ...
OpenATV went the same wrong way and removed the original E2 streamproxy, so that's not the reason.

I was talking about genuine Vu+ transcoded streaming proxy vs. Erik Slagters transstreamproxy.

However, if Erik Slagter fixes his transcoding streaming proxy, I would consider that one a good idea (Except for the built in auth), while the removal of the original streamproxy remains wrong.
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


0 user(s) are reading this topic

0 members, 0 guests, 0 anonymous users