Closed richard-scott closed 4 years ago
From a quick check it looks like this is due to the site being used to pull the channel list being updated to have tables in a new format. I’m gonna have a play around later and see if I can confirm this.
Will let you know how I get on.
Yes, looks like the table structure was changed yesterday. I've only had a very quick look. I'll have a more thorough check tonight to see. That's the problem with web scraping - you're always at the mercy of changes to the site
have
Was gonna have a crack myself but given I bumble my way through Python I’ll leave it to you.
Feel free to have a go if you like. It's not like that section of the code is going to win any beauty prizes. The bit that parses the site is under get_channel_listings. It combines any override definitions within the configuration with whatever it gleans from the site. Hacks abound! The whole bit could do with a proper tidy,
Otherwise I'll have a go tonight. Can't actually access the site from my work laptop to see the details of what has changed. Just what I can view on my phone. I can see that there are now separate columns for HD and SD, but don't know what else was done.
A very quick fix in the meantime would be to manually override the URL in the configuration to point to the page before the change. E.g.
- platform: virgintivo
tivos:
1:
name: Virgin V6
host: TIVO-C68000020000000
tvchannellists:
enable: True
url: https://www.tvchannellists.com/index.php?title=List_of_channels_on_Virgin_Media_(UK)&oldid=65570
Hopefully that is now working in the latest release. Limited testing as kids are watching the TV and don't appreciate me mucking about too much. Let me know if any issues.
All good here nice one on the quick fix!
Thanks for the fix :-)
Unable to use the add-on at all today ;-(