Kodi Community Forum
What's the action ID for additive skipsteps (want to add buttons for it) - 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: Estuary (https://forum.kodi.tv/forumdisplay.php?fid=260)
+---- Thread: What's the action ID for additive skipsteps (want to add buttons for it) (/showthread.php?tid=342746)



What's the action ID for additive skipsteps (want to add buttons for it) - WimKl - 2019-04-05

I want to add buttons in estuary for additive skips forward and backwards. I already have the icons adjusted and Textures.xbt changed.
Just want to know the action ID I have to put in videoOSD.xml (replacing the "actionID" below):

                 <control type="radiobutton" id="604">
                        <include content="OSDButton">
                            <param name="texture" value="osd/fullscreen/buttons/skipforward.png"/>
                        </include>
                        <onclick>PlayerControl(actionID)</onclick>
                    </control>

Thanks in advance,

Wim


RE: What's the action ID for additive skipsteps (want to add buttons for it) - DaVu - 2019-04-05

I guess that might help:

https://codedocs.xyz/xbmc/xbmc/page__list_of_built_in_functions.html#built_in_functions_12

Take a look at the available player controls


RE: What's the action ID for additive skipsteps (want to add buttons for it) - WimKl - 2019-04-05

(2019-04-05, 13:11)DaVu Wrote: I guess that might help:

https://codedocs.xyz/xbmc/xbmc/page__list_of_built_in_functions.html#built_in_functions_12

Take a look at the available player controls
Yeah, I tried those. I think the BigSkipForward= 10 mins and the SmallSkipForward=30s. But no additive skipsteps like this: https://www.linuxsecrets.com/kodi.wiki/view/Skip_steps.html


RE: What's the action ID for additive skipsteps (want to add buttons for it) - DaVu - 2019-04-05

That's StepForward/Action(StepForward) or StepBack/Action(StepBack)

But those aren't player controls.

The Wiki says, that it's skipping 30s but that's wrong. We need to update that. It will refer to the skip steps you set at the settings under: Settings -> Player -> Videos -> Skip steps


RE: What's the action ID for additive skipsteps (want to add buttons for it) - WimKl - 2019-04-05

(2019-04-05, 14:07)DaVu Wrote: That's StepForward/Action(StepForward) or StepBack/Action(StepBack)

But those aren't player controls.

The Wiki says, that it's skipping 30s but that's wrong. We need to update that. It will refer to the skip steps you set at the settings under: Settings -> Player -> Videos -> Skip steps
So I added this in videoOSD.xml:

                    <control type="radiobutton" id="604">
                        <include content="OSDButton">
                            <param name="texture" value="osd/fullscreen/buttons/FW.png"/>
                        </include>
                        <onclick>PlayerControl(StepForward)</onclick>
                    </control>

and nothing happens when I press the button, maybe it's interfering with this a bit further down?
            <control type="group" id="6000">
                <top>60</top>
                <visible>Player.SeekEnabled</visible>
                <control type="button" id="87">
                    <include>HiddenObject</include>
                    <onup>200</onup>
                    <onunfocus condition="Player.Forwarding | Player.Rewinding">PlayerControl(Play)</onunfocus>
                    <ondown>200</ondown>
                    <onright>StepForward</onright>        <-----------THIS ONE HERE?
                    <onleft>StepBack</onleft>
                    <onclick condition="Player.Forwarding | Player.Rewinding">PlayerControl(Play)</onclick>
                </control>


RE: What's the action ID for additive skipsteps (want to add buttons for it) - DaVu - 2019-04-05

Try <onclick>Action(StepForward)</onclick>

As said, StepForward aren't PlayerControls. They will refer to keymaps. See: https://codedocs.xyz/xbmc/xbmc/page__list_of_built_in_functions.html#built_in_functions_5


RE: What's the action ID for additive skipsteps (want to add buttons for it) - WimKl - 2019-04-05

(2019-04-05, 14:26)DaVu Wrote: As said, StepForward aren't PlayerControls. They will refer to keymaps. See: https://codedocs.xyz/xbmc/xbmc/page__list_of_built_in_functions.html#built_in_functions_5

I was in a hurry to get the kids, so I didn't read correct. Sorry.

Thanks a lot, it works!

Greetings,

Wim


RE: What's the action ID for additive skipsteps (want to add buttons for it) - DaVu - 2019-04-05

No probs. Glad it helps. Have fun