-
Is your feature request related to a problem?No response Feature RequestIs there a way to launch the live stream of a TV app in Apple TV? I'm trying to have a button to launch The Tennis Channel app and start the live stream with no interaction. Currently the app offers the regular live TV stream (accesible once you sign in with your cable subscription - tveverywhere) and a few other streams associated to their Plus subscription. Thanks. Additional Comments (optional)No response |
Beta Was this translation helpful? Give feedback.
Replies: 4 comments 1 reply
-
I've converted this into a Q&A Discussion since this type of feature already exists in Firemote. The specific thing you are after is called Deep Links which the Apple TV Integration does support. After you work out what the specific Deep Link should be, this type of action can be fulfilled by using a button override or by making your own custom launcher. At the moment, I do not know if there is a deep link available to jump to the content you are requesting, and if there is, what that deep link might be. If I get any spare time in the next few days, I'll see if I can dig into this a little further. If not, hopefully someone else on this discussion board might be able to chime in and help with that info. |
Beta Was this translation helpful? Give feedback.
-
Another option (not recommended because it's error prone - maybe that's OK?) would be to write a script that does something like this: alias: Tennis-test
sequence:
- service: media_player.select_source
target:
entity_id: media_player.apple_tv_4k_2nd_gen
data:
source: Tennis Channel
alias: Open Tennis Channel App
enabled: true
- alias: Click BACK many times to reset the Tennis Channel App
service: remote.send_command
target:
entity_id: remote.apple_tv_4k_2nd_gen
data:
delay_secs: 0.4
hold_secs: 0
num_repeats: 6
command: home
- alias: Open Home App
service: remote.send_command
target:
entity_id: remote.apple_tv_4k_2nd_gen
data:
num_repeats: 1
delay_secs: 0
hold_secs: 0
command: top_menu
- delay:
hours: 0
minutes: 0
seconds: 2
milliseconds: 0
enabled: true
- service: media_player.select_source
target:
entity_id: media_player.apple_tv_4k_2nd_gen
data:
source: Tennis Channel
alias: Open Tennis Channel App
enabled: true
- delay:
hours: 0
minutes: 0
seconds: 2
milliseconds: 0
- alias: Click DOWN twice
service: remote.send_command
target:
entity_id: remote.apple_tv_4k_2nd_gen
data:
delay_secs: 0.4
hold_secs: 0
command: down
num_repeats: 2
- service: remote.send_command
target:
entity_id: remote.apple_tv_4k_2nd_gen
data:
num_repeats: 1
delay_secs: 0
hold_secs: 0
command: select
alias: click SELECT button
mode: single
icon: mdi:tennis If you make a script that works well enough for you, then simply use a button override or make your own custom launcher to execute it from your Firemote. |
Beta Was this translation helpful? Give feedback.
-
Thank you for the suggestion and the work. I'm afraid the Tennis Channel app in Apple TV does not make use of deep links. This other solution works, but since there's no way to tell whether the app is running or not, it can lead to errors. When you stream through the app and then go out of it, it looks like it keeps the stream alive in the background for a certain time, so when you relaunch the app there's no way to know if the video is playing or if you are back in the app main menu. Is there a "force quit" command available for ATV? That way the automation sequence would always be right, by closing the app first and then reopening it. Thanks! |
Beta Was this translation helpful? Give feedback.
-
Ok, here's a very rudimentary solution to make sure the app is closed when you start the tuning process. First open the app, then double click Home for the app switch menu, then double click UP to close the latest opened app, then open the app again and then select the live stream (2x Down, 1x Select). I think Delay times could be shortened a little bit, but this is more secure.
|
Beta Was this translation helpful? Give feedback.
Ok, here's a very rudimentary solution to make sure the app is closed when you start the tuning process. First open the app, then double click Home for the app switch menu, then double click UP to close the latest opened app, then open the app again and then select the live stream (2x Down, 1x Select). I think Delay times could be shortened a little bit, but this is more secure.