youtube-webos icon indicating copy to clipboard operation
youtube-webos copied to clipboard

Help trying to find more startup parameters

Open viny182 opened this issue 1 year ago • 0 comments

Hello guys,

First of all, sorry for posting something that is not directly related to youtube-webos, which by the way is a great application, and I've been using for a while without any issues as my main yt app on my WebOS TV.

I'm in search for a way to identify the startup parameters for twitch app (package tv.twitch.tv.starshot.lg).

I'm trying to create an automation to open the Twitch App directly to a specific live stream channel ("gaules" channel).

I've stumbled to the code below from your app, referencing the params "contentTarget" and "target" for the youtube application.

https://github.com/webosbrew/youtube-webos/blob/af2098ec300e87b5f7134f1a6a429749cae141a7/src/utils.js#L12-L20

I've tried to use the same parameters for tv.twitch.tv.starshot.lg app, but I was not able to make it work. I always get into the twitch homescreen only, and not to the channel I'm passing as the paramenters.

Both ssh commands below have the same behavior.

root@LGwebOSTV:~# luna-send -n 1 -f luna://com.webos.applicationManager/launch '{"id":"tv.twitch.tv.starshot.lg", "params":{"target":"gaules"}}'

root@LGwebOSTV:~# luna-send -n 1 -f luna://com.webos.applicationManager/launch '{"id":"tv.twitch.tv.starshot.lg", "params":{"contentTarget":"gaules"}}'

My question for you guys is: How did you find the entry parameter "contentTarget" for youtube.leanback.v4 in your case?

Do you know if there is a way to figure out what the entry parameters would be to make tv.twitch.tv.starshot.lg start with a specific channel? Like reverse engineering or decompiling ipk for example?

Any help is appreciated!

viny182 avatar Sep 05 '23 18:09 viny182