Kodi Community Forum
v17 Custom menu action - multiple actions - Printable Version

+- Kodi Community Forum (https://forum.kodi.tv)
+-- Forum: Support (https://forum.kodi.tv/forumdisplay.php?fid=33)
+--- Forum: General Support (https://forum.kodi.tv/forumdisplay.php?fid=111)
+---- Forum: OS independent / Other (https://forum.kodi.tv/forumdisplay.php?fid=228)
+---- Thread: v17 Custom menu action - multiple actions (/showthread.php?tid=335042)



Custom menu action - multiple actions - sparkycfc - 2018-08-30

Hi

I'm trying to program a button on my menu to perform multiple actions, the goal is to start playing random videos from a youtube playlist from the youtube plugin.

So far I've been looking at the skinshortcuts plugin. I'm using Mimic skin which uses skinshortcuts.

I've added overrides.xml to my userdata directory with the following

xml:

<?xml version="1.0" encoding="UTF-8"?>
<overrides>
    <override action="PlayMusicVideos">
        <action>PlayerControl(RandomOn)</action>
        <action>PlayMedia(plugin://plugin.video.youtube/channel/mine/playlist/xxxxxxxxxxxxxxxx/,isdir)</action>
        <action>PlayerControl(RepeatAll)</action>
    <override>
<overrides>

I then change the custom action of the menu item to PlayMusicVideos.

But this doesn't work at all, does nothing.  I assume I'm doing something very wrong as no matter what i put in the overrides file, even a command to reboot, doesn't do anything so it seems like it's not even being called.

Using Openelec 8.0.4 on an x86 platform if that's relevant. 

Any help appreciated Smile