Kodi Community Forum

Full Version: HGTV Canada Video Addon - Canada Only
You're currently viewing a stripped down version of our content. View the full version with proper formatting.
Pages: 1 2 3 4 5 6 7 8 9
Working fine here with the editing and Raspberry PI2, PI3 and Nvidia Sheild.
The edit worked perfect. 

Can't believe this has been broken for so long and now fixed.

Well appreciated.
Can you tell me where to find the file to modify on an Android box.  Step by step might be necessary. sorry

**Disregard** I found the file and made the edit.  it works now. THANKS
Thanks for the patch. I'm not sure why the original doesn't work, it essentially does the same thing unless the playable url now being returned is something other than an .m3u8.
I will make the change and submit to the kodi.org repo.
(2018-08-20, 02:44)hgtv Wrote: [ -> ]@ciar67 , have you modified scraper.py as described in post #100?
https://forum.kodi.tv/showthread.php?tid...pid2759136
 thanks for reply. no im not sure what to do but i'll work it out

updated and now works if pop on vpn for canada. funny, thought i was in canada. ;0)
My wife really wants to watch HGTV Canada. Can anyone else verify if it works for them right now and if so, how can I get it working. I have version 3.03.
I can confirm that the HGTV Canada v3.0.3 video add-on works for me on a Raspberry Pi 3 with LibreElec 8.2.1 and Kodi 17.6.  I tested by streaming the "Satisfaction Guaranteed" episode of Season 2 of "Bryan Inc." (there are two listings -- one with and one without a period).
Version 3.0.3 works great for me but is it possible that some season are not showing up? I tried to watch holmes and holmes season 2 but I can only see "Full Episodes" in the season list (which is season 1).

Any idea? Thank!
It's very possible. I live part of the year in Maine near the CA border and used to be able access all the Canadian sites. I changed to a high speed ISP and lost that ability. Can you have a look at the website in a browser and let me know if you are able to play videos beyond those in the add-on?
I am using the HGTV Canada v3.0.3 video add-on on a Raspberry Pi 3 with LibreELEC 8.2.3 and Kodi 17.6.

With this setup I am able to stream "Homes Sweet Home" which is currently the top episode of six listed under "Full Episodes" of "Holmes and Holmes".
I'm using Raspberry with OSMC and HGTV canada plugin 3.0.3. I see the same 6 episodes, witch is season 1. But if I go to the HGTV canada website, I see a season 2 with 12 more episode. Since I'm in Quebec, I can watch theses from the website witout any problem.

I tried to open manually the url used by scraper.py, (http://feed.theplatform.com/f/dtjsEC/EAlt6FfQ_kCX) and I can see season 2 episodes listed.

Maybe there is a way to flush the episode list cache and force it to rebuilt the list?

Any Idea? Thank you!
I finally have some time tonight to see why Episode 2 of Holmes and Holmes dont show up. I dont really know how a kodi plugin works but I have some basic in coding.

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. I didn't look if there is other season showing up for other show.

Is there any docs on the url syntax? There is other show that seem to have problem and I can take dome time to look at it.

Thank you,

V.
(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: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.

Yes, you have to change it for all url, I just give the general idea.

With this change, you also have more episodes of home to win and the new season of Island of brian.

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.

Veers
(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.

I too see some strange list entries, although I think these may be due to inconsistencies in the naming of the original series and episodes.  Even with these strange entries, your "hack" is an improvement because it enables access to more shows.  Thanks again for sharing your code change.
Pages: 1 2 3 4 5 6 7 8 9