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 da60072
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 1 deletion.
1 change: 1 addition & 0 deletions .pylintrc
Original file line number Diff line number Diff line change
Expand Up @@ -10,6 +10,7 @@ disable=
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: 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 da60072

Please sign in to comment.