Kodi Community Forum

Full Version: manual commercial skipping?
You're currently viewing a stripped down version of our content. View the full version with proper formatting.
Most commercials here are around 8 minutes. I want a comfortable way by using a manual binary skipping scheme: skip 8 minutes forward, if too far, 4 minutes back, if too far back, 2 minutes forward and so on.
Is there a addon providing this?
(I don't want comskip or other automatic things)
You can approximate this by choosing the skip steps in the settings. By default, the setting is 10s, 30s, 1m, 3m, 5m, 10m. So, while watching a program, if you press RIGHT 4 times, it will seek to 3 minutes in the future.

(I find the defaults to be quite adequate, as in the US most commercial breaks are 3 minutes, while reality-type programs tend to have 5 minute breaks. And, the same steps work in reverse: press LEFT twice to seek backwards 30 seconds.)
Thank you, that makes it a bit easier.
You can also edit those times.

Man 8 minutes are a lot, ours are about 4 minutes, but maybe more often.
How do I press "RIGHT" on an android box?
I could use "swipe right" and "swipe left" with the mouse, but kodi does not react to mouse gestures.
By default, the same skip steps are also mapped to the PREV/NEXT buttons. (In Kodi, these buttons are internally named "skipminus" and "skipplus" if you want to change your keymap.)
I have kodi in an nvidia shield android box and an MX3 air mouse. 
I think I have to associate the PG-/PG+ buttons with skipminus/skipplus.
But in which keymap file?
(2018-04-14, 23:09)j-m-s Wrote: [ -> ]I have kodi in an nvidia shield android box and an MX3 air mouse. 
I think I have to associate the PG-/PG+ buttons with skipminus/skipplus.
But in which keymap file?
 Whichever one you'd like. If you don't want to worry about manually creating your keymap file, then use something like the Keymap Editor addon.
So I make a remote.xml and put sth. like this in:
 <keymap>
<TVRecordings>
<remote>
<key id="1234">SkipNext</key>
<key id="9876">SkipPrevious</key>
</remote>
</TVRecordings>
</keymap>

Or can I use 
<pageplus>SkipNext</pageplus>
<pageminus>SkipPrevious</pageminus>
?

But how do I know if kodi recognizes the key as pageplus?

In the standard remote.xml I see:
<skipplus>SkipNext</skipplus>
<skipminus>SkipPrevious</skipminus>

So skipplus and skipminus are the names of the buttons?
Now I found out how it works:
* the OSD menu must not be visible
* the buttons around "ok" on the remote control are used for skipping 
* left and right skip 0:10, 0:30, ... forwards/backwards
* up and down skip 10 minutes forward/backward.

Image