Jump to content


Photo

Request for change to EPGimport


  • Please log in to reply
80 replies to this topic

Re: Request for change to EPGimport #61 WanWizard

  • PLi® Core member
  • 70,839 posts

+1,832
Excellent

Posted 9 April 2021 - 17:11

@wanwizard the filter was not applied to a comment but to a valid XML tag called "channel id". If is not a regex applied to the full line but only to the field it must be applied

 

I see it now. Even weirder imho, as that means you potentionally have to filter hunderds of channels (obviously depending on the source).


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: Request for change to EPGimport #62 littlesat

  • PLi® Core member
  • 57,422 posts

+708
Excellent

Posted 9 April 2021 - 17:44

I cannot do it in my situation... so I’m now afraid you are angry because you did contribute something that might not be accepted and that is why you respond like this.... note e2 ha already language support for epg why didn’t you use and adapt it?
Instead you created another patchy work-a-round sorry to say that. The tags in the xmls are in the first place not dvb compatible.... this is wrong!

Edited by littlesat, 9 April 2021 - 17:46.

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


Re: Request for change to EPGimport #63 doglover

  • Rytec EPG Team
  • 17,456 posts

+666
Excellent

Posted 10 April 2021 - 07:48

The language tags are created following a standard.

And of course this standard is wrong for you.

So, I do nothing.

 

Very nice.


~~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: Request for change to EPGimport #64 jeepcook

  • Senior Member
  • 289 posts

+1
Neutral

Posted 10 April 2021 - 08:35

Hello,

 

As you said 90% of users have no knowledge about advanced e2 options or how to create or edit a file, ok. So what's the problem to implement options for advanced users ?

 

There are already a lot of specific configurations in e2 we can use, we, the 10% ! For epgimport, there are already specific options (custom.channels.xml, custom.sources.xml and an unlimited way to create specific sources and channels xml).

 

If you only want user friendly options, we can consider to destroy e2, because specificities are already a lot... by my side I make a lot of actions by script at boot, after restore or at defined time. The 90% don't know what is a crontab, so what's the e2 future, remove the crontab ? obviously not...

 

From years, e2 is in deep sleep mode, no real new functionalities and buggy ones that nobody want to fix. So I think you have to consider specific devs, and this one too.

 

Thanks

 

Regards


Edited by jeepcook, 10 April 2021 - 08:36.


Re: Request for change to EPGimport #65 Pr2

  • PLi® Contributor
  • 6,194 posts

+261
Excellent

Posted 10 April 2021 - 15:10

 

@wanwizard the filter was not applied to a comment but to a valid XML tag called "channel id". If is not a regex applied to the full line but only to the field it must be applied

 

I see it now. Even weirder imho, as that means you potentionally have to filter hunderds of channels (obviously depending on the source).

 

 

WanWizard,

 

Sorry but you already told me that you are not using EPGImport, so please don't  make assumption for something that you are not using.

We of course don't need to filter hundreds of channels, people select the EPG they want data on so this patch only fix a few situation where a channel with the same service reference is mentionned several times in the epg source file and it is always the latest one which is display in the EPG. This problem is very specific to a few channels only.

 

So when people ask Willy/Doglover to fix this he can simply ask them to create the channel_id_filter.conf and provide the string to put in, it is really easy and fix the problem without having to wait for months (years) to have skilled and intelligent developer to implement what he think is the ideal solution.  So far I propose a very simple and effective solution tested by people that really need it. 95% of the user will never have to create such filter file.


NO SUPPORT by PM, it is a forum make your question public so everybody can benefit from the question/answer.
If you think that my answer helps you, you can press the up arrow in bottom right of the answer.

Wanna help with OpenPLi Translation? Please read our Wiki Information for translators

Sat: Hotbird 13.0E, Astra 19.2E, Eutelsat5A 5.0W
VU+ Solo 4K: 2*DVB-S2 + 2*DVB-C/T/T2 (used in DVB-C) & Duo 4K: 2*DVB-S2X + DVB-C (FBC)

AB-Com: PULSe 4K 1*DVB-S2X (+ DVB-C/T/T2)
Edision OS Mio 4K: 1*DVB-S2X + 1*DVB-C/T/T2
 


Re: Request for change to EPGimport #66 Pr2

  • PLi® Contributor
  • 6,194 posts

+261
Excellent

Posted 10 April 2021 - 15:12

I cannot do it in my situation... so I’m now afraid you are angry because you did contribute something that might not be accepted and that is why you respond like this.... note e2 ha already language support for epg why didn’t you use and adapt it?
Instead you created another patchy work-a-round sorry to say that. The tags in the xmls are in the first place not dvb compatible.... this is wrong!

 

So we are back in a dead end: a solution that don't please you but is working versus a theoretical solution that you won't implement? Is this a good summary of the current situation?


NO SUPPORT by PM, it is a forum make your question public so everybody can benefit from the question/answer.
If you think that my answer helps you, you can press the up arrow in bottom right of the answer.

Wanna help with OpenPLi Translation? Please read our Wiki Information for translators

Sat: Hotbird 13.0E, Astra 19.2E, Eutelsat5A 5.0W
VU+ Solo 4K: 2*DVB-S2 + 2*DVB-C/T/T2 (used in DVB-C) & Duo 4K: 2*DVB-S2X + DVB-C (FBC)

AB-Com: PULSe 4K 1*DVB-S2X (+ DVB-C/T/T2)
Edision OS Mio 4K: 1*DVB-S2X + 1*DVB-C/T/T2
 


Re: Request for change to EPGimport #67 WanWizard

  • PLi® Core member
  • 70,839 posts

+1,832
Excellent

Posted 10 April 2021 - 16:25

Sorry but you already told me that you are not using EPGImport, so please don't  make assumption for something that you are not using.

 

Where do you get this idea from? I do, every day. I only stopped using it for UK channels, since the OpenTV format is now supported which is much more reliable.

 

Besides that, I don't need to be using something to have a functional discussion about it.

 

All I say is that this discussion hasn't happened, and now you're angry we're not happy with the workaround hack you came up with, because doglover didn't specify the problem to solve but came up with a proposed implementation, and you didn't look at the big picture so you missed there is a difference between the two.

 

The problem with specifying solutions (like someone saying implement "this" feature "this" way) is that the scope is always limited to the the observation of that someone, and it is very likely something is missed...


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: Request for change to EPGimport #68 Pr2

  • PLi® Contributor
  • 6,194 posts

+261
Excellent

Posted 10 April 2021 - 16:43

I check the rytecCH_Basic  which contains the EPG for Switzerland channels and they are all taggued as lang="fr"  even if they are in "de" or "it".

So the source is not yet fully reliable, I already inform Doglover about this. So a deep review of all the sources data must be done to ensure that the lang= is always correctly set.

 

By the way the implementation asked by Doglover was not bad that's why I implement it and we then don't have to care about the epg data source file quality, so forcing the usage of the lang= parameters can be worst than the currently proposed solution...


NO SUPPORT by PM, it is a forum make your question public so everybody can benefit from the question/answer.
If you think that my answer helps you, you can press the up arrow in bottom right of the answer.

Wanna help with OpenPLi Translation? Please read our Wiki Information for translators

Sat: Hotbird 13.0E, Astra 19.2E, Eutelsat5A 5.0W
VU+ Solo 4K: 2*DVB-S2 + 2*DVB-C/T/T2 (used in DVB-C) & Duo 4K: 2*DVB-S2X + DVB-C (FBC)

AB-Com: PULSe 4K 1*DVB-S2X (+ DVB-C/T/T2)
Edision OS Mio 4K: 1*DVB-S2X + 1*DVB-C/T/T2
 


Re: Request for change to EPGimport #69 littlesat

  • PLi® Core member
  • 57,422 posts

+708
Excellent

Posted 10 April 2021 - 17:19

I think we should consider to use the dvb style language strings for the languages, which is the standard in dvb.... when it is adapted in the xml sources we do not need additional conversion tables and are also able to use the current existing configs for it straight away..... this means the grabber need some recoding aswell and the code in e2 will be more straight away. It might be indeed a conversion table should be added to the epg grabbing instead.

when more languages are required for dvb default we can consider to add prefered epg languages.... maybe also change them all to unlimited numbers (most are no limited to 4 auto languages)

Edited by littlesat, 10 April 2021 - 17:21.

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


Re: Request for change to EPGimport #70 Pr2

  • PLi® Contributor
  • 6,194 posts

+261
Excellent

Posted 10 April 2021 - 17:25

The starting point module to change to support multilingual is the:

 

https://github.com/O...onverter.py#L29

 

There you will see that it focus on returning only the data, the language is totally omitted.

But the correct way to implement it is to support the language so load all the possible available languages into EPG data memory and let the program that visualized the EPG selec the right available language. 

EPGImport should not take into account the E2 settings it should just load data taking into account the defined lang=  parameter. But this parameter is repeated for the different possible fields.

 

 <programme start="... +0200" stop="... +0200" channel="channel_id.ext">
    <title lang="it">...</title>
    <sub-title lang="it">...</sub-title>
    <desc lang="it">...</desc>
</programme>

NO SUPPORT by PM, it is a forum make your question public so everybody can benefit from the question/answer.
If you think that my answer helps you, you can press the up arrow in bottom right of the answer.

Wanna help with OpenPLi Translation? Please read our Wiki Information for translators

Sat: Hotbird 13.0E, Astra 19.2E, Eutelsat5A 5.0W
VU+ Solo 4K: 2*DVB-S2 + 2*DVB-C/T/T2 (used in DVB-C) & Duo 4K: 2*DVB-S2X + DVB-C (FBC)

AB-Com: PULSe 4K 1*DVB-S2X (+ DVB-C/T/T2)
Edision OS Mio 4K: 1*DVB-S2X + 1*DVB-C/T/T2
 


Re: Request for change to EPGimport #71 doglover

  • Rytec EPG Team
  • 17,456 posts

+666
Excellent

Posted 10 April 2021 - 17:37

First the swis source:

 

Yes the swiss channels are mess in the language settings.

I already have fixed today a number of channels.

But there a big number to be fixed.

 

This originates from the fact that they are grabbed mosty from one website.  And language setting is per website.

I can however make 3 version each with a separate language setting.  That will fix it.

 

Secondly:

Are you testing how far you can go?

First the fix I asked for, is not good.

Now the language settings are not good, because not the DVB standard.

Do you know how much work is involved to get these all changed?

 

My enthusiasm for providing EPG is rapidly dwindling.

If you want to kill the EPG altogether, you are doing very well.

I am not a sado-masochist.


Edited by doglover, 10 April 2021 - 17:38.

~~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: Request for change to EPGimport #72 Pr2

  • PLi® Contributor
  • 6,194 posts

+261
Excellent

Posted 10 April 2021 - 18:21

Hi Doglover,

 

1. Thanks for the explanation

 

2. I totally agree with you, you are doing a great job for the EPG community now if they want that the lang tag become valuable they should tell you which standard is used for the DVB EPG standard.

 

Google since to indicate that the value should be in the ISO 639.2 standard. For exemple is wikipedia is righ french can be either  fre ou fra  so which one to choose for the EPG Data? But fr is no longer valid since it is ISO 639.1

Should we already use the ISO 639.3 which is non ambiguous for french so it should then be fra. Same applies for Deutsch ger/deu

 

So please DVB EPG expert can you please tell Doglover what is the right reference for the EPG language code. How E2 is handling this double language reference code possibility?

 

Pr2


NO SUPPORT by PM, it is a forum make your question public so everybody can benefit from the question/answer.
If you think that my answer helps you, you can press the up arrow in bottom right of the answer.

Wanna help with OpenPLi Translation? Please read our Wiki Information for translators

Sat: Hotbird 13.0E, Astra 19.2E, Eutelsat5A 5.0W
VU+ Solo 4K: 2*DVB-S2 + 2*DVB-C/T/T2 (used in DVB-C) & Duo 4K: 2*DVB-S2X + DVB-C (FBC)

AB-Com: PULSe 4K 1*DVB-S2X (+ DVB-C/T/T2)
Edision OS Mio 4K: 1*DVB-S2X + 1*DVB-C/T/T2
 


Re: Request for change to EPGimport #73 doglover

  • Rytec EPG Team
  • 17,456 posts

+666
Excellent

Posted 10 April 2021 - 18:41

The WG++ program use the microsoft langusge codes.
I cannot easily replace these.

Of course it is possible, but rquires me to add approx 15 statements to each grabber.
And i have 400 of them.

So no thanks.
Is it so hard to include a translation table?

Besides the fact that anybody using the data on non-enigma machine suddenly does not understand these language codes.

If I am forced to do it, I will quit.
Clear?

~~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: Request for change to EPGimport #74 jeepcook

  • Senior Member
  • 289 posts

+1
Neutral

Posted 10 April 2021 - 19:26

No Doglover !! You make a hard work every day to propose us a complete epg, you fix every missing or ref changes as soon as you received them. You are a serious guy who give use a powerfull and correct grabbing.

 

So please don't quit this project :wacko: :wacko:....



Re: Request for change to EPGimport #75 demosat1

  • Senior Member
  • 367 posts

+6
Neutral

Posted 10 April 2021 - 20:22

I hope that Doglover is immortal, because the day or it will no longer be this world ... when will it be maintenance of the EPG.



Re: Request for change to EPGimport #76 doglover

  • Rytec EPG Team
  • 17,456 posts

+666
Excellent

Posted 11 April 2021 - 08:18

May I remind the devs that the locales in enigma2 are in the language coding as I am using.

Including nb for Norwegian Bokmal

See screen shot.

Attached Files


Edited by doglover, 11 April 2021 - 08:19.

~~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: Request for change to EPGimport #77 Pr2

  • PLi® Contributor
  • 6,194 posts

+261
Excellent

Posted 11 April 2021 - 08:35

Yes but the DVB standard is using the ISO 639.2 standard.

To avoid any confusion I am not working on implementing the usage of the XML Lang="XX" tag in EPGimport. I just point out where this is currently retrieved in code.

NO SUPPORT by PM, it is a forum make your question public so everybody can benefit from the question/answer.
If you think that my answer helps you, you can press the up arrow in bottom right of the answer.

Wanna help with OpenPLi Translation? Please read our Wiki Information for translators

Sat: Hotbird 13.0E, Astra 19.2E, Eutelsat5A 5.0W
VU+ Solo 4K: 2*DVB-S2 + 2*DVB-C/T/T2 (used in DVB-C) & Duo 4K: 2*DVB-S2X + DVB-C (FBC)

AB-Com: PULSe 4K 1*DVB-S2X (+ DVB-C/T/T2)
Edision OS Mio 4K: 1*DVB-S2X + 1*DVB-C/T/T2
 


Re: Request for change to EPGimport #78 Pr2

  • PLi® Contributor
  • 6,194 posts

+261
Excellent

Posted 18 April 2021 - 11:55

Hello,

 

I propose a new PR with the channel id filtering. I better describe the constraints that lead to implement this solution, it is slightly improved compared to the first version to avoid some confusing entries in log.

 

https://github.com/O...gimport/pull/53

 

This doesn't prevent to work on implementing the standard DVB language support into EPGImport so please view it as a Quick Win solution both solutions can live together.

 

End-users doesn't have to learn regex a simple cut and paste of the channel id will do the job (risk of false positive is really low and the log is clearly displaying the filtered "channel id" so debugging is easy). Moreover the content of this file for standard endusers will be explained by Doglover to easily fix there problem. Advanced users that test the solution already found benefits out of it. People can easily turn on/off one particular filter in the file since comments are allowed (line starting with a # are ignored).

The option to enable it or not on the custom.channels.xml is a specific request from Doglover.

 

I hope that it will be accepted because Doglover (Willy) is really waiting for it.

 

Regards,

 

Pr2


NO SUPPORT by PM, it is a forum make your question public so everybody can benefit from the question/answer.
If you think that my answer helps you, you can press the up arrow in bottom right of the answer.

Wanna help with OpenPLi Translation? Please read our Wiki Information for translators

Sat: Hotbird 13.0E, Astra 19.2E, Eutelsat5A 5.0W
VU+ Solo 4K: 2*DVB-S2 + 2*DVB-C/T/T2 (used in DVB-C) & Duo 4K: 2*DVB-S2X + DVB-C (FBC)

AB-Com: PULSe 4K 1*DVB-S2X (+ DVB-C/T/T2)
Edision OS Mio 4K: 1*DVB-S2X + 1*DVB-C/T/T2
 


Re: Request for change to EPGimport #79 jeepcook

  • Senior Member
  • 289 posts

+1
Neutral

Posted 18 April 2021 - 15:29

Hello Pr2,

 

Thanks for your work.

 

In the github description you speak about /etc/epgimport/custom.channels.conf, but in the commited code you are using channel_id_filter.conf.txt.

 

Using custom.channels.conf will be confused (with custom.channels.xml), and I think we have to use channel_id_filter.conf instead if channel_id_filter.conf.txt.

 

Thanks

 

 

 
 

 

 



Re: Request for change to EPGimport #80 Pr2

  • PLi® Contributor
  • 6,194 posts

+261
Excellent

Posted 18 April 2021 - 15:58

Sorry it is a typo of course the file is:  channel_id_filter.conf


NO SUPPORT by PM, it is a forum make your question public so everybody can benefit from the question/answer.
If you think that my answer helps you, you can press the up arrow in bottom right of the answer.

Wanna help with OpenPLi Translation? Please read our Wiki Information for translators

Sat: Hotbird 13.0E, Astra 19.2E, Eutelsat5A 5.0W
VU+ Solo 4K: 2*DVB-S2 + 2*DVB-C/T/T2 (used in DVB-C) & Duo 4K: 2*DVB-S2X + DVB-C (FBC)

AB-Com: PULSe 4K 1*DVB-S2X (+ DVB-C/T/T2)
Edision OS Mio 4K: 1*DVB-S2X + 1*DVB-C/T/T2
 



6 user(s) are reading this topic

0 members, 6 guests, 0 anonymous users