What's the action ID for additive skipsteps (want to add buttons for it)
#1
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
Reply
#2
I guess that might help:

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

Take a look at the available player controls
Reply
#3
(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
Reply
#4
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
Reply
#5
(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>
Reply
#6
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
Reply
#7
(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
Reply
#8
No probs. Glad it helps. Have fun
Reply

Logout Mark Read Team Forum Stats Members Help
What's the action ID for additive skipsteps (want to add buttons for it)0