If someone can tell me exactly what...
Only import EPG for channels in Bouquets - change requested
Re: Only import EPG for channels in Bouquets - change requested #81
Posted 21 June 2019 - 15:23
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: Only import EPG for channels in Bouquets - change requested #82
Posted 21 June 2019 - 15:25
Littlesat should have all the info. (he wrote it)
But it is the plugin.py file which is attached to post #60 in this thread.
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: Only import EPG for channels in Bouquets - change requested #83
Posted 21 June 2019 - 16:01
I've pinged him, but I guess busy at work.
edit: ok, that is the version I've removed the syntax error from. I'll have a look.
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: Only import EPG for channels in Bouquets - change requested #84
Posted 21 June 2019 - 16:08
Done.
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: Only import EPG for channels in Bouquets - change requested #85
Re: Only import EPG for channels in Bouquets - change requested #86
Re: Only import EPG for channels in Bouquets - change requested #87
Re: Only import EPG for channels in Bouquets - change requested #88
Re: Only import EPG for channels in Bouquets - change requested #89
Posted 23 June 2019 - 00:10
PLI uses this repository
https://github.com/O...sions-epgimport
Commit for this change was here
https://github.com/O...4b611f0008da72a
Edited by Abu Baniaz, 23 June 2019 - 00:11.
Re: Only import EPG for channels in Bouquets - change requested #90
Posted 23 June 2019 - 02:52
No need to do that.. in post #39 I already fixed that - as I also discovered it...
Better test it and when issues are discovered fix it..
I think string match here is more sufficient. No need to make it extra complex by converting the stuff to e.g. a list of integers and then compare lists- this is more complicated... The service references come as string with hexadecimal characters and : as seperator. We can consider to remove the ":".join(of course and then compare list of strings).
This is just an example how we can work together!
1:0:02:1292:07EA:2:011A0000:0:0:0:
Reason I said convert to numbers was not for efficiency. Current commit does not work where there are leading zeros. Nor does it handle namespace subnet.
In my opinion it is more important that it works properly than a few extra seconds in run time.
Re: Only import EPG for channels in Bouquets - change requested #91
Posted 23 June 2019 - 07:15
Previously you should also had this is as we also had string comparing. So actually you also describe a different issue. Maybe when we read the bouquets we should remove them? Or in the xml download formatring or so we should remove them. First please investigate where it does come from because on more places in e2 where references are compared this will go wrong.
I prefer to solve it at the source and not work-a-round somewhere ‘later’.
Edited by littlesat, 23 June 2019 - 07:52.
WaveFrontier 28.2E | 23.5E | 19.2E | 16E | 13E | 10/9E | 7E | 5E | 1W | 4/5W | 15W
Re: Only import EPG for channels in Bouquets - change requested #92
Posted 23 June 2019 - 08:42
Service refs with leading zero's, yes they could be a problem.
1. All the enigma2 stuff do not produce service refs with leading zero's
2. The fastscan's also do not produce them.
3. In constructing the channels file for EPGimport, I was very aware of this and avoid them. Although I cannot guaranty that none exist. But if it exist it should be changed and not programmed for.
Where they come from:
From people using all kinds of software, and manually put these into bouquets.
According to my knowledge Dreamset and Dreamboxedit do not use these service refs with leading zero's.
Although they could be a problem. However the problem is created by people doing manual stuff.
And if they run into problems with that, so be it. You cannot program for every mistake somebody makes.
Edited by doglover, 23 June 2019 - 08:45.
~~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: Only import EPG for channels in Bouquets - change requested #93
Re: Only import EPG for channels in Bouquets - change requested #94
Re: Only import EPG for channels in Bouquets - change requested #95
Posted 23 June 2019 - 12:06
Littlesat, the reason this is happening is because you insist on using a string comparison to compare numbers. Leading zero and upper/lower case are all vallid ways to write a hex value.
Also, because you are not comparing numbers this will also break when namespace subnet is enabled/disabled.
Re: Only import EPG for channels in Bouquets - change requested #96
Posted 23 June 2019 - 12:31
As far I see it the format is without leading zero’s and not with...
Edited by littlesat, 23 June 2019 - 12:52.
WaveFrontier 28.2E | 23.5E | 19.2E | 16E | 13E | 10/9E | 7E | 5E | 1W | 4/5W | 15W
Re: Only import EPG for channels in Bouquets - change requested #97
Re: Only import EPG for channels in Bouquets - change requested #98
Re: Only import EPG for channels in Bouquets - change requested #99
Posted 23 June 2019 - 15:30
I still don’t understand how you het the leading zero’s
Edited by littlesat, 23 June 2019 - 15:32.
WaveFrontier 28.2E | 23.5E | 19.2E | 16E | 13E | 10/9E | 7E | 5E | 1W | 4/5W | 15W
Re: Only import EPG for channels in Bouquets - change requested #100
Posted 23 June 2019 - 15:41
I don't know what you mean "fix" at source. These are valid values. Enigma does not see them as faulty values. There is nothing to "fix" elsewhere. The problem is in the plugin not comparing one hex value to another hex value properly.
Also, you are converting to upper case. If your argument is "fix" at source why is that also not fixed at source?
Internally in enigma c++ code these are dealt with as intergers so why should it be any different here?
Also you are still avoiding the issue of namespace subnet. In PLi that is a value the user can turn on and off from the menu.
1 user(s) are reading this topic
0 members, 1 guests, 0 anonymous users