Kodi Community Forum

Full Version: Custom code: Condiction
You're currently viewing a stripped down version of our content. View the full version with proper formatting.
Hi,

In this page there are same samples:

https://kodi.wiki/view/HOW-TO:Modify_time_seeking

about example 1:

<advancedsettings>
- <video>
  <usetimeseeking>false</usetimeseeking>
  <percentseekforwardbig>5</percentseekforwardbig>
  <percentseekbackwardbig>-5</percentseekbackwardbig>
  </video>
  </advancedsettings>

I would add the condiction "if video lenght is between 10 minutes and 20 minutes, then <percentseekforwardbig>10</percentseekforwardbig>"
Is possible?
(I would wrtite "If lenght 0-10 then... if 10-20 then... if 20-30 then...)

Thanks.