Kodi Community Forum
Solved Custom submenu buttons to open smart playlists not working with Matrix - 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: Confluence (https://forum.kodi.tv/forumdisplay.php?fid=125)
+---- Thread: Solved Custom submenu buttons to open smart playlists not working with Matrix (/showthread.php?tid=363536)



Custom submenu buttons to open smart playlists not working with Matrix - asturnauta - 2021-07-12

Hi

I have been usings custom buttons on home menu with confluence skin to open smart playlist, but i have upgraded to Matrix version and these buttons are not working now.

The code that i have been using is:

Code:

<control type="button" id="90501">
            <include>ButtonHomeSubCommonValues</include>
            <label>Pelis</label>
            <onclick>XBMC.ActivateWindow(10025,special://masterprofile/playlists/video/Pelis.xsp,return)</onclick>
</control>

Is it possible the code 'XBMC.ActivateWindow' had been changed in new kodi version and I need new code to open playlists?


Thanks a lot.


RE: Custom submenu buttons to open smart playlists not working with Matrix - Karellen - 2021-07-12

(2021-07-12, 11:23)asturnauta Wrote:  <onclick>XBMC.ActivateWindow
I think you have to delete the XBMC. prefix

Results from code cleanup in Matrix


RE: Custom submenu buttons to open smart playlists not working with Matrix - asturnauta - 2021-07-12

(2021-07-12, 11:38)Karellen Wrote:
(2021-07-12, 11:23)asturnauta Wrote:  <onclick>XBMC.ActivateWindow
I think you have to delete the XBMC. prefix

Results from code cleanup in Matrix

I have cleaned XMBC. prefix but it is still not working.

Regards.


RE: Custom submenu buttons to open smart playlists not working with Matrix - Karellen - 2021-07-12

(2021-07-12, 12:10)asturnauta Wrote: I have cleaned XMBC. prefix but it is still not working.
Hmmm, ok last "guess". Try this...

<onclick>ActivateWindow(Videos,special://profile/playlists/video/Pelis.xsp,return)</onclick>


RE: Custom submenu buttons to open smart playlists not working with Matrix - asturnauta - 2021-07-12

(2021-07-12, 12:23)Karellen Wrote: Hmmm, ok last "guess". Try this...

<onclick>ActivateWindow(Videos,special://profile/playlists/video/Pelis.xsp,return)</onclick>

Thanks for your help, but it is not working.

I have tried also:
Code:
<onclick>ActivateWindow(Videoplaylist,special://profile/playlists/video/Pelis.xsp,return)</onclick>

Maybe there is something I can't see. I'm still investigating.

Regards.


RE: Custom submenu buttons to open smart playlists not working with Matrix - Karellen - 2021-07-12

(2021-07-12, 12:38)asturnauta Wrote: Thanks for your help, but it is not working.
Ok. Maybe @Hitcher can see the problem

I'll move you into the Confluence forum


RE: Custom submenu buttons to open smart playlists not working with Matrix - asturnauta - 2021-07-12

Hi again

It is odd, but I have complete deleted Consfluence skin (deleted addon and addon_data folders) and now It is working like a charm with this code:

Code:
<onclick>ActivateWindow(Videos,special://masterprofile/playlists/video/Pelis.xsp,return)</onclick>

Thanks a lot @Karellen 

Regards.


Custom submenu buttons to open smart playlists not working with Matrix - Hitcher - 2021-07-12

Thread marked solved.