Skip to content

Commit

Permalink
Update license url
Browse files Browse the repository at this point in the history
  • Loading branch information
mediaminister committed Sep 27, 2024
1 parent cd93994 commit 8c5375d
Show file tree
Hide file tree
Showing 3 changed files with 4 additions and 4 deletions.
2 changes: 1 addition & 1 deletion .pylintrc
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@ disable=
no-init,
old-style-class,
too-few-public-methods,
too-many-arguments,
too-many-positional-arguments,
too-many-branches,
too-many-instance-attributes,
too-many-locals,
Expand Down
3 changes: 1 addition & 2 deletions requirements.txt
Original file line number Diff line number Diff line change
Expand Up @@ -7,6 +7,5 @@ python-dateutil
pysocks
requests
git+https://github.com/tamland/kodi-plugin-routing@master#egg=routing
six
sakee
win-inet-pton; platform_system=="Windows"
win-inet-pton; platform_system=="Windows"
3 changes: 2 additions & 1 deletion resources/lib/goplay/content.py
Original file line number Diff line number Diff line change
Expand Up @@ -217,6 +217,7 @@ class ContentApi:
""" GoPlay Content API"""
SITE_URL = 'https://www.goplay.be'
API_GOPLAY = 'https://api.goplay.be'
LICENSE_URL = 'https://widevine.keyos.com/api/v4/getLicense'

def __init__(self, auth=None, cache_path=None):
""" Initialise object """
Expand Down Expand Up @@ -358,7 +359,7 @@ def get_stream(self, uuid, content_type):
# See https://docs.unified-streaming.com/documentation/drm/buydrm.html#setting-up-the-client

# Generate license key
license_key = self.create_license_key('https://wv-keyos.licensekeyserver.com/', key_headers={
license_key = self.create_license_key(self.LICENSE_URL, key_headers={
'customdata': data['drmXml']
})

Expand Down

0 comments on commit 8c5375d

Please sign in to comment.