-
-
Notifications
You must be signed in to change notification settings - Fork 101
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
closeApp not working (403) when app not started via lgtv (this app) #102
Comments
I think you need to pair it again, I've had this happen after an update on the tv firmware. |
Unfortunately a new pairing didn't help. Steps to reproduce in detail: The 403 error comes up. |
you could try deleting the files, not sure how it deals with over-riding tbh, it's a long time since I looked at the code. Have you tried with other apps? |
It's not an actual solution but you can start the livetv "app" to switch, the app will still be open in the background but shouldn't interfere that much in terms of performance. |
You can't use "lgtv myTV closeApp " to close an app that's not opened by "lgtv myTV startApp ".
It returns a 403Access denied error.
root@pc:~# lgtv "192.168.11.218" closeApp com.my.app
DEBUG:root:Initiating handshake
DEBUG:root:Received response
DEBUG:root:{"type":"registered","id":"register_0","payload":{"client-key":"*****"}}
DEBUG:root:Handshake complete
DEBUG:root:{'id': '0', 'type': 'request', 'uri': 'ssap://system.launcher/close', 'payload': '{"id": "com.my.app"}'}
DEBUG:root:Received response
DEBUG:root:{"type":"error","id":"0","error":"403 access denied","payload":{}}
DEBUG:root:{'type': 'error', 'id': '0', 'error': '403 access denied', 'payload': {}}
{"type": "error", "id": "0", "error": "403 access denied", "payload": {}}
{"type": "error", "id": "0", "error": "403 access denied", "payload": {}}
DEBUG:ws4py:Closing message received (1000) 'b'''
{"closing": {"code": 1000, "reason": ""}}
The text was updated successfully, but these errors were encountered: