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

Help trying to find more startup parameters #94

Open
viny182 opened this issue Sep 5, 2023 · 0 comments
Open

Help trying to find more startup parameters #94

viny182 opened this issue Sep 5, 2023 · 0 comments

Comments

@viny182
Copy link

viny182 commented Sep 5, 2023

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.

export function handleLaunch(params) {
console.info('handleLaunch', params);
// We use our custom "target" param, since launches with "contentTarget"
// parameter do not respect "handlesRelaunch" appinfo option. We still
// fallback to "contentTarget" if our custom param is not specified.
//
let { target, contentTarget = target } = params;
let href;

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!

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