This forum has been archived. All content is frozen. Please use KDE Discuss instead.

seeking with remore control

Tags: None
(comma "," separated)
Andrew
Karma
0

seeking with remore control

Sun Jul 11, 2004 3:28 am
Recently I have configured amaroK player (from current CVS HEAD) to work
with lirc. All works fine except for seek(int i) command. I suppose this
coomand must seek back/forward against current playing position, but
seeking back (I have set argument as "-5") does nothing, and seeking
forward (argument is "5") plays current track from the beginning.

Where is my mistake?
Mike Diehl
Registered Member
Posts
87
Karma
0

Re:seeking with remore control

Sun Jul 11, 2004 12:31 pm
I just tried this, when I use a positive value it seeks forward by 5 seconds regardless of the value, even if it is less than 5. I also tried negative values and they seem to do nothing at all. I don't think you have done anything wrong, maybe the devs can explain this strange dcop behavior.

Update
Did a little more digging and this seems to be a problem seems to be different for each engine. The above is what happens with the xine engine, while aRts has a little different behavior. for instance if I seek 100 it should seek ahead 1:40 into the track, instead it seeks to the track time of 1:40. However, the behavior with aRts is similar to xine when using negative values, they seem not to work at all. I don't have Gstreamer working so I don't know what it does.

Post edited by: madpenguin8, at: 2004/07/11 14:51
User avatar
Max Howell
Alumni
Posts
195
Karma
0

Re:seeking with remore control

Mon Jul 12, 2004 8:22 am
seek(int) is seek to that point in seconds.

the fact that xine does it wrong is a bug of mine!

however a function like requested would be implemented if someone submit a wishlist at bugs.kde.org..
Andrew
Karma
0

Re:seeking with remore control

Mon Jul 12, 2004 3:30 pm
I have filed

http://bugs.kde.org/show_bug.cgi?id=84989

With hope and every-hour updating :-)
Andrew
Pivert
Karma
0

Re:seeking with remore control

Tue Dec 14, 2004 3:51 pm
Hi !

This does the trick :

dcop amarok default seek $((`dcop amarok default trackCurrentTime` + 5))

Bye


Bookmarks



Who is online

Registered users: abc72656, Bing [Bot], daret, Google [Bot], Sogou [Bot], Yahoo [Bot]