Skip to content

Commit

Permalink
Update license url (#9)
Browse files Browse the repository at this point in the history
  • Loading branch information
mediaminister authored Sep 27, 2024
1 parent cd93994 commit 9657341
Show file tree
Hide file tree
Showing 3 changed files with 4 additions and 5 deletions.
3 changes: 1 addition & 2 deletions .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 All @@ -19,7 +19,6 @@ disable=
consider-using-from-import,
unspecified-encoding,
broad-exception-raised,

super-with-arguments, # Python 2.7 compatibility
raise-missing-from, # Python 2.7 compatibility
consider-using-f-string, # Python 2.7 compatibility
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 9657341

Please sign in to comment.