Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Add function to call launch of app with contentId #260

Open
Bretterteig opened this issue Oct 23, 2024 · 0 comments
Open

Add function to call launch of app with contentId #260

Bretterteig opened this issue Oct 23, 2024 · 0 comments

Comments

@Bretterteig
Copy link

As far as I understood the code there is currently not method of launching the app via luna://system.launcher/launch and the contentId parameter being evaluated.

This would proof valuable to me for integration into e.g. Home Assistant

Youtube and Netflix have similar functionality built-in. Their payload looks like this:
Netflix
{ "id": "netflix", "contentId": "m=http://api.netflix.com/catalog/titles/movies/80145130&source_type=4" }

Youtube
{ "id": "youtube.leanback.v4", "contentId": "v=29reTU13exU" }

Future Jellyfin?
{ "id": "org.jellyfin.webos", "contentId": "id=601e1895b63ef58ba2de9797736eaba2&serverId=e4cae6cfc73b4cd58ad9351aa33de082" }
The above contentId string would allow to select server and media automatically and simply start playing :)

@Bretterteig Bretterteig changed the title Add function to call launch of app with parameter Add function to call launch of app with contentId Oct 23, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant