diff options
author | Rechi <Rechi@users.noreply.github.com> | 2017-10-22 13:22:33 +0200 |
---|---|---|
committer | GitHub <noreply@github.com> | 2017-10-22 13:22:33 +0200 |
commit | 1d357f7246cf4afa1b762553ad17ff3ee5c29197 (patch) | |
tree | 0a24628136d871d684f76369112804481e92e4e4 | |
parent | 1d062ac316b8e76068acfea422bd8e287fe50106 (diff) | |
parent | 87dcce5fac2ea76abb4cd9c9edb1aca6e28bce01 (diff) |
Merge pull request #1471 from andy-g/fix/redbull_api_endpoints
[plugin.video.redbull.tv] v2.0.1
-rw-r--r-- | plugin.video.redbull.tv/addon.xml | 2 | ||||
-rw-r--r-- | plugin.video.redbull.tv/resources/lib/redbulltv_client.py | 11 |
2 files changed, 7 insertions, 6 deletions
diff --git a/plugin.video.redbull.tv/addon.xml b/plugin.video.redbull.tv/addon.xml index 22ec615..30b5626 100644 --- a/plugin.video.redbull.tv/addon.xml +++ b/plugin.video.redbull.tv/addon.xml @@ -1,5 +1,5 @@ <?xml version="1.0" encoding="UTF-8" standalone="yes"?> -<addon id="plugin.video.redbull.tv" name="Red Bull TV" version="2.0.0" provider-name="andy-g"> +<addon id="plugin.video.redbull.tv" name="Red Bull TV" version="2.0.1" provider-name="andy-g"> <requires> <import addon="xbmc.python" version="2.25.0"/> </requires> diff --git a/plugin.video.redbull.tv/resources/lib/redbulltv_client.py b/plugin.video.redbull.tv/resources/lib/redbulltv_client.py index eb5622c..8124273 100644 --- a/plugin.video.redbull.tv/resources/lib/redbulltv_client.py +++ b/plugin.video.redbull.tv/resources/lib/redbulltv_client.py @@ -2,12 +2,12 @@ import re, urllib2 import utils class RedbullTVClient(object): - REDBULL_API = "https://appletv-v2.redbull.tv/" + REDBULL_API = "https://appletv.redbull.tv/" ROOT_MENU = [ - {"title": "Discover", "url": REDBULL_API + "views/discover", "is_content":False}, - {"title": "TV", "url": REDBULL_API + "views/tv", "is_content":False}, - {"title": "Channels", "url": REDBULL_API + "views/channels", "is_content":False}, - {"title": "Calendar", "url": REDBULL_API + "views/calendar", "is_content":False}, + {"title": "Discover", "url": REDBULL_API + "products/discover", "is_content":False}, + {"title": "TV", "url": REDBULL_API + "products/tv", "is_content":False}, + {"title": "Channels", "url": REDBULL_API + "products/channels", "is_content":False}, + {"title": "Calendar", "url": REDBULL_API + "products/calendar", "is_content":False}, {"title": "Search", "url": REDBULL_API + "search?q=", "is_content":False}, ] @@ -108,3 +108,4 @@ class RedbullTVClient(object): for item in xml_elements: items.append(self.get_element_details(item, url)) return items +
\ No newline at end of file |