Jump to content


Photo

EPGImportFilter development


  • Please log in to reply
68 replies to this topic

Re: EPGImportFilter development #41 blzr

  • PLi® Core member
  • 2,270 posts

+118
Excellent

Posted 5 January 2015 - 19:36

Hmmm, it's a bit dangerous to make changes in a submodule, it's always in a volatile state and can be "reset" at any time.

probably, but for my tests it worked this way without any issues ;)

 

does this yield an installable, working plugin?

it seems so, please find the plugin attached, if one would like to test it...
 
and one more adjustment to the recipe (gitpkgv):
 

MODULE = "EPGImportFilter"
DESCRIPTION = "EPGImport Filter"

RDEPENDS_${PN} = "\
	python-difflib \
	python-shell \
	"
inherit gitpkgv
PV = "1.0+git${SRCPV}"
PKGV = "1.0+git${GITPKGV}"
PR = "r0"

require openplugins-distutils.inc

require assume-gplv2.inc

True sarcasm doesn't need green font...

Re: EPGImportFilter development #42 Erik Slagter

  • PLi® Core member
  • 46,969 posts

+541
Excellent

Posted 5 January 2015 - 19:49

I will check again and also with your method.


* 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: EPGImportFilter development #43 pluizebol

  • Senior Member
  • 809 posts

+9
Neutral

Posted 5 January 2015 - 19:51

@Erik Slagter

@blzr

@Acds

 

That sounds wonderful.

Am I allowed to install/test it already ?


VU+ DUO 4K SE (1xDVB-S2X FBC Twin en 1xDVB-T2) / OpenPLi 8.3 / Logitech Harmony AB

Windows 10 Home Edition 64bits / VU+ Duo 4K SE / OpenPLi 8.3 / Citroën C5 II hydractive III+ BlueHDi / Samsung S21+

La Douce France


Re: EPGImportFilter development #44 Erik Slagter

  • PLi® Core member
  • 46,969 posts

+541
Excellent

Posted 6 January 2015 - 11:42

I have used the "basic" approach now and it seems to work. Beats me. I have applied it now. We will see tomorrow!


* 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: EPGImportFilter development #45 blzr

  • PLi® Core member
  • 2,270 posts

+118
Excellent

Posted 6 January 2015 - 12:05

I don't anticipate any problems ;)

(one suggestion though, it would be better to use the recipe from #41 (with gitpkgv) imho...)


True sarcasm doesn't need green font...

Re: EPGImportFilter development #46 Erik Slagter

  • PLi® Core member
  • 46,969 posts

+541
Excellent

Posted 6 January 2015 - 13:03

I was very conviced to have used the last version, did I screw up?


* 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: EPGImportFilter development #47 Erik Slagter

  • PLi® Core member
  • 46,969 posts

+541
Excellent

Posted 6 January 2015 - 13:10

OK fixed... I left out the PR, apparently you're not supposed to set it with newer OE versions.

 

EDIT: apparently I also forgot to push the first version of the OE commit...


Edited by Erik Slagter, 6 January 2015 - 13:12.

* 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: EPGImportFilter development #48 blzr

  • PLi® Core member
  • 2,270 posts

+118
Excellent

Posted 6 January 2015 - 13:59

also you forgot 'inherit gitpkgv' in the recipe, 
 
now it builds package named
enigma2-plugin-extensions-epgimportfilter_1.0+git${GITPKGV}-r0_mips32el.ipk
;)


True sarcasm doesn't need green font...

Re: EPGImportFilter development #49 Erik Slagter

  • PLi® Core member
  • 46,969 posts

+541
Excellent

Posted 6 January 2015 - 16:06

Maybe the third attempt will finally work??? :ph34r:


* 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: EPGImportFilter development #50 blzr

  • PLi® Core member
  • 2,270 posts

+118
Excellent

Posted 6 January 2015 - 16:30

looks that the third-time-lucky rule has proved its worth in this case ;)
now everything seems to be ok...


True sarcasm doesn't need green font...

Re: EPGImportFilter development #51 pluizebol

  • Senior Member
  • 809 posts

+9
Neutral

Posted 6 January 2015 - 18:21

Hence my question again guys : When will it become available on the feed ?


VU+ DUO 4K SE (1xDVB-S2X FBC Twin en 1xDVB-T2) / OpenPLi 8.3 / Logitech Harmony AB

Windows 10 Home Edition 64bits / VU+ Duo 4K SE / OpenPLi 8.3 / Citroën C5 II hydractive III+ BlueHDi / Samsung S21+

La Douce France


Re: EPGImportFilter development #52 Erik Slagter

  • PLi® Core member
  • 46,969 posts

+541
Excellent

Posted 6 January 2015 - 18:40

"nightly builds" ;)

* 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: EPGImportFilter development #53 Acds

  • Senior Member
  • 108 posts

+4
Neutral

Posted 6 January 2015 - 22:17

looks that the third-time-lucky rule has proved its worth in this case ;)
now everything seems to be ok...

 

Nice, good job!



Re: EPGImportFilter development #54 Erik Slagter

  • PLi® Core member
  • 46,969 posts

+541
Excellent

Posted 7 January 2015 - 09:44

Can anyone confirm that the plugin in the feed is working as it should? I am not familiar with the plugin.


* 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: EPGImportFilter development #55 pluizebol

  • Senior Member
  • 809 posts

+9
Neutral

Posted 7 January 2015 - 09:57

Hi Erik

 

The installation works OK

 

Right now I am struggling a bit with the selection of the channels that I want to include in the EPG-import.

 

I do not know yet how to use it exactly.

- a couple of channels do not find a match

- after an import I see the EPG for all the channels (including those that I did not select.

 

It is a bit trial and error for the time being.


VU+ DUO 4K SE (1xDVB-S2X FBC Twin en 1xDVB-T2) / OpenPLi 8.3 / Logitech Harmony AB

Windows 10 Home Edition 64bits / VU+ Duo 4K SE / OpenPLi 8.3 / Citroën C5 II hydractive III+ BlueHDi / Samsung S21+

La Douce France


Re: EPGImportFilter development #56 pluizebol

  • Senior Member
  • 809 posts

+9
Neutral

Posted 7 January 2015 - 13:23

Hmmm,

 

It does not work for me, reason why I uninstalled it.

Maybe the UI is not intuitive/self-explaining enough.

Anyway, I don't like it the way it is now.


VU+ DUO 4K SE (1xDVB-S2X FBC Twin en 1xDVB-T2) / OpenPLi 8.3 / Logitech Harmony AB

Windows 10 Home Edition 64bits / VU+ Duo 4K SE / OpenPLi 8.3 / Citroën C5 II hydractive III+ BlueHDi / Samsung S21+

La Douce France


Re: EPGImportFilter development #57 Acds

  • Senior Member
  • 108 posts

+4
Neutral

Posted 7 January 2015 - 22:26

Hmmm,

 

It does not work for me, reason why I uninstalled it.

Maybe the UI is not intuitive/self-explaining enough.

Anyway, I don't like it the way it is now.

 

Here is some explanation(paste from other topic). Now that we have a working version in the future builds I will include this help text inside a plugin.

 

---

 

There is no documentation and the Advanced screen is a bit complex, but here goes some level of explanation.

 

General idea behind the advanced matching screen is that you can have complete control over what the EPGImport plugin is doing.

 

The advanced matching screen is split into left and right section. On the left side, in the list, we review all the channels from our chosen bouquets from the beginning screen. If you change active bouquets on the beginning screen and go back to advanced option the visible channel list will refresh.

 

Pressing Ok button on the left side list will zap to that channel.

 

On the right side of the screen we see 3 lists. Upper list represent matches for selected channel in the left side list. That means every time we select different channel on the left side the right side list will refresh and show found matches for selected channel in the left side list.

 

Initial matching is done only by reference id, therefor on the right side we will see matches found for our channels that have matching ref in rytec channels file.

 

By clicking <> buttons we can focus the left side / right side list. If we selected right side list and press Ok, we will tag/un-tag the selected match. By un-tagging selected match we will actually block EPGImport plugin from importing epg data for that channel.

 

Considering that there are entries in the rytec epg files that are not yet matched to all existing channel ref's it's possible that some of our existing channels are unmatched because there is no known ref id in the channel file.

 

We can proceed now to name matching by loading epg data. Epg data files are actually the files that contain all channel epg data. We do that by clicking the red button on the advanced screen. 

We chose the rytec sources and press blue button (proceed).

 

Now we need to wait epg loading process to finish. The epg parser will recognize all program id's from the epg files and load 4 next events for each program. This is essential for the next matching step we need to do.

 

By clicking > button we will select right side list. Using 1,2,3 buttons will force name matching for selected channel versus all channels in the epg program files.

 

Name matching is done using libdiff library. This means that after we select a channel and press 1 or 2 or 3 button the right side list will show additional entries. These entries represent closest name matched from epg program file for that selected channel.

 

In addition below right side list we have 2 additional list. Right-bottom-left list represent epg data for selected match in the right side list and right-bottom-right list represent epg data for selected channel

on the left side list.

 

Now we can start reviewing all the data for our channels. We can analyze all name matches and review epg data and confirm that selected channel match is indeed our selected channel.

 

We can determine that channel match is actually correct but data is not as good as we want it to be so we can just left channel un-mapped so epg data won't load. This is the case with C+DEPORT HD channel. Someone should really investigate why that channel have such bad epg data.

 

Button 1 - will match left list channel with 10 closest name matched at 50% similarity(or 10% if none found)

Button 2 - will show 30 closest  matches

Button 3 - will show 50 closest matches

 

Button 4 - will show all bouquet channels (default)

Button 5 - will show only channels matched by ref

Button 6 - will show only channels that are not matches by ref

 

After we are done with matching we can press green button and save all of our matches. This is important because next time we open EPGImportFilter it will contain all previous matches.

 

Now we can press blue (install) button and create new filtered channel file that will have correct matches for our epg import plugin.

 

I know it's a bit of a complex routine but it's the simplest way I figured out to analyze and match large collection of rytec epg data files.

 

In addition when epgimport plugin now imports epg data for my 120 channels favorite bouquet it will last only few minutes (even if my channels are spread across 10 rytes sources) and will take only few megabytes of precious receiver memory.



Re: EPGImportFilter development #58 pluizebol

  • Senior Member
  • 809 posts

+9
Neutral

Posted 8 January 2015 - 09:03

@Acds

 

I cannot get the French channel W9 with EPG-Import-Filter

It is working well with Rytec


VU+ DUO 4K SE (1xDVB-S2X FBC Twin en 1xDVB-T2) / OpenPLi 8.3 / Logitech Harmony AB

Windows 10 Home Edition 64bits / VU+ Duo 4K SE / OpenPLi 8.3 / Citroën C5 II hydractive III+ BlueHDi / Samsung S21+

La Douce France


Re: EPGImportFilter development #59 Acds

  • Senior Member
  • 108 posts

+4
Neutral

Posted 8 January 2015 - 18:55

@Acds

 

I cannot get the French channel W9 with EPG-Import-Filter

It is working well with Rytec

 

How you mean "you cant get it". Its not listed under channels or?



Re: EPGImportFilter development #60 pluizebol

  • Senior Member
  • 809 posts

+9
Neutral

Posted 8 January 2015 - 20:01

 

@Acds

 

I cannot get the French channel W9 with EPG-Import-Filter

It is working well with Rytec

 

How you mean "you cant get it". Its not listed under channels or?

 

 

I have sent a PM to you about this and another problem.


VU+ DUO 4K SE (1xDVB-S2X FBC Twin en 1xDVB-T2) / OpenPLi 8.3 / Logitech Harmony AB

Windows 10 Home Edition 64bits / VU+ Duo 4K SE / OpenPLi 8.3 / Citroën C5 II hydractive III+ BlueHDi / Samsung S21+

La Douce France



5 user(s) are reading this topic

0 members, 5 guests, 0 anonymous users