Jump to content


Photo

CustomSubservices

plugin

  • Please log in to reply
49 replies to this topic

#1 Dimitrij

  • PLi® Core member
  • 10,334 posts

+351
Excellent

Posted 20 October 2016 - 22:36

CustomSubservices plugin for subservices SKY DE.

Maintainer monty03.

 

Version 0.1.2 small adapt for openPli.

XML_PATH = "/etc/enigma2/subservices.xml"

 

When use enigma2-plugin-extensions-customsubservicesplugin_0.0.3_mipsel.ipk first delete it.


Edited by Dimitrij, 20 October 2016 - 22:37.

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


Re: CustomSubservices #2 Dimitrij

  • PLi® Core member
  • 10,334 posts

+351
Excellent

Posted 21 October 2016 - 10:00

Please write the answer on the results of the use.
If everything is ok, the plugin will be added to the feed openPli.


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


Re: CustomSubservices #3 Rob van der Does

  • Senior Member
  • 7,766 posts

+184
Excellent

Posted 21 October 2016 - 11:07

What's this supposed to do (on top of the existing embedded subservice functionality)?



Re: CustomSubservices #4 Dimitrij

  • PLi® Core member
  • 10,334 posts

+351
Excellent

Posted 21 October 2016 - 11:10

http://www.opena.tv/...lugin-beta.html

 

Update:
ÄNDERUNGEN ab Version 0.1.0:
 

  • Die Unterkanalanzeige in der Infobar ("Sub") funktioniert nun
  • Rückgriff auf die Original-Unterkanalfunktion. Es ist daher nicht mehr erforderlich, die Select/Sport/Bundesliga (SD) Kanäle in der XML-Datei zu konfigurieren. Wer das dennoch will, kann es aber trotzdem noch machen (konfigurierte Kanäle gehen den originalen Unterkanälen vor).
  • Die Darstellung der Unterkanäle in der Auswahlliste ist nun konfigurierbar:
  • Dazu gibt es in der XML-Datei pro Kanalgruppe ein Attribut displayPattern="chn:title:time:len=65"
    chn...Anzeige des Sendernamens
    title...Anzeige des Sendungstitels
    time...Anzeige der Sendungszeit
    len=65...Zeichenanzahl der gesamten Anzeige: Diese kann damit an euren Skin angepasst werden.

    Die genannten Anzeigeelemente sind frei kombinierbar, nur len= muss immer am Schluss stehen.

    Beispiel:
    displayPattern="chn:title:time:len=65" führt also z.B. zu: Sky Sport HD 1 Live Fußball Premier League... (15:30 - 17:00)
    displayPattern="chn:len=65" bedeutet: Sky Sport HD 1
    displayPattern="title:time:len=65" bedeutet: Live Fußball Premier League... (15:30 - 17:00)
    displayPattern="title:chn:len=65" bedeutet: Live Fußball Premier League... Sky Sport HD 1



  • Änderung des Plugin-Ordners: Das Plugin befindet sich nunmehr unter /usr/lib/enigma2/python/Plugins/Extensions/CustomSubservices (nicht mehr unter CustomSubservicesPlugin)
  • Änderung des Speicherorts der subservices.xml: Diese befindet sich nicht mehr im Plugin-Ordner sondern unter /etc/enigma2/
  • Laden der XML-Datei nur mehr beim enigma2 Start: Bei Änderungen an der subservices.xml muss daher enigma2 neu gestartet werden!
  • Diverse Performance- und Code-Verbesserungen


HINWEISE zum Update:
Wer das Plugin vor Version 0.1.0 bereits installiert hatte, muss dieses zunächst mit "opkg remove enigma2-plugin-extensions-customsubservicesplugin" entfernen und dann kontrollieren, ob der Ordner CustomSubservicesPlugin gelöscht wurde (die erscheinende Fehlermeldung kann ignoriert werden). Danach kann die neue Version normal installiert werden.

Edited by Dimitrij, 21 October 2016 - 11:21.

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


Re: CustomSubservices #5 Rob van der Does

  • Senior Member
  • 7,766 posts

+184
Excellent

Posted 21 October 2016 - 15:13

I can confirm that "Die Unterkanalanzeige in der Infobar ("Sub") funktioniert nun" is indeed the case. Since installing this plugin (without the optional xml) there are quite a number of services showing sub-services, that didn't do so before.

So that brings up the question if this plugin, or at least the part of it that's responsible for this enhancement, should be embedded in E2. To me the answer seems to be 'yes'.



Re: CustomSubservices #6 fidelcastro54

  • Senior Member
  • 342 posts

+6
Neutral

Posted 30 July 2017 - 13:42

Did anyone have a actual subservice.xml?


VU+ Duo2 *OpenPLI 7.0 *int. 1TB HDD *16TB QNAP-NAS Gb-LAN *OSCam*HD+ HD02 *Sky V14 *MTV Unlimited


Re: CustomSubservices #7 Dimitrij

  • PLi® Core member
  • 10,334 posts

+351
Excellent

Posted 30 July 2017 - 14:55

Move to /etc/enigma2/


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


Re: CustomSubservices #8 Rob van der Does

  • Senior Member
  • 7,766 posts

+184
Excellent

Posted 31 July 2017 - 06:11

I can confirm that "Die Unterkanalanzeige in der Infobar ("Sub") funktioniert nun" is indeed the case. Since installing this plugin (without the optional xml) there are quite a number of services showing sub-services, that didn't do so before.
So that brings up the question if this plugin, or at least the part of it that's responsible for this enhancement, should be embedded in E2. To me the answer seems to be 'yes'.

Embedding in E2 isn't a good idea? IMHO this is (or should be) basic functionality.

Re: CustomSubservices #9 mrvica

  • Senior Member
  • 1,261 posts

+86
Good

Posted 31 July 2017 - 08:29

beside that, the most people dont´t have german sky card, there is just a small group of people interested in showing subservices



Re: CustomSubservices #10 Dimitrij

  • PLi® Core member
  • 10,334 posts

+351
Excellent

Posted 31 October 2018 - 22:13

root@vusolo4k:~# opkg list *customsubservices*
enigma2-plugin-extensions-customsubservices - 0.1.2 - XML-based subservices switching

+

update after install plugin

SKY DE Sport HD/SD

Move to /etc/enigma2/


Edited by Dimitrij, 31 October 2018 - 22:15.

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


Re: CustomSubservices #11 Rob van der Does

  • Senior Member
  • 7,766 posts

+184
Excellent

Posted 3 November 2018 - 07:18

@Dimitrij: you don't have this plugin on your GITHUB?

Re: CustomSubservices #12 Dimitrij

  • PLi® Core member
  • 10,334 posts

+351
Excellent

Posted 3 November 2018 - 10:22

@Dimitrij: you don't have this plugin on your GITHUB?

I'll do it, but a little later.
Now you need to change the code in InfoBarSubserviceSelection(InfoBarGenerics.py)

+

update this plugin


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


Re: CustomSubservices #13 Rob van der Does

  • Senior Member
  • 7,766 posts

+184
Excellent

Posted 3 November 2018 - 12:14

:D



Re: CustomSubservices #14 Dimitrij

  • PLi® Core member
  • 10,334 posts

+351
Excellent

Posted 5 November 2018 - 17:07

CustomSubservices

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


Re: CustomSubservices #15 littlesat

  • PLi® Core member
  • 57,206 posts

+700
Excellent

Posted 5 November 2018 - 17:18

I carefully say brrrr... as sky Germany stopped supporting sub services I think it is still better to adapt e2 with the new code and instead of xml use simple text files with user references that contain service ids... groupbouquet.... files.... or so...

Edited by littlesat, 5 November 2018 - 17:18.

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


Re: CustomSubservices #16 WanWizard

  • PLi® Core member
  • 70,562 posts

+1,813
Excellent

Posted 5 November 2018 - 17:22

Without having to look at it in detail: why invent a new file format and parsing code if all other data (except settings for some odd reason) is stored in XML files?


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: CustomSubservices #17 littlesat

  • PLi® Core member
  • 57,206 posts

+700
Excellent

Posted 5 November 2018 - 17:24

Even settings is in a text format... actually alternatives does also the same... making groups of service references in a text format file...
But the plugin ‘works’.... ;)
Better to implement it instead of having a class/function stealing plugin...

Edited by littlesat, 5 November 2018 - 17:29.

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


Re: CustomSubservices #18 littlesat

  • PLi® Core member
  • 57,206 posts

+700
Excellent

Posted 5 November 2018 - 17:30

Why does the xml need the service names why you directly can derive them from the servicerefs?
I see the xml has some skin formatting inside... as far I understand... why?
But at least for now this is a work-a-round for those who are missing this feature :D... optimizing takes more time!

Edited by littlesat, 5 November 2018 - 17:42.

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


Re: CustomSubservices #19 WanWizard

  • PLi® Core member
  • 70,562 posts

+1,813
Excellent

Posted 5 November 2018 - 18:09

Even settings is in a text format... actually alternatives does also the same... making groups of service references in a text format file...

 

True, point taken.


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: CustomSubservices #20 Dimitrij

  • PLi® Core member
  • 10,334 posts

+351
Excellent

Posted 5 November 2018 - 19:25

XML makes it easier to make changes.
I can embed the plugin in the image.


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




Also tagged with one or more of these keywords: plugin

11 user(s) are reading this topic

0 members, 11 guests, 0 anonymous users