Jump to content


Photo

EPGImport Filter v1.00 by Acds


  • Please log in to reply
205 replies to this topic

Re: EPGImport Filter v1.00 by Acds #161 doglover

  • Rytec EPG Team
  • 17,393 posts

+658
Excellent

Posted 3 May 2017 - 06:29

@Acds

 

with the new default skin there is a problem using your plugin

 

Cheers Colin

 

attachicon.gifPLi Full-Night.jpg

 

Wanted to point this out also.

With PliHD there is no problem.  So if you want to use this plug-in switch back to this skin.

It remains however a pain the behind to have to do this.

 

Willy


~~Rytec Team~~
Maxytec Multibox SE OpenPli (used as mediaplayer)
Mutant HD2400 OpenPli
Vu+ Duo OpenPli (backup)

Synology NAS

Sat: 13E, 19.2E, 23.5E and 28.2E
*Pli/Rytec EPG POWERED*


Re: EPGImport Filter v1.00 by Acds #162 ColinB

  • Senior Member
  • 743 posts

+28
Good

Posted 3 May 2017 - 07:58

Your quite correct Willy. I also use the skin switching method you said before.

 

It is a realy nice plugin, shame the author is not available to update it.


Edited by ColinB, 3 May 2017 - 07:58.

Xtrend et8000 7.1-Release

2 x 8/1 DiSEqC  30w 13e 19e 23e 28e   

Astrometa USB Tuner Working DVB-T2 now on Kernel 4.10+  ;)

WD10EARX 1TB

Sandisk 32GB USB for AFB, EPG, Picons & Timeshift

 

ZGemma Star S 7.0-Release

4/1 DiSEqC  30w 13e 19e 28e

Sandisk 8GB USB for AFB, EPG, Picons & Timeshift

 

LG 49UH610V UHD-HDR

UHF/Cable/Sat

 

E-Channelizer

 

 

 


Re: EPGImport Filter v1.00 by Acds #163 doglover

  • Rytec EPG Team
  • 17,393 posts

+658
Excellent

Posted 4 May 2017 - 13:10

A workaround for this problem:

 

Edit file /usr/lib/enigma2/python/Plugins/Extensions/EPGImportFilter/ui.py

 

remove line #  273: <panel name="PigTemplate"/>

 

and line #816:  <panel name="PigTemplate"/>

 

Restart enigma2.

 

These changes remove the PIG (picture) from the screen.

The UI looks a bit small on the screen but it is usable.

 

Willy


~~Rytec Team~~
Maxytec Multibox SE OpenPli (used as mediaplayer)
Mutant HD2400 OpenPli
Vu+ Duo OpenPli (backup)

Synology NAS

Sat: 13E, 19.2E, 23.5E and 28.2E
*Pli/Rytec EPG POWERED*


Re: EPGImport Filter v1.00 by Acds #164 doglover

  • Rytec EPG Team
  • 17,393 posts

+658
Excellent

Posted 4 May 2017 - 14:01

Another solution.  Still editing the same file

 

Replace the section startin at line 815 with
 

skin = """<screen name="EPGImportFilterScreen" position="fill" title="EPGImport Filter" flags="wfNoBorder">
  <panel name="PigTemplate"/>
  <panel name="ButtonTemplate_RGYB"/>  
  <widget name="list" position="780,110" size="1110,900" scrollbarMode="showOnDemand" font="Regular;32" />
  <widget name="statusbar" position="150,780" halign="left" size="625,40" font="Regular;30" />
  <widget name="status" position="150,825" halign="left" size="625,40" font="Regular;30" />   
</screen>"""

And the section starting at 272 with:

skin = """<screen name="EPGSelectEPGSourcesScreen" position="fill" zPosition="2" flags="wfNoBorder" title="Select EPG sources" >
    <panel name="PigTemplate"/>
  <panel name="ButtonTemplate_RG"/>  
  <widget name="list" font="Regular;32" position="780,110" size="1110,900" scrollbarMode="showOnDemand" />
</screen>"""

I am still working on the Advanced Mapping screen.  But at least this one works with the FullHD skin.  Although it is a bit small.

 

Willy


Edited by doglover, 4 May 2017 - 14:06.

~~Rytec Team~~
Maxytec Multibox SE OpenPli (used as mediaplayer)
Mutant HD2400 OpenPli
Vu+ Duo OpenPli (backup)

Synology NAS

Sat: 13E, 19.2E, 23.5E and 28.2E
*Pli/Rytec EPG POWERED*


Re: EPGImport Filter v1.00 by Acds #165 doglover

  • Rytec EPG Team
  • 17,393 posts

+658
Excellent

Posted 6 May 2017 - 09:51

The plugin can be used to link the EPG for IPTV channels:

I made an instruction for it.

 

https://forums.openp...nnels/?p=707248

 

Willy


~~Rytec Team~~
Maxytec Multibox SE OpenPli (used as mediaplayer)
Mutant HD2400 OpenPli
Vu+ Duo OpenPli (backup)

Synology NAS

Sat: 13E, 19.2E, 23.5E and 28.2E
*Pli/Rytec EPG POWERED*


Re: EPGImport Filter v1.00 by Acds #166 ColinB

  • Senior Member
  • 743 posts

+28
Good

Posted 8 May 2017 - 09:36

A workaround for this problem:

 

Edit file /usr/lib/enigma2/python/Plugins/Extensions/EPGImportFilter/ui.py

 

remove line #  273: <panel name="PigTemplate"/>

 

and line #816:  <panel name="PigTemplate"/>

 

Restart enigma2.

 

These changes remove the PIG (picture) from the screen.

The UI looks a bit small on the screen but it is usable.

 

Willy

 

Awesome Willy thats good enough to make it usuable again, thank you very much.

 

I tried option 2, but got a GS complaining of ident errors. Probably my editing, so will try later when I have had a few beers. ;)


Xtrend et8000 7.1-Release

2 x 8/1 DiSEqC  30w 13e 19e 23e 28e   

Astrometa USB Tuner Working DVB-T2 now on Kernel 4.10+  ;)

WD10EARX 1TB

Sandisk 32GB USB for AFB, EPG, Picons & Timeshift

 

ZGemma Star S 7.0-Release

4/1 DiSEqC  30w 13e 19e 28e

Sandisk 8GB USB for AFB, EPG, Picons & Timeshift

 

LG 49UH610V UHD-HDR

UHF/Cable/Sat

 

E-Channelizer

 

 

 


Re: EPGImport Filter v1.00 by Acds #167 Matrix10

  • Senior Member
  • 339 posts

+27
Good

Posted 2 June 2017 - 13:18

Willy,

 

Your plugins are used in many images.

 

 

I advise you not to use <panel name="???Template"/> , in coding

 

But full skin coding.

Then it is possible to make coding inside skin.xml for all images PLI and not PLI base images .



Re: EPGImport Filter v1.00 by Acds #168 Matrix10

  • Senior Member
  • 339 posts

+27
Good

Posted 2 June 2017 - 15:41

We cannot skin this in skin.xml (skin coding)

 

you have

 

<screen name="EPGImportFilterScreen"

 

Twice with different coding.

 

Old coding worked without any problems.



Re: EPGImport Filter v1.00 by Acds #169 Matrix10

  • Senior Member
  • 339 posts

+27
Good

Posted 2 June 2017 - 17:01

Willy,

 

Maybe we better get old plugin coding back.



Re: EPGImport Filter v1.00 by Acds #170 Matrix10

  • Senior Member
  • 339 posts

+27
Good

Posted 3 June 2017 - 01:45

Willy

 

 

 tested again .

The only bigger bug is to use ,OK button in the Advanced panel.
I do not know if this bug exists in PLI image.

I have an image enigma crash.

 



Re: EPGImport Filter v1.00 by Acds #171 doglover

  • Rytec EPG Team
  • 17,393 posts

+658
Excellent

Posted 3 June 2017 - 06:44

I am not the author of this plug-in.

When I tried to use it on OpnePLi with the fullHD skin, I found a problem.  So I searched for a solution.

This solution is given above.  It is a quick fix, or a workaround, whatever you want to call it.  I is not a beauty  it just makes the plug-in useable again.

 

BTW the plug-in is not changed.  The installable IPK package remains the same.  You have to apply the corrections yourself to the py file.

 

I agree that the author (or somebody else with more programming knowledge than myself) should fix this skin problem, and make plug-in skinable.

 

Willy


~~Rytec Team~~
Maxytec Multibox SE OpenPli (used as mediaplayer)
Mutant HD2400 OpenPli
Vu+ Duo OpenPli (backup)

Synology NAS

Sat: 13E, 19.2E, 23.5E and 28.2E
*Pli/Rytec EPG POWERED*


Re: EPGImport Filter v1.00 by Acds #172 Matrix10

  • Senior Member
  • 339 posts

+27
Good

Posted 3 June 2017 - 10:17

Ok,

 

Thanks Willy

Have nice wknd.



Re: EPGImport Filter v1.00 by Acds #173 Cofybreak

  • Senior Member
  • 115 posts

0
Neutral

Posted 5 April 2018 - 18:25

This plugin dont work from some time ago.

Here is patch to fix it.

 

Attached Files



Re: EPGImport Filter v1.00 by Acds #174 ColinB

  • Senior Member
  • 743 posts

+28
Good

Posted 5 April 2018 - 19:13

This plugin dont work from some time ago.

Here is patch to fix it.

 

How to to apply this patch ?

 

 

--- EPGImportFilterWorker.py.org    2018-04-05 20:15:27.010287762 +0300
+++ EPGImportFilterWorker.py    2018-04-05 20:10:20.912082038 +0300
@@ -265,7 +265,7 @@
                     except Exception, e: pass
                     if not line.find("</channel>") == -1 and inChannels:
                         inChannels = False
-                    elif not line.find("channel name=") == -1 and not line.find("rytec.channels.xml.gz") == -1:
+                    elif not line.find("channel name=") == -1 and not line.find("rytec.channels.xml.xz") == -1:
                         inChannels = True
                     elif (self.channelSource == "" or self.download_error) and inChannels and line.find("<url>"):                    
                         # find only first channel source for now
@@ -334,9 +334,9 @@
         self.status = "Reading channels.."
 
         channelPath = filename
-        if filename.endswith('.gz'):
-            system("gunzip " + filename)
-            channelPath = filename.split(".gz")[0]
+        if filename.endswith('.xz'):
+            system("unxz " + filename)
+            channelPath = filename.split(".xz")[0]
 
         if not os.path.isfile(channelPath):
             self.status = "Error when opening file:" + filename
@@ -368,8 +368,8 @@
                     if not (self.updateStatus is None): self.updateStatus(self.done)
                     r = 0
 
-                if (not len(line) < 9 and line[:11] == "<channel id"):
-                #if not (line.find("<channel id") == -1):
+                #if (not len(line) < 9 and line[:11] == "<channel id"):
+                if not (line.find("<channel id") == -1):
                     try: name = line.split('"',1)[1].split('"',1)[0]
                     except: name = ""
                     compareName = self.getCompareName(name)
@@ -517,16 +517,16 @@
             proceedEpgLoadThread(result, self.filename, False)
         
     def proceedEpgLoadThread(self, result, filename, deleteFile = False):
-        # If the file is gz extract it
+        # If the file is "xz" extract it
         self.done = 0
         self.status = "Parsing epg " + self.epgLoadSources[self.epgLoadCounter][0]
         self.doneStr = "%"        
         if not (self.updateStatus is None): self.updateStatus(self.done)
 
         epgSourcePath = filename
-        if filename.endswith('.gz'):
-            system("gunzip " + filename)
-            epgSourcePath = filename.split(".gz")[0]
+        if filename.endswith('.xz'):
+            system("unxz " + filename)
+            epgSourcePath = filename.split(".xz")[0]
         
         # Parse epg.xml file
         inProgramme = False; programName = ""; cnt = 0
 


Edited by ColinB, 5 April 2018 - 19:16.

Xtrend et8000 7.1-Release

2 x 8/1 DiSEqC  30w 13e 19e 23e 28e   

Astrometa USB Tuner Working DVB-T2 now on Kernel 4.10+  ;)

WD10EARX 1TB

Sandisk 32GB USB for AFB, EPG, Picons & Timeshift

 

ZGemma Star S 7.0-Release

4/1 DiSEqC  30w 13e 19e 28e

Sandisk 8GB USB for AFB, EPG, Picons & Timeshift

 

LG 49UH610V UHD-HDR

UHF/Cable/Sat

 

E-Channelizer

 

 

 


Re: EPGImport Filter v1.00 by Acds #175 Cofybreak

  • Senior Member
  • 115 posts

0
Neutral

Posted 5 April 2018 - 19:47

Put patchfile in "/usr/lib/enigma2/python/Plugins/Extensions/EPGImportFilter"

Telnet to your stb and navigate to this directory.

cd /usr/lib/enigma2/python/Plugins/Extensions/EPGImportFilter

Apply patch with

patch < fix.patch

 Reboot Enigma and should be to work again.

 P.P.: To remove pach

patch -R < fix.patch


Re: EPGImport Filter v1.00 by Acds #176 WanWizard

  • PLi® Core member
  • 70,538 posts

+1,812
Excellent

Posted 5 April 2018 - 20:09

Why is this fix needed? And why isn't it applied to the plugin itself?


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: EPGImport Filter v1.00 by Acds #177 ColinB

  • Senior Member
  • 743 posts

+28
Good

Posted 5 April 2018 - 20:27

@WW The Author has had no input for over a year


Xtrend et8000 7.1-Release

2 x 8/1 DiSEqC  30w 13e 19e 23e 28e   

Astrometa USB Tuner Working DVB-T2 now on Kernel 4.10+  ;)

WD10EARX 1TB

Sandisk 32GB USB for AFB, EPG, Picons & Timeshift

 

ZGemma Star S 7.0-Release

4/1 DiSEqC  30w 13e 19e 28e

Sandisk 8GB USB for AFB, EPG, Picons & Timeshift

 

LG 49UH610V UHD-HDR

UHF/Cable/Sat

 

E-Channelizer

 

 

 


Re: EPGImport Filter v1.00 by Acds #178 WanWizard

  • PLi® Core member
  • 70,538 posts

+1,812
Excellent

Posted 5 April 2018 - 20:39

Is there any source available somewhere?

 

Is this it? https://github.com/E...EPGImportFilter


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: EPGImport Filter v1.00 by Acds #179 ColinB

  • Senior Member
  • 743 posts

+28
Good

Posted 5 April 2018 - 22:51

Yup thats all.

 

Skinning was the original  issue.

 

It started with very good intentions, though most were focused on Rytec not geing kept up to date, due to lack of user feed back to Rytec (willy).

 

It still has value, were the user can map an epg from another parralell channel to their own.


Xtrend et8000 7.1-Release

2 x 8/1 DiSEqC  30w 13e 19e 23e 28e   

Astrometa USB Tuner Working DVB-T2 now on Kernel 4.10+  ;)

WD10EARX 1TB

Sandisk 32GB USB for AFB, EPG, Picons & Timeshift

 

ZGemma Star S 7.0-Release

4/1 DiSEqC  30w 13e 19e 28e

Sandisk 8GB USB for AFB, EPG, Picons & Timeshift

 

LG 49UH610V UHD-HDR

UHF/Cable/Sat

 

E-Channelizer

 

 

 


Re: EPGImport Filter v1.00 by Acds #180 WanWizard

  • PLi® Core member
  • 70,538 posts

+1,812
Excellent

Posted 5 April 2018 - 23:22

So it's a matter of applyting that patch and you're good to go again? I'll have a look tomorrow.


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.



5 user(s) are reading this topic

0 members, 5 guests, 0 anonymous users