Jump to content


Acds

Member Since 16 Oct 2014
Offline Last Active 29 Dec 2018 14:43
-----

#897043 EPGImport Filter v1.00 by Acds

Posted by Acds on 10 June 2018 - 21:01

Been a while but lately I had the time to update the plugin. It's on the github so it should be with the new update.

 

Thanks Cofybreak to make things easier for me. :)




#456291 EPGImport Filter v1.00 by Acds

Posted by Acds on 20 November 2014 - 13:18


  File "/usr/lib/enigma2/python/Plugins/Extensions/EPGImportFilter/EPGImportFilterWorker.py", line 302, in proceedCreateFilteredChannelFile
    proceedCreateFilteredChannelFileThread(result, filename, False)
exceptions.NameError: global name 'proceedCreateFilteredChannelFileThread' is not defined

There was an error on line 302, the call to a function was missing "self.". For some reason python on opelPLI ignores that problem but VTI is more sensitive.

 

Try to use attached version.

Attached Files




#455552 EPGImport Filter v1.00 by Acds

Posted by Acds on 16 November 2014 - 20:10

Ok, here is one example and I hope someone can explain me how to go around this problem:

I download two packages, Rytec Slovenia and Rytec UK. Rytec UK overwrites one channel (Travel Channel HD) with English EPG but I also have same channel in Rytec Slovenia with Slovenian language. Because Rytec UK is downloaded after Rytec SLO, Slovenian EPG is overruled. How to fix this using EPG Import filter?

 

Thanks

 

Hm, you can't. Only thing you can do is to run the import process twice (run correct epg source 2nd).

 

This feature could be "fixable" if epgimport plugin would have a option of sorting the order of the epg sources.

 

Maybe you can do it manually if you open rytec source file (etc/epgimport) and cut/paste slovenian source after the uk one. Perhaps then it will then load after Uk source and you will have desired epg data.




#452159 EPGImport Filter v1.00 by Acds

Posted by Acds on 31 October 2014 - 19:19

Ok here it is v.1.1.

 

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.

Attached Files