forked from FriedChickenButt/youtube-webos
-
-
Notifications
You must be signed in to change notification settings - Fork 87
Open
Labels
Description
Description
Goal: be able to launch a video URL without triggering the app to restart.
When I cold start the YTAF app, I get the profile selection screen initially. After selecting my profile I enter the main screen of the app. Now I have tried several of the documented ways to send a YouTube URL to the TV.
Via SSH:
luna-send -n 1 -f luna://com.webos.applicationManager/launch '{"id":"youtube.leanback.v4", "params":{"target": "v=dQw4w9WgXcQ"}}'
or
luna-send -n 1 -f luna://com.webos.applicationManager/launch '{"id":"youtube.leanback.v4", "params":{"contentTarget": "v=dQw4w9WgXcQ"}}'
Via ssap
'ssap://system.launcher/launch', {id: 'youtube.leanback.v4', contentId: 'dQw4w9WgXcQ'}
In any case, the YTAF app always relaunches instead of just playing the video in the open app. Then I end up again at the profile selection screen and only after I selected a profile will the video actually start to play.
Is there any way to make it behave similar to the official cast feature where it will just play the video straight away if the app is already opened and a profile is selected?
Thanks!
Reactions are currently unavailable