Hi, I'm new here so please forgive me if I am just missing something...
Just installed MP 1.1 RC1 (fresh install) and started playing a bit more with WebEPG.
Using the (fixed) Czech grabber for tv.sms.cz (https://forum.team-mediaportal.com/...feature-request-here-48/webepg-cookies-53697/), which contains the very same search code as the example in the MediaPortal_WebEPG_Grabber:
Apparently, using these the WebEPG is supposed to extract the entire string, i.e. including the brackets/comma/slash, right?
But it simply doesn't...
What ends up written in the database (or tvguide.xml file) is only the first number, i.e. if the episode string is "14/26" or "(123,124)", only the "14" or "123" gets extracted...
Done some tests and after changing the regexp to e.g. {1,1}, episode strings like the examples above are left intact... which is correct and seems like the problem is in the further processing of the extracted string before exporting to DB or XML.
Now I don't know if I am doing something wrong (but what?! there is nothing I could screw up...), or if it is a pretty nasty bug in the WebEPG...
But how comes nobody else would be bothered by such obvious bug? I'm totally confused...
Just installed MP 1.1 RC1 (fresh install) and started playing a bit more with WebEPG.
Using the (fixed) Czech grabber for tv.sms.cz (https://forum.team-mediaportal.com/...feature-request-here-48/webepg-cookies-53697/), which contains the very same search code as the example in the MediaPortal_WebEPG_Grabber:
Code:
<Search match="\([0-9]{1,3}[,][0-9]{0,3}\)" field="#EPISODE" remove="true" />
<Search match="\([0-9]{1,3}\)" field="#EPISODE" remove="true" />
<Search match="\([0-9]{1,3}[/][0-9]{0,3}\)" field="#EPISODE" remove="true" />
Apparently, using these the WebEPG is supposed to extract the entire string, i.e. including the brackets/comma/slash, right?
But it simply doesn't...
What ends up written in the database (or tvguide.xml file) is only the first number, i.e. if the episode string is "14/26" or "(123,124)", only the "14" or "123" gets extracted...
Done some tests and after changing the regexp to e.g. {1,1}, episode strings like the examples above are left intact... which is correct and seems like the problem is in the further processing of the extracted string before exporting to DB or XML.
Now I don't know if I am doing something wrong (but what?! there is nothing I could screw up...), or if it is a pretty nasty bug in the WebEPG...
But how comes nobody else would be bothered by such obvious bug? I'm totally confused...