Alternative Channels Saga, Part 2: OpenWebif support
#1
Posted 4 August 2012 - 02:15
[list]
[*]Zapping does not work.
[*]Epg cannot be displayed.
[*]No streaming.
[/list]
I managed to overcome those problems, but I am not sure if my solution does not break anything else. You are invited to test it. I tested it myself a bit and did not found any regression bugs, but who knows.
I tested streaming with VLC, this solution does not work for Windows Media Player for some reason. I did not test any other player.
As I am not a python expert, I describe below what I corrected, someone may find a better python-way maybe.
For the first two issues above, the problems are quotation marks in the alternative channel reference string:
1:134:1:0:0:0:0:0:0:0:FROM BOUQUET "alternatives.tvp1_hd.tv" ORDER BY bouquet
Those quotation marks ruin the generated html layout, so javascript onclick handlers are not invoked.
I corrected it by wrapping the 'ref' property with quote/unquote. The layout is OK, and both zapping and epg started to work. And those quote/unquote - that can break the code somewhere (although it seems to work well).
Next, after the epg started to work, I had to correct the picons code. I followed the lovely solution created by littlesat (great work, btw). I could not refer to the new alternatives tools directly as other images may lack it.
Streaming needed one step of redirection for "1:134:*" service references, I followed the pattern from Navigation::playService.
Regards.
OpenWebif_patch_v_0_0.tar.gz 1.58KB 15 downloads
Re: Alternative Channels Saga, Part 2: OpenWebif support #2
Posted 4 August 2012 - 09:00
But I cannot change the WebIf itself.... So someone else have to pick this up...
Edited by littlesat, 4 August 2012 - 09:02.
WaveFrontier 28.2E | 23.5E | 19.2E | 16E | 13E | 10/9E | 7E | 5E | 1W | 4/5W | 15W
Re: Alternative Channels Saga, Part 2: OpenWebif support #3
Posted 4 August 2012 - 09:18
Next, after the epg started to work, I had to correct the picons code. I followed the lovely solution created by littlesat (great work, btw). I could not refer to the new alternatives tools directly as other images may lack it.
Wy didn't you use the new Tools.Alternative here... see the example in Picon.py? This reduces duplicate code anywhere were the alternatives stuff is buggy. I think in the same tool we coud add a function to get the best service reference.
But I cannot change the WebIf itself.... So someone else have to pick this up...
I love your new Tools.Alternative, but it is OpenPli specific, I am afraid. And OpenWebif is supposed to run on multiple images.
Regards.
Re: Alternative Channels Saga, Part 2: OpenWebif support #4
Posted 4 August 2012 - 10:00
Other images currently likely based on OpenPli can adapt it.... So I suggest this should not be the issue here. For the time being you can download it yourself from our sources. Open it on you browser so you see the code and click with the right mouse button on raw to download it.I love your new Tools.Alternative, but it is OpenPli specific
I suggest there are still many places in Enigma2 where alternatives were not correctly covered....
But still the WebIf is E2Openplugins and not OpenPli....
Edited by littlesat, 4 August 2012 - 10:33.
WaveFrontier 28.2E | 23.5E | 19.2E | 16E | 13E | 10/9E | 7E | 5E | 1W | 4/5W | 15W
Re: Alternative Channels Saga, Part 2: OpenWebif support #5
Posted 4 August 2012 - 14:46
Note, that fix in stream.py changing group service reference into best playable one is temporary. When I correct the 8001 streaming problem, that fix will not be necessary (playing m3u file ends in streaming from 8001 port).
Regards.
OpenWebif_patch_v_0_1.tar.gz 1.54KB 15 downloads
Edited by macnuts, 4 August 2012 - 14:46.
Re: Alternative Channels Saga, Part 2: OpenWebif support #6
Posted 4 August 2012 - 15:29
WaveFrontier 28.2E | 23.5E | 19.2E | 16E | 13E | 10/9E | 7E | 5E | 1W | 4/5W | 15W
Re: Alternative Channels Saga, Part 2: OpenWebif support #7
Posted 22 September 2012 - 17:02
I have applied the patch above and it fixes a lot of the problems OpenWebIf has with Alternatives, but it breaks whenever something less important gets fixed (or broken) in OpenWebIf and there is a new version on the feed.
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: Alternative Channels Saga, Part 2: OpenWebif support #8
Re: Alternative Channels Saga, Part 2: OpenWebif support #9
Posted 22 September 2012 - 17:14
That would be cool, because it's my top 2 annoyance in Enigma2.I'll try to produce proper patch that could be incorporated into webif project,
Top 1: Freeze when accessing SMB shares after the server restarted
Top 2: No Alternatives in OpenWebIf
Top 3: No usable permanent timeshift
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: Alternative Channels Saga, Part 2: OpenWebif support #10
Posted 23 September 2012 - 12:04
I played around with it a bit and was able to apply changes similar to yours and in the end was able to delete and toggle those timers. The only problem was in editing timers, because the changes lead to the web interface not recognizing the previous channel of the recording. When opening the edit dialog, they all appeared to be on the first channel of the bouquet. They were correctly saved when one manually re-adjusted the channel, but it was still some kind of annoyance left.
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
Also tagged with one or more of these keywords: streaming, alternative channels, OpenWebif
OpenWebif: EPG is not displayed correctly (distorted)Started by Spittek, 8 Nov 2023 OpenWebif, EPG, Mac, Chrome |
|
|||
Streaming von VU Solo 4K zu IOS Gerät (oder VLC)Started by Lemmymania, 22 Sep 2022 VLC, Streaming |
|
|||
OpenWebIf geeft niet de juiste url door aan VLC, poortnummer is "None"Started by haakneus, 24 Jul 2021 OpenWebIF |
|
|||
Autotimer in OpemWebif not workingStarted by martininhio, 31 Aug 2020 autotimer, openwebif |
|
|||
CoCy vs UPnP RendererDemoStarted by gufy78, 21 May 2020 CoCy, UPnP renderer, streaming |
|
1 user(s) are reading this topic
0 members, 1 guests, 0 anonymous users