The attached patch applies to current CVS. It replaces the left/right arrow
seeking +/- 2% with +/- 10 seconds. The up/down arrows seek +/- 1 minute,
and PageUp/PageDown seeks +/- 10 minutes.
This patch includes a number of other fixes and improvements. When using
"Jump To", the "Position:" reported at the bottom of the window is no
longer 0:00:00, but the real time.
Also, with the current code, when playing audio only, if you pause and try
to seek more than once, will fail and return you to near the beginning of
the track. This patch fixes this.
The current code also fails, and sends you back to the beginning, if you hit
the arrow keys too quickly. This happens because xine_get_pos_length takes
too long to return real information. I've solved this by borrowing an idea
that is used by totem and xine-ui, namely, a while loop that gives the
function a bit of extra time to return information before finally failing.
Because instead of two seeking options, we now have six, I've moved them all
to a sub-menu of Player called Navigation, to keep the Player menu
clutter-free. The same has been done for the right-click context menu. I
didn't bump the kpartgui number for kaffeine_part, so users testing this
may need to delete their current kaffeine_part.rc file in
~/.kde/share/apps/kaffeine to see and use the new options.
User feedback has been fairly strong that the features of this patch are
eagerly sought, so I hope that it can be committed to CVS soon.
Please CC me on all replies.
Cheers, and thanks for writing Kaffeine,
Le Vendredi 25 Mars 2005 21:41, Christopher Martin a =E9crit=A0:
> The attached patch applies to current CVS. It replaces the left/right arr=
> seeking +/- 2% with +/- 10 seconds. The up/down arrows seek +/- 1 minute,
> and PageUp/PageDown seeks +/- 10 minutes.
It's in cvs now.
PageUp/PageDown is already taken by DVB so i've changed to=20