App Launch

More
2 years 3 weeks ago #2876 by bitzerjd
App Launch was created by bitzerjd
I'm trying to launch Netflix via a button... using this command (from the command builder)

AV|{{active_atv}}~Launch~com.netflix.Netflix

When I execute it, nothing happens.  What am I missing?

Thanks!

Please Log in to join the conversation.

More
2 years 3 weeks ago #2878 by Nillaz
Replied by Nillaz on topic App Launch

I'm trying to launch Netflix via a button... using this command (from the command builder)

AV|{{active_atv}}~Launch~com.netflix.Netflix

When I execute it, nothing happens.  What am I missing?

Thanks!
 

Launch~com.netflix.Netflix is the proper launch command for this.

What happens if you change {{active_atv}} to the actual device id number? If you are using a server variable to indentify the proper ATV are you sure that {{active_atv}} is correct? I can't check right now but shouldn't it be something like {{active_appletv}}, or if invoking this from a remote shouldn't it be something like {{active_appletv_{{clientname}}}} ?

Please Log in to join the conversation.

More
2 years 3 weeks ago #2880 by bitzerjd
Replied by bitzerjd on topic App Launch
This is what is in the log...

11/07/2024 07:42:52.42 · DEBUG · Server.doCommand - AV|{{active_atv}}~Launch~com.netflix.Netflix from remote

11/07/2024 07:42:52.42 · DEBUG · Server.doCommand - AV|15~Launch~com.netflix.Netflix

11/07/2024 07:42:52.42 · DEBUG · AppleTV.doCommand - Cmd=[15~Launch~com.netflix.Netflix] Client=[remote]

11/07/2024 07:42:54.42 · DEBUG · AppleTV.RX: Family room -

15 is correct for the AppleTV device.

Please Log in to join the conversation.

More
2 years 3 weeks ago #2885 by Nillaz
Replied by Nillaz on topic App Launch
This looks correct so I'm not sure what is going on. I'll try to look at my log when I get home tonight.

Please Log in to join the conversation.

More
2 years 3 weeks ago - 2 years 3 weeks ago #2887 by Nillaz
Replied by Nillaz on topic App Launch
My launch command works and this is what the log looks like.

It looks like you are missing line 4 though I have no idea how to resolve that. I assume the TX means this is the line sending the actual launch command to the Apple TV.

Server.doCommand - AV|{{active_appletv_{{clientname}}}}~Launch~com.netflix.Netflix from remote3

11/07/2024 20:47:10.47 · DEBUG · Server.doCommand - AV|7~Launch~com.netflix.Netflix

11/07/2024 20:47:10.47 · DEBUG · AppleTV.doCommand - Cmd=[7~Launch~com.netflix.Netflix] Client=[remote3]

11/07/2024 20:47:10.47 · DEBUG · AppleTV.TX: Apple TV - launch_app=com.netflix.Netflix

11/07/2024 20:47:13.47 · DEBUG · AppleTV.RX: Apple TV -
Last edit: 2 years 3 weeks ago by Nillaz. Reason: reformat line breaks for legibility

Please Log in to join the conversation.

More
2 years 3 weeks ago #2888 by bitzerjd
Replied by bitzerjd on topic App Launch
Thanks for checking!

Please Log in to join the conversation.

Time to create page: 0.196 seconds