Looks alright, but there is a formatting issue with your patch against the original one, have you followed the guide for coding standards for MediaPortal, and here I especially mena the indentation? Coding Standards - MediaPortal Wiki
Update: Problem solved!
The electronic program guides (tvguide.xml) have been successfully transferred to MediaPortal.
The issue stemmed from the corruption of one or both of the mc2xml.dat and/or mc2xml.exe files, for an unknown reason. Consequently, even though the tvguide.xml file appeared to be updated, its content kept being an...
Update: Problem solved!
The electronic program guides (tvguide.xml) have been successfully transferred to MediaPortal.
The issue...
I was having a problem with the EPG on MP2 1.4.1 (although it used to run without any issues for a while). So I installed MP2 1.5...
Got a reply from SD ...
"Looks like your last successful download was on 5/23.
On 5/24 for some reason we received 194 connections between 10:54 and 11:05
triggering a denial of service attack ban. The logs show it was lifted on 5/25,
but I still see the entry in iptables. I reset fail2ban and hopefully you're
working again."
Weird...
Got a reply from SD ...
"Looks like your last successful download was on 5/23.
On 5/24 for some reason we received 194...
I'm using MediaPortal 1.38.1 x64 and have an SD-DD lineup account. In the last week, I have not been able to update my EPG, and...