Zon has stopped "support" for their (old) tvcabo.pt domain name. The data should now be fetched from the zon.pt domain name. Apparently the data structure remains unchanged.
So:
Line 100 " my $DOMAIN = 'tvcabo.pt'; " (alter to 'zon.pt')
Line 252 " if (/^channel:?\s+(.+)\.tvcabo\.pt\s*$/) { " (alter tvcabo to zon)
Line 383 " $ch_xmltv_id =~ /(.+?)\.tvcabo\.pt/; " (same as above)
Those were the only references I could find to "tvcabo" in grab\pt\tv_grab_pt, so I believe altering those 3 line should fix it.
View and moderate all "patches Discussion" comments posted by this user
Mark all as spam, and block user from posting to "Patches (read-only)"
View and moderate all "patches Discussion" comments posted by this user
Mark all as spam, and block user from posting to "Patches (read-only)"
Revision 1.48 of tv_grab_pt fixed to reflect the source's domain name change
View and moderate all "patches Discussion" comments posted by this user
Mark all as spam, and block user from posting to "Patches (read-only)"
Changing lines 252 and 383 will break existing .conf files, but probably worth changing to avoid future confusion.
I've tested the changes with a test build, and it is fixed. I've attached a corrected version of this grabber's revision 1.48. I would give my thanks if any of the developers could update the file from alpha building. My test build will eventually stop working (when ActiveState PDK's trial period expires).
Did the channel numbers change? It would be nice to be able to use an old configuration if they are the same.
extended patch to read configuration with old site name to ease upgrades
View and moderate all "patches Discussion" comments posted by this user
Mark all as spam, and block user from posting to "Patches (read-only)"
Opening the conf file with a text editor, and changing the tvcabo part of the channel number to zon will make the conf file compatible with the changes made.
That's what I did.
Patch has been committed with a small addition to allow usage of old configuration files (its a drop in replacement)
The address changed again and with it, the data structure, I believe. At least the page look and functions are very different and the grabber doesn't work even if the address is changed as below.
New address is: http://www.zon.pt/tv/guiaTV/Pages/GuiaTV.aspx