accessing "previous window" - 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: Rapier (https://forum.kodi.tv/forumdisplay.php?fid=120) +---- Thread: accessing "previous window" (/showthread.php?tid=75623) |
accessing "previous window" - MacUsers - 2010-06-14 Hi there, I tried this question in the "general help" section but no one seems to notice the question or know the answer, do trying the same question here. I'm using Rapier. Is anyone can help me this: I've a couple of custom buttons, for example "Web Radio", after adding the source (which gets in the sources.xml) I use this Code: <onclick>ActivateWindow(MusicFiles,Streaming Radio)</onclick> - Galefury - 2010-06-14 Add "return" so the line will look like Code: <onclick>ActivateWindow(MusicFiles,Streaming Radio,return)</onclick> - MacUsers - 2010-06-14 Galefury Wrote:Add "return" so the line will look likeThanks man; after having another look, it looks like I misunderstood the meaning of "Return" in the Built-In-Functions Wiki. At work now but I'll give a try as soon as I get back home and post back here with the result. Cheers!!! - MacUsers - 2010-06-14 Hi Galefury, I got XBMC installed on one of PC here and now I'm not sure if the "Return" thing is actually working. I didn't able to do that for my original "Streaming Radio" but I tried with "SVN Repo installer" and it's not what I expecting when I hit backspace on the keyboard (don't have remote to test but the "backspace" is mapped to "ParentDir" in the keymap.xml). I added SVN Repo Installer to "System" menu, adding this to the custom_SubMenuSystem.xml: Code: <item id="5">
- Galefury - 2010-06-14 If they didn't changed the code, it should work. I used this with AMT lite script and it worked great (with a mce remote). To test if this is really working, if you are using Rapier, try removing "return" from Home.xml, line 216. Now, if you are entering movies section, backspace shouldn't take you to home screen, but instead in movie library. I hope you understand what I mean. - MacUsers - 2010-06-14 Are you sure it's Home.xml - the one I have here has only 58 lines. I, rather found includes_Home.xml, from where I removed "Return" (line 170), so that it looks like this: Code: <onclick>ActivateWindow(VideoLibrary,MovieTitles)</onclick> - Galefury - 2010-06-14 Yes, you are right, I'm using Rapier 2.0 now, my bad. Removing the "return" from that line works only if you are using basic menu. I just tried this and it works. My remote button is mapped on "back" command, not "parent.dir." I'm using r31009 version. - MacUsers - 2010-06-15 Nope! it doesn't look like working, pressing "Back" button taking back to the Library first and then dropping me in the home screen. I'm desperate to get a fix for this. BTW, does anyone know what exactly does it mean? CGUIWindowManager:reviousWindow: Deactivate - I see that in the log. Cheers!! |