diff --git a/pylgtv/webos_client.py b/pylgtv/webos_client.py index ccfb0fc..8e18209 100644 --- a/pylgtv/webos_client.py +++ b/pylgtv/webos_client.py @@ -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, {