Posts: 2
Joined: Aug 2015
Reputation:
0
I was able to get CBS shows to work by adding them to the Kodi Queue before playing them.
Posts: 13
Joined: Jan 2013
Reputation:
0
Can you please add CNN?
Is there any way to add cable subscription information to get all contents?
thanks
Posts: 28
Joined: Aug 2012
Reputation:
2
Can you please add support for Discovery Networks Channels - especially discovery, animal planet and tlc.
It seems to be very straight forward. I wrote some quick code to test it out and it seems to be working nicely.
Instead of writing and maintaining a separate plugin, it would be nice to integrate into this.
Here is my code. Please feel free to use it the way you see fit. I would be more than happy to send you the entire code if you need it.
Works for the three channels mentioned above.
discovery_base_url = 'http://www.discovery.com/tv-shows/'
animalplanet_base_url = 'http://www.animalplanet.com/tv-shows/'
tlc_base_url = 'http://www.tlc.com/tv-shows/'
to get list of shows:
url = above base_url + '?limit=1000&flat=1'
shows_list = re.compile("\\\\\"image_src\\\\\":\\\\\"(.*?)\\\\\".*?\\\\\"url\\\\\":\\\\\"(.*?)\\\\\".*?\\\\\"title\\\\\":\\\\\"(.*?)\\\\\".*?\\\\\"description\\\\\":\\\\\"(.*?)\\\\\".*?").findall(html)
for show in shows_list:
image = show[0]
url = show[1]
name = show[2]
summary = show[3]
to get list of videos for show:
url = url from shows above + '/videos/?limit=1000&fusionAjaxAction=selection_grid_load'
videos_list = re.compile("data-background-image=\\\\\"(.*?)\\\\\".*?class=\\\\\"item-title\\\\\"\>(.*?)\<\\\\/.*?class=\\\\\"description\\\\\"\>(.*?)\<\\\\/.*?class=\\\\\"extra video\\\\\"\>(.*?)\<\\\\/.*?data-src=\\\\\"(.*?)\\\\\"").findall(html)
for video in videos_list:
image = video[0]
name = video[1]
summary = video[2]
duration = video[3]
url = video[4]
to play the video:
url = url from videos above + '/?flat=1'
video_list = re.compile("brightcove.*?\"src\":\"(.*?\.m3u8)\"").findall(html)
video = video_list[0]
then xbmcplugin.setResolvedUrl to this video url.
Posts: 580
Joined: Apr 2013
Reputation:
30
Best way of doing this is to setup a github account for the two then raise a pull request.
Posts: 2
Joined: Dec 2015
Reputation:
0
Hi All,
I download the Repo from github but i could not find USTV VoD inside the video-addon folder. Inside is empty.
Maybe i have download wrongly. Could someone help me please?
Thanks
Posts: 11
Joined: Mar 2014
Reputation:
0
cas4
Junior Member
Posts: 11
2015-12-19, 16:12
(This post was last modified: 2015-12-23, 22:01 by cas4.)
Anyone else having problems with TBS and TNT channels? The episode lists populate, but nothing is playable.