Skip to content
This repository has been archived by the owner on Dec 2, 2019. It is now read-only.

Commit

Permalink
Merge pull request #14 from cyberluke/master
Browse files Browse the repository at this point in the history
Allow launch Youtube App with startup params of video id.
  • Loading branch information
TheRealLink authored Apr 21, 2018
2 parents d93d932 + f783173 commit 8663b00
Showing 1 changed file with 7 additions and 0 deletions.
7 changes: 7 additions & 0 deletions pylgtv/webos_client.py
Original file line number Diff line number Diff line change
Expand Up @@ -238,6 +238,13 @@ def launch_app_with_params(self, app, params):
'params': params
})

def launch_app_with_content_id(self, app, contentId):
"""Launch an app with contentId."""
self.request(EP_LAUNCH, {
'id': app,
'contentId': contentId
})

def close_app(self, app):
"""Close the current app."""
self.request(EP_LAUNCHER_CLOSE, {
Expand Down

0 comments on commit 8663b00

Please sign in to comment.