Closed luskaner closed 12 months ago
In the original code, these are always the values whenever the callback gets called:
This is because of the standard_validation checks for the key errorText that is never present as the TV returns a response like:
{"type":"response","id":"...","payload":{"soundOutput":"tv_speaker","subscribed":true}}
However, the validation works when called directly, so, it needs two validations
Edit: Same happens for TVControl subscribe_get_current_channel
https://github.com/supersaiyanmode/PyWebOSTV/pull/95 Tries to solve this
In the original code, these are always the values whenever the callback gets called:
This is because of the standard_validation checks for the key errorText that is never present as the TV returns a response like:
{"type":"response","id":"...","payload":{"soundOutput":"tv_speaker","subscribed":true}}
However, the validation works when called directly, so, it needs two validations
Edit: Same happens for TVControl subscribe_get_current_channel