-
-
Notifications
You must be signed in to change notification settings - Fork 100
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
atvscript push_updates - output_devices is not supported #2396
Comments
You are probably lacking credentials for any protocols supporting push updates. Try |
conf.set_credentials(pyatv.protocols.Protocol.Companion, creds)
returns True in my app and other atv methods work. Is there a different protocol that needs creds?
class KeyboardListener(pyatv.interface.KeyboardListener):
def focusstate_update(self, old, new):
g.logger.critical(f'LISTEN Focus state changed from {old} to {new}')
tv.keyboard.listener = KeyboardListener()
I get nothing in my app so thought I'd try doing things with atvremote (again has creds and works) and see callbacks with atvscript push_updates but I get nothing there either. Most things I have working except for the unavailable.
… On May 1, 2024, at 14:01, Pierre Ståhl ***@***.***> wrote:
You are probably lacking credentials for any protocols supporting push updates. Try atvremote wizard, pick your device, follow the instructions and let me know if it works.
—
Reply to this email directly, view it on GitHub <#2396 (comment)>, or unsubscribe <https://github.com/notifications/unsubscribe-auth/AECHBYBGFRF3C6AEGLXHOLTZAEUVZAVCNFSM6AAAAABHARZJ4SVHI2DSMVQWIX3LMV43OSLTON2WKQ3PNVWWK3TUHMZDAOBYHA2TANJRGI>.
You are receiving this because you authored the thread.
|
There's no question I have credentials because I can launch_app and any remove_control, etc. (wizard was first thing I did a month or so ago to snag the creds). My intention was to try atvscript push_updates while using atvremote to test. I still can't get it to report in my app either (see above reply). And here's my current code (gleaned from scripts).
|
Describe the bug
atvscript -s 10.0.1.29 push_updates throws error immediately.
Goal was to use this update to know if a movie started from atv.launch(deeplink)
Error log
How to reproduce the bug?
command line above
What is expected behavior?
something else
Operating System
macOS
Python
Other
pyatv
0.14.5
Device
Model/SW: Apple TV 4, tvOS 17.4
Additional context
Unsure what else is relevant. Been working with pyatv now for couple months in a dedicate python app to perform analysis on output (OCR, etc) and worked around any minor issue.
The text was updated successfully, but these errors were encountered: