Kodi Community Forum

Full Version: Custom menu action - multiple actions
You're currently viewing a stripped down version of our content. View the full version with proper formatting.
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