mirror of
https://github.com/home-assistant/core.git
synced 2025-07-23 05:07:41 +00:00
Support launching app deep links in apple_tv integration (#94705)
This commit is contained in:
parent
d7755a92c3
commit
3778e1cd77
@ -282,7 +282,7 @@ class AppleTvMediaPlayer(AppleTVEntity, MediaPlayerEntity):
|
||||
"""Send the play_media command to the media player."""
|
||||
# If input (file) has a file format supported by pyatv, then stream it with
|
||||
# RAOP. Otherwise try to play it with regular AirPlay.
|
||||
if media_type == MediaType.APP:
|
||||
if media_type in {MediaType.APP, MediaType.URL}:
|
||||
await self.atv.apps.launch_app(media_id)
|
||||
return
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user