Kodi Community Forum
Custom code: Condiction - Printable Version

+- Kodi Community Forum (https://forum.kodi.tv)
+-- Forum: Support (https://forum.kodi.tv/forumdisplay.php?fid=33)
+--- Forum: General Support (https://forum.kodi.tv/forumdisplay.php?fid=111)
+---- Forum: OS independent / Other (https://forum.kodi.tv/forumdisplay.php?fid=228)
+---- Thread: Custom code: Condiction (/showthread.php?tid=370448)



Custom code: Condiction - Ditacim - 2022-11-17

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.