[vdr] skipping 5/10 seconds

syrius.ml at no-log.org syrius.ml at no-log.org
Mon Mar 31 15:22:28 CEST 2014


Peter Münster <pmlists at free.fr> writes:

> Hi Klaus,
>
> What about adding a possibility to skip ±5 or ±10 seconds when replaying
> a recording?
>
> Would you perhaps accept a patch for the developer version?

Bonjour,

i've added this to menu.c :
    case k5|k_Repeat:
    case k5:   SkipSeconds(240); break;
    case k1|k_Repeat:
    case k1:   SkipSeconds(-10); break;
    case k3|k_Repeat:
    case k3:  SkipSeconds( 10); break;

k5 to skip itv adverts when watching corrie recordings :)

I've been too lazy to think of a configurable way of doing it. 

-- 
 



More information about the vdr mailing list