Skip to content

Is it possible to inject a video URL without re-launching the app? #414

@Sab44

Description

@Sab44

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!

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions