Re: [vdr] skipping 5/10 seconds

2014-04-17 Thread Ludi
On Sun, 06 Apr 2014 21:26:08 +0200
Peter Münster pmli...@free.fr wrote:

 On Sun, Apr 06 2014, VDR User wrote:
 
  What I would be willing to accept is a patch that makes the skip
  delta of the yellow and green keys (currently a fixed +/-60s)
  configurable.
 
  Yes, that's fine. But what's the problem with a second skip-value
  for buttons 1 and 3?
 
  If the skip amount can configurable then each user can set it to his
  own liking and no extra buttons needed. That seems like the
  simplest  best solution in my opinion. Can you think of any setup
  that actually uses several skip buttons? Skipping doesn't need to
  be complicated or require a handful of buttons. Allow the user to
  set his preferred skip+ and skip- amounts, and done deal. :)
 
 The question was What's the problem?. Do you have an answer?
 Of course the default setting can be no second skip-value, nothing
 would change for users.
 But for my personal setup I'll use 2 buttons for 5s-steps and 2
 buttons for 60s-steps. If I could do that without patching VDR, that
 would be really nice.

+1 for more skipping choices and making the size of the steps
configurable. 

ludi 

___
vdr mailing list
vdr@linuxtv.org
http://www.linuxtv.org/cgi-bin/mailman/listinfo/vdr


Re: [vdr] skipping 5/10 seconds

2014-04-08 Thread Klaus Schmidinger

On 07.04.2014 17:44, Helmut Auer wrote:

On 06.04.2014 19:06, Peter Münster wrote:

On Sun, Apr 06 2014, Klaus Schmidinger wrote:


First and foremost I don't think that we need extra keys for jumping such
short distances as 5 or 10 seconds. Just use fast forward or fast rewind
for that.


Have you tried 5s steps? I really prefer 5s steps over fast
forward/rewind. With mplayer-plugin I have 6 buttons for 5s steps, 1min
steps and 10min steps, and IMO you skip faster to the right place, than
with fast forward/rewind. Perhaps it's just me...


Perhaps... ;-).


Definitely not :) My kids and I are using the keys 1 and thre and yellow and 
green very often, because it makes skipping much faster.


Yes, that's fine. But what's the problem with a second skip-value for
buttons 1 and 3?


Keys on the remote control are a very limited resource, and I wouldn't
want to waste two of them for a function that is not really necessary.


??? Why is it a waste using two unused keys ? I would say its a waste not using 
those :)


If I officially use them for a function that is (IMHO, agreed) unnecessary,
then they would be wasted for future use for functions that might be more
important ;-).

Klaus

___
vdr mailing list
vdr@linuxtv.org
http://www.linuxtv.org/cgi-bin/mailman/listinfo/vdr


Re: [vdr] skipping 5/10 seconds

2014-04-08 Thread fnu
 If I officially use them for a function that is (IMHO, agreed)
unnecessary, then they would be wasted for future use for functions that
might be more important ;-).

Well these keys are unused for 14  years now and yes, they could be saved
for any usage another 14 years, ..., doing nothing ... ^^

I agree with all supporters, I like that function, and them on discrete
keys. I would also not have problems to patch it further. But it's also ok
to use other discrete keys, e.g. the proposed usage of right/left in replay
mode, just to find a global agreement for core VDR.

Maybe there's a way to make it definable for the rare cases an user doesn't
have a remote with discrete fastfwd/fastrwd keys ...

In the many years of using VDR I rarly used fastfwd/fastrew, since jumping a
few seconds is much more comfortable and therfore important to me.

===
Kind regards
fnu


___
vdr mailing list
vdr@linuxtv.org
http://www.linuxtv.org/cgi-bin/mailman/listinfo/vdr


Re: [vdr] skipping 5/10 seconds

2014-04-07 Thread Matti Lehtimäki
On 04/07/2014 12:20 PM, Klaus Schmidinger wrote:
 Well, that's something we can talk about. You could make it so that during
 replay the Left and Right keys perform 5s skips, and the FastForward/-Rewind
 keys (if present on the user's remote control) still retain their normal
 function.

This kind of behavior sounds like a good compromise and no new keys
are needed. I also currently use a patch that adds shorter skips to
keys 1 and 3 and there I see no reason why Left and Right would not be
equally as good. I rarely use FastForward/-Rewind anyway. For those
who prefer FastForward/-Rewind and have no separate keys available the
setup option would make it possible.

-Matti

___
vdr mailing list
vdr@linuxtv.org
http://www.linuxtv.org/cgi-bin/mailman/listinfo/vdr


Re: [vdr] skipping 5/10 seconds

2014-04-07 Thread Tony Houghton
On Mon, 07 Apr 2014 12:20:37 +0200
Klaus Schmidinger klaus.schmidin...@tvdr.de wrote:

 Well, that's something we can talk about. You could make it so that during
 replay the Left and Right keys perform 5s skips, and the FastForward/-Rewind
 keys (if present on the user's remote control) still retain their normal
 function.

That sounds like a good idea. We should also discuss making it
assymetric ie right could skip forwards 10 seconds and left could go
back 5s. That way you can skip through the adverts in fewer steps until
you see you've overrun, then do a half skip backwards to get close to
the right place. Totem has assymetric skipping, although I think it's
something like 60s and 15s-20s. Anyway, I find that useful.

___
vdr mailing list
vdr@linuxtv.org
http://www.linuxtv.org/cgi-bin/mailman/listinfo/vdr


Re: [vdr] skipping 5/10 seconds

2014-04-07 Thread VDR User
 Well, that's something we can talk about. You could make it so that during
 replay the Left and Right keys perform 5s skips, and the FastForward/-Rewind
 keys (if present on the user's remote control) still retain their normal
 function.

 This kind of behavior sounds like a good compromise and no new keys
 are needed.

Agreed. Although, I still like the idea of users being able to set
their own values.

___
vdr mailing list
vdr@linuxtv.org
http://www.linuxtv.org/cgi-bin/mailman/listinfo/vdr


Re: [vdr] skipping 5/10 seconds

2014-04-07 Thread Helmut Auer

On 06.04.2014 19:06, Peter Münster wrote:

On Sun, Apr 06 2014, Klaus Schmidinger wrote:


First and foremost I don't think that we need extra keys for jumping such
short distances as 5 or 10 seconds. Just use fast forward or fast rewind
for that.


Have you tried 5s steps? I really prefer 5s steps over fast
forward/rewind. With mplayer-plugin I have 6 buttons for 5s steps, 1min
steps and 10min steps, and IMO you skip faster to the right place, than
with fast forward/rewind. Perhaps it's just me...


Perhaps... ;-).

Definitely not :) My kids and I are using the keys 1 and thre and yellow and green very often, 
because it makes skipping much faster.



Yes, that's fine. But what's the problem with a second skip-value for
buttons 1 and 3?


Keys on the remote control are a very limited resource, and I wouldn't
want to waste two of them for a function that is not really necessary.


??? Why is it a waste using two unused keys ? I would say its a waste not using 
those :)

But anyway the patch for that behaviour is easy to implement, so from my point of view, I do not 
miss it in plain VDR because I know how to patch it :)


Helmut

___
vdr mailing list
vdr@linuxtv.org
http://www.linuxtv.org/cgi-bin/mailman/listinfo/vdr


Re: [vdr] skipping 5/10 seconds

2014-04-07 Thread Wolfgang Rohdewald
Am Montag, 7. April 2014, 12:20:37 schrieb Klaus Schmidinger:
 Well, that's something we can talk about. You could make it so that during
 replay the Left and Right keys perform 5s skips, and the FastForward/-Rewind
 keys (if present on the user's remote control) still retain their normal
 function.

I would welcome that. When watching a HD recording over xineliboutput,
fastforward/rewind never stops when I stop but goes on until it skipped
about one minute.

Of course I hear you saying get xineliboutput fixed but discrete
5s skips would certainly solve that problem.

-- 
Wolfgang

___
vdr mailing list
vdr@linuxtv.org
http://www.linuxtv.org/cgi-bin/mailman/listinfo/vdr


Re: [vdr] skipping 5/10 seconds

2014-04-07 Thread Peter Münster
On Mon, Apr 07 2014, Klaus Schmidinger wrote:

 Or a Boolean configuration option for making 5s-skips instead of fast
 forward/rewind?

 Well, that's something we can talk about. You could make it so that during
 replay the Left and Right keys perform 5s skips, and the FastForward/-Rewind
 keys (if present on the user's remote control) still retain their normal
 function.

Thank you! Please find attached a new patch.

-- 
   Peter
diff -ur vdr-2.1.6/MANUAL vdr-2.1.6-new/MANUAL
--- vdr-2.1.6/MANUAL	2014-03-15 14:40:37.0 +0100
+++ vdr-2.1.6-new/MANUAL	2014-04-07 23:00:09.554580559 +0200
@@ -21,8 +21,8 @@
   MenuMenu on Menu off Menu off   Menu off   Menu off  Menu off  Menu off Menu off
   Back-   Menu off VDR menu   VDR menu   Discard   VDR menu  Recordings menu  Close
   Red -   Record   Edit   On/Off ABC/abc   Play/Commands(1)  Jump -
-  Green   -   AudioNewNewIns/Ovr   RewindSkip -60s-
-  Yellow  -   Pause live   Delete Delete DeleteDeleteSkip +60s-
+  Green   -   AudioNewNewIns/Ovr   RewindSkip backward-
+  Yellow  -   Pause live   Delete Delete DeleteDeleteSkip forward -
   Blue-   Stop/Resume  Mark   Info   - Info  Stop -
   0..9Ch select   -Sort(2)Day(3) Numeric inp.  Sort/Exec cmd(1)  Editing  -
 
@@ -330,7 +330,8 @@
   - BlueStops playback and stores the current position, so that
 playback can be resumed later at that point.
   - Left
-Right   Runs playback forward or backward at a higher speed; press
+Right   If Left Right Skip is 0 (default):
+Runs playback forward or backward at a higher speed; press
 again to resume normal speed. If in Pause mode, runs forward or
 backward at a slower speed; press again to return to pause mode.
 Pressing and holding down the key performs the function until
@@ -339,12 +340,17 @@
 function of these keys changes in a way that gives you three
 fast and slow speeds, through which you can switch by pressing
 the respective key several times.
+If Left Right Skip  0:
+Skips back or forward about Left Right Skip seconds.
+Pressing and holding down the key performs the function until
+the key is released again.
   - Red Jump to a specific location. Enter the time you want to jump to
 and then press Left or Right to jump relative to the current
 position, Up to jump to an absolute position, and Down to
 jump and pause at an absolute position.
   - Green
-Yellow  Skips about 60 seconds back or forward.
+Yellow  Skips back or forward. The amount of the skip is the value of
+Green Yellow Skip.
 Pressing and holding down the key performs the function until
 the key is released again.
   - Ok  Brings up the replay progress display, which shows the date,
diff -ur vdr-2.1.6/Makefile vdr-2.1.6-new/Makefile
--- vdr-2.1.6/Makefile	2014-03-16 13:47:35.0 +0100
+++ vdr-2.1.6-new/Makefile	2014-04-01 10:46:40.120294651 +0200
@@ -233,7 +233,7 @@
 	  fi;\
 	   fi;\
 	done;\
-	# Conclusion\
+# Conclusion\
 	if [ -n $$noapiv ] ; then echo; echo *** plugins without APIVERSION:$$noapiv; echo; fi;\
 	if [ -n $$oldmakefile ] ; then\
 	   echo; echo *** plugins with old Makefile:$$oldmakefile; echo;\
diff -ur vdr-2.1.6/config.c vdr-2.1.6-new/config.c
--- vdr-2.1.6/config.c	2013-08-31 14:41:28.0 +0200
+++ vdr-2.1.6-new/config.c	2014-04-07 23:01:03.800358590 +0200
@@ -466,6 +466,8 @@
   MinUserInactivity = 300;
   NextWakeupTime = 0;
   MultiSpeedMode = 0;
+  LeftRightSkip = 0;
+  GreenYellowSkip = 60;
   ShowReplayMode = 0;
   ShowRemainingTime = 0;
   ProgressDisplayTime = 0;
@@ -677,6 +679,8 @@
   else if (!strcasecmp(Name, MinUserInactivity))   MinUserInactivity  = atoi(Value);
   else if (!strcasecmp(Name, NextWakeupTime))  NextWakeupTime = atoi(Value);
   else if (!strcasecmp(Name, MultiSpeedMode))  MultiSpeedMode = atoi(Value);
+  else if (!strcasecmp(Name, LeftRightSkip))   LeftRightSkip  = atoi(Value);
+  else if (!strcasecmp(Name, GreenYellowSkip)) GreenYellowSkip= atoi(Value);
   else if (!strcasecmp(Name, ShowReplayMode))  ShowReplayMode = atoi(Value);
   else if (!strcasecmp(Name, ShowRemainingTime))   ShowRemainingTime  = atoi(Value);
   else if (!strcasecmp(Name, ProgressDisplayTime)) ProgressDisplayTime= atoi(Value);
@@ -792,6 +796,8 @@
   Store(MinUserInactivity,  MinUserInactivity);
   Store(NextWakeupTime, NextWakeupTime);
   Store(MultiSpeedMode, MultiSpeedMode);

Re: [vdr] skipping 5/10 seconds

2014-04-06 Thread Klaus Schmidinger

On 01.04.2014 13:29, Peter Münster wrote:

On Mon, Mar 31 2014, Peter Münster wrote:


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?


Hi Klaus,

What about the attached patch?


There are several things I don't like about it ;-).

First and foremost I don't think that we need extra keys for jumping such
short distances as 5 or 10 seconds. Just use fast forward or fast rewind
for that.
What I would be willing to accept is a patch that makes the skip delta of
the yellow and green keys (currently a fixed +/-60s) configurable. I might
even go as far as making the yellow and green keys skip only a small distance
when pressed and released, and skipping a longer distance when held pressed
(repeat mode). It could even be made so that the distance increases over time,
so the longer you hold the key pressed, the farther it skips. However, this
might not be very practical because when skipping with repeat there is no
video displayed because the buffer gets cleared all the time. This is a general
problem I'm hoping to be able to address at some time.

All in all, skipping is done with the yellow and green keys, there will be no
additional keys for shirt skips, because FFWD/FREW can easily be used for 
that.
Let's keep it simple!  ;-)

Klaus

___
vdr mailing list
vdr@linuxtv.org
http://www.linuxtv.org/cgi-bin/mailman/listinfo/vdr


Re: [vdr] skipping 5/10 seconds

2014-04-01 Thread Peter Münster
On Mon, Mar 31 2014, Peter Münster wrote:

 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?

Hi Klaus,

What about the attached patch?

-- 
   Peter
diff -ur vdr-2.1.6/MANUAL vdr-2.1.6-new/MANUAL
--- vdr-2.1.6/MANUAL	2014-03-15 14:40:37.0 +0100
+++ vdr-2.1.6-new/MANUAL	2014-04-01 13:26:07.151101710 +0200
@@ -21,10 +21,10 @@
   MenuMenu on Menu off Menu off   Menu off   Menu off  Menu off  Menu off Menu off
   Back-   Menu off VDR menu   VDR menu   Discard   VDR menu  Recordings menu  Close
   Red -   Record   Edit   On/Off ABC/abc   Play/Commands(1)  Jump -
-  Green   -   AudioNewNewIns/Ovr   RewindSkip -60s-
-  Yellow  -   Pause live   Delete Delete DeleteDeleteSkip +60s-
+  Green   -   AudioNewNewIns/Ovr   RewindSkip backward-
+  Yellow  -   Pause live   Delete Delete DeleteDeleteSkip forward -
   Blue-   Stop/Resume  Mark   Info   - Info  Stop -
-  0..9Ch select   -Sort(2)Day(3) Numeric inp.  Sort/Exec cmd(1)  Editing  -
+  0..9Ch select   -Sort(2)Day(3) Numeric inp.  Sort/Exec cmd(1)  Editing/Skipping -
 
   In a numerical input field (like the response to a CAM enquiry) the keys 0..9
   are used to enter the data, and the Left key can be used to delete the last
@@ -330,7 +330,8 @@
   - BlueStops playback and stores the current position, so that
 playback can be resumed later at that point.
   - Left
-Right   Runs playback forward or backward at a higher speed; press
+Right   If Skip Amount 1 is 0 (default):
+Runs playback forward or backward at a higher speed; press
 again to resume normal speed. If in Pause mode, runs forward or
 backward at a slower speed; press again to return to pause mode.
 Pressing and holding down the key performs the function until
@@ -339,12 +340,19 @@
 function of these keys changes in a way that gives you three
 fast and slow speeds, through which you can switch by pressing
 the respective key several times.
+If Skip Amount 1  0:
+Skips back or forward about Skip Amount 1 seconds.
+Pressing and holding down the key performs the function until
+the key is released again.
   - Red Jump to a specific location. Enter the time you want to jump to
 and then press Left or Right to jump relative to the current
 position, Up to jump to an absolute position, and Down to
 jump and pause at an absolute position.
-  - Green
-Yellow  Skips about 60 seconds back or forward.
+  - 1, 3
+Green
+Yellow  Skips back or forward. The amount of the skip is the value of
+Skip Amount 2 for keys 1 and 3, and Skip Amount 3 for Green
+and Yellow.
 Pressing and holding down the key performs the function until
 the key is released again.
   - Ok  Brings up the replay progress display, which shows the date,
diff -ur vdr-2.1.6/Makefile vdr-2.1.6-new/Makefile
--- vdr-2.1.6/Makefile	2014-03-16 13:47:35.0 +0100
+++ vdr-2.1.6-new/Makefile	2014-04-01 10:46:40.120294651 +0200
@@ -233,7 +233,7 @@
 	  fi;\
 	   fi;\
 	done;\
-	# Conclusion\
+# Conclusion\
 	if [ -n $$noapiv ] ; then echo; echo *** plugins without APIVERSION:$$noapiv; echo; fi;\
 	if [ -n $$oldmakefile ] ; then\
 	   echo; echo *** plugins with old Makefile:$$oldmakefile; echo;\
diff -ur vdr-2.1.6/config.c vdr-2.1.6-new/config.c
--- vdr-2.1.6/config.c	2013-08-31 14:41:28.0 +0200
+++ vdr-2.1.6-new/config.c	2014-04-01 12:41:45.908325335 +0200
@@ -466,6 +466,9 @@
   MinUserInactivity = 300;
   NextWakeupTime = 0;
   MultiSpeedMode = 0;
+  Skip1Amount = 0;
+  Skip2Amount = 10;
+  Skip3Amount = 60;
   ShowReplayMode = 0;
   ShowRemainingTime = 0;
   ProgressDisplayTime = 0;
@@ -677,6 +680,9 @@
   else if (!strcasecmp(Name, MinUserInactivity))   MinUserInactivity  = atoi(Value);
   else if (!strcasecmp(Name, NextWakeupTime))  NextWakeupTime = atoi(Value);
   else if (!strcasecmp(Name, MultiSpeedMode))  MultiSpeedMode = atoi(Value);
+  else if (!strcasecmp(Name, Skip1Amount)) Skip1Amount= atoi(Value);
+  else if (!strcasecmp(Name, Skip2Amount)) Skip2Amount= atoi(Value);
+  else if (!strcasecmp(Name, Skip3Amount)) Skip3Amount= atoi(Value);
   else if (!strcasecmp(Name, ShowReplayMode))  ShowReplayMode = atoi(Value);
   else if (!strcasecmp(Name, ShowRemainingTime))   

Re: [vdr] skipping 5/10 seconds

2014-04-01 Thread Mario Schulz
Am 31.03.2014 11:42, schrieb Peter Münster:

 What about adding a possibility to skip ±5 or ±10 seconds when
 replaying a recording?

BTW: The liemikuutio Patch set does have Binary Search (half jump
width on each direction reversal). Around 4 lines of code to make it
the perfect skipper.
I guess most distris use that and so nobody cares...

___
vdr mailing list
vdr@linuxtv.org
http://www.linuxtv.org/cgi-bin/mailman/listinfo/vdr


[vdr] skipping 5/10 seconds

2014-03-31 Thread Peter Münster
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?

That would be nice.
-- 
   Peter


___
vdr mailing list
vdr@linuxtv.org
http://www.linuxtv.org/cgi-bin/mailman/listinfo/vdr


Re: [vdr] skipping 5/10 seconds

2014-03-31 Thread syrius . ml
Peter Münster pmli...@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. 

-- 
 

___
vdr mailing list
vdr@linuxtv.org
http://www.linuxtv.org/cgi-bin/mailman/listinfo/vdr