Skip to content
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

launch_app not working in 0.5.1 #10

Closed
NotReallyADeveloper opened this issue Dec 23, 2021 · 2 comments
Closed

launch_app not working in 0.5.1 #10

NotReallyADeveloper opened this issue Dec 23, 2021 · 2 comments
Labels
bug Something isn't working

Comments

@NotReallyADeveloper
Copy link

NotReallyADeveloper commented Dec 23, 2021

Following the RFE to allow IPs/IDs to be manually specified #9 , the launch_app parameter no longer works (but same worked in 0.5.0):

when sending msg.payload set to launch_app=com.netflix.Netflix

debug output
Error: Command failed: atvremote --airplay-credentials abcdefghijklmnopqrstuvwxyz launch_app=com.netflix.Netflix
Scan Results
[...]

From the debug message, it would appear that the command isn't passing the actual device.

Sending a simple command, like "play" and "pause" continues to work fine.

Node configs (to reproduce)
Injection Node:
[{"id":"bd7c8d34.dc5d38","type":"inject","z":"c45155cd.0e34c8","name":"Launch Netflix","topic":"","payload":"launch_app=com.netflix.Netflix","payloadType":"str","repeat":"","crontab":"","once":false,"onceDelay":0.1,"x":550,"y":1040,"wires":[["caa4d47d.366338"]]}]

ATV Out:
[{"id":"caa4d47d.366338","type":"atvx-out","z":"c45155cd.0e34c8","name":"","atvx":"e7158f3.0ee17f","skip_deprecated":false,"x":750,"y":1300,"wires":[]},{"id":"e7158f3.0ee17f","type":"atvx-config","z":"","name":"Big Screen (manual)","backend":"pyatv","companion":"684aea51228e5c7b68064b148e34471af6736937f831b6795c3751592cf048fe:add0564b0387070eb9796c559797ec5a82d5f0ed16d3914b971ae9ef61cf6fc9:32353041323034422d343136352d344233412d394430362d363042363345443943453430:64373132643230312d623063642d343363332d386334372d393163633465646335373162","debug":true}]

ATV In:
[{"id":"66b3dfa3.5298e","type":"atvx-in","z":"c45155cd.0e34c8","name":"New ATV","atvx":"e7158f3.0ee17f","x":190,"y":1300,"wires":[["caa4d47d.366338"]]},{"id":"e7158f3.0ee17f","type":"atvx-config","z":"","name":"Big Screen (manual)","backend":"pyatv","companion":"684aea51228e5c7b68064b148e34471af6736937f831b6795c3751592cf048fe:add0564b0387070eb9796c559797ec5a82d5f0ed16d3914b971ae9ef61cf6fc9:32353041323034422d343136352d344233412d394430362d363042363345443943453430:64373132643230312d623063642d343363332d386334372d393163633465646335373162","debug":true}]

@twocolors twocolors added the bug Something isn't working label Dec 23, 2021
@twocolors
Copy link
Owner

try 0.5.2

@twocolors twocolors reopened this Dec 24, 2021
@twocolors
Copy link
Owner

fix in 1.0.0

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

No branches or pull requests

2 participants