Make EPGimport non case-sensitive
With the current version of EPGimport the channel-id used is case sensitive, so for EPGimport: France2.fr or FRANCE2.fr as channel-id is not the same.
Could this be made case insensitive on the channel-id?
I never assigned knowingly a EPGref which differed just on the case. So making it case independent should only improve things.
I remember searching for hours on a channel which did not have EPG, and it should, only to discover one letter was in a different case.
About the implementation:
You have to realize there are 2 importers in the plug-in. One in python for the non-patched images, And one written in C++ for the patched images like OpenPLi.
You have to adapt both.
Or you maybe can get away with converting the case to let say lowercase of the <channel id="ESPN2.us"> tag in the channels file and XMLTV files and the channel="Cine12.mu" tag in the XMLTV file before you pass on the files to the actual importer, which can be either one.
I think this is however not the road we should take. But maybe it is the easy way out.
Willy
Again thanks to Pr2
Edited by doglover, 27 September 2017 - 08:42.