2018-08-21, 05:48
Working fine here with the editing and Raspberry PI2, PI3 and Nvidia Sheild.
(2018-08-20, 02:44)hgtv Wrote: @ciar67 , have you modified scraper.py as described in post #100?thanks for reply. no im not sure what to do but i'll work it out
https://forum.kodi.tv/showthread.php?tid...pid2759136
(2018-12-27, 04:43)Veers01 Wrote: So, after some work, I found that removing "%26byCustomValue%3D%7Bplayertag%7D%7Bz/HGTVNEWVC%20-%20New%20Video%20Center%7D" (excluding "") from the line:
url = 'http://common.farm1.smdg.ca/Forms/PlatformVideoFeed?platformUrl=http%3A//feed.theplatform.com/f/dtjsEC/EAlt6FfQ_kCX/categories%3Fpretty%3Dtrue%26byHasReleases%3Dtrue%26range%3D1-1000%26byCustomValue%3D%7Bplayertag%7D%7Bz/HGTVNEWVC%20-%20New%20Video%20Center%7D%26sort%3DfullTitle&callback='
... do the trick. Many more categories are showing up.
(2019-05-04, 18:39)kodaksmith Wrote:(2018-12-27, 04:43)Veers01 Wrote: So, after some work, I found that removing "%26byCustomValue%3D%7Bplayertag%7D%7Bz/HGTVNEWVC%20-%20New%20Video%20Center%7D" (excluding "") from the line:
url = 'http://common.farm1.smdg.ca/Forms/PlatformVideoFeed?platformUrl=http%3A//feed.theplatform.com/f/dtjsEC/EAlt6FfQ_kCX/categories%3Fpretty%3Dtrue%26byHasReleases%3Dtrue%26range%3D1-1000%26byCustomValue%3D%7Bplayertag%7D%7Bz/HGTVNEWVC%20-%20New%20Video%20Center%7D%26sort%3DfullTitle&callback='
... do the trick. Many more categories are showing up.
Great work @Veers01 for this tip on improving the HGTV Canada addon. Recently I applied your suggested changes. I discovered that I had to make this change to three locations in the plugin.video.hgtv.canada/resources/lib/scraper.py file which was stored in the .kodi/addons/ folder on my Raspberry Pi with LibreELEC 8.2.5.
After doing this I also noticed more episodes showing up. For example with Homes and Homes a new Season 2 showed up with 10 more episodes. Also a new Homes & Homes (notice the "&" instead of "and") category showed up with a Season 2 and 1 more episode.
For Backyard Builds both a new Season 1 (8 episodes) and Season 2 (12 episodes) showed up. These were in addition to the Full Episodes (12 episodes) category which displayed both before and after the code change.
Thanks also to @learningit for this addon.
(2019-05-04, 18:59)Veers01 Wrote: The downside of this modification is that you have some "ghost": show in double, weird episodes. The thing is the structure of all show seem to evolve with time and doesn't always follow the same format.
So, it better, but it's a little bit of a imperfect hack.