![]() ![]()
|
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? |
![]() Registered Member ![]()
|
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 |
![]() Alumni ![]()
|
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.. |
![]() ![]()
|
|
![]() ![]()
|
Hi !
This does the trick : dcop amarok default seek $((`dcop amarok default trackCurrentTime` + 5)) Bye |
Registered users: abc72656, Bing [Bot], daret, Google [Bot], Sogou [Bot], Yahoo [Bot]