Kodi Community Forum

Full Version: What's the action ID for additive skipsteps (want to add buttons for it)
You're currently viewing a stripped down version of our content. View the full version with proper formatting.
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
I guess that might help:

https://codedocs.xyz/xbmc/xbmc/page__lis...nctions_12

Take a look at the available player controls
(2019-04-05, 13:11)DaVu Wrote: [ -> ]I guess that might help:

https://codedocs.xyz/xbmc/xbmc/page__lis...nctions_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/v...steps.html
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
(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>
Try <onclick>Action(StepForward)</onclick>

As said, StepForward aren't PlayerControls. They will refer to keymaps. See: https://codedocs.xyz/xbmc/xbmc/page__lis...unctions_5
(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__lis...unctions_5

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

Thanks a lot, it works!

Greetings,

Wim
No probs. Glad it helps. Have fun