Skip to content

Commit

Permalink
Fix parameter values for stream play
Browse files Browse the repository at this point in the history
  • Loading branch information
liberty-developer committed Nov 26, 2018
1 parent 80b9445 commit 5d36356
Showing 1 changed file with 5 additions and 5 deletions.
10 changes: 5 additions & 5 deletions resources/lib/MSLHttpRequestHandler.py
Original file line number Diff line number Diff line change
Expand Up @@ -54,15 +54,15 @@ def do_GET(self):
else:
# Get the manifest with the given id
dolby = (True if 'dolby' in params and
params['dolby'][0].lower() == 'true' else 'false')
params['dolby'][0].lower() == 'true' else False)
hevc = (True if 'hevc' in params and
params['hevc'][0].lower() == 'true' else 'false')
params['hevc'][0].lower() == 'true' else False)
hdr = (True if 'hdr' in params and
params['hdr'][0].lower() == 'true' else 'false')
params['hdr'][0].lower() == 'true' else False)
dolbyvision = (True if 'dolbyvision' in params and
params['dolbyvision'][0].lower() == 'true' else 'false')
params['dolbyvision'][0].lower() == 'true' else False)
vp9 = (True if 'vp9' in params and
params['vp9'][0].lower() == 'true' else 'false')
params['vp9'][0].lower() == 'true' else False)

data = self.server.msl_handler.load_manifest(
int(params['id'][0]),
Expand Down

0 comments on commit 5d36356

Please sign in to comment.