Kodi Community Forum
Return to main menu after launching browser - Printable Version

+- Kodi Community Forum (https://forum.kodi.tv)
+-- Forum: Support (https://forum.kodi.tv/forumdisplay.php?fid=33)
+--- Forum: Skins Support (https://forum.kodi.tv/forumdisplay.php?fid=67)
+---- Forum: Skin Archive (https://forum.kodi.tv/forumdisplay.php?fid=179)
+----- Forum: reFocus (https://forum.kodi.tv/forumdisplay.php?fid=72)
+----- Thread: Return to main menu after launching browser (/showthread.php?tid=200332)



Return to main menu after launching browser - fader - 2014-07-21

This is the skin I've been looking for -- it's clean and usable to the point that I can point non-geeks at my HTPC! Smile

The one issue I'm having is that when I put an addon in the main menu (e.g. a browser for Youtube Leanback mode) I end up on the Program Add-ons menu once I close the browser. Ideally I'd like it to go back to the main menu instead.

This happens when I use Chrome Launcher or Advanced Launcher, whether I point it at a favourite item or the addon. I've even tried adding an extra 'return' in the action in script-skinshortcuts-includes.xml, but still get the same behavior.

Anyone seen this and know how to solve it?


RE: Return to main menu after launching browser - removed151214 - 2014-07-21

What is the action before you add the return to the end?

(No need to edit script-skinshortcuts-includes.xml by the way, you can always select 'Custom action' from the menu customisation window and add the "return" there.)


RE: Return to main menu after launching browser - fader - 2014-07-22

For example, the one to launch Vimeo is:

ActivateWindow(10001,"plugin://plugin.program.chrome.launcher/?kiosk=yes&mode=showSite&stopPlayback=yes&url=http%3a%2f%2fwww.vimeo.com%2fcouchmode",return)

Though this seems to happen on anything that launches an external browser.

(I tried editing it in the GUI but was unable to edit the action field once I had selected the action. I am able to edit that field if I start a new item though, so I assumed it was an either/or -- either select an action or type your own, but not both.)

I should note that the single 'return' was added automatically. What I mentioned earlier was adding a second one which had no effect, so I removed it.


RE: Return to main menu after launching brows - removed151214 - 2014-07-22

From a quick glance, what you describe would be the expected behaviour from that type of link. Might be worth asking whether Chrome Launcher/Advanced Launcher have an option to be accessed via RunScript - such a method would give the behaviour you describe.

(It should be both, not an either/or - unless a bug has crept into the script, which is very possible. I'll double check.)


RE: Return to main menu after launching browser - jasonmorrison - 2015-04-19

Did anyone ever solve this? I have the same issue with the Aeon Nox skin.