Redmine: Issueshttp://redmine.audacious-media-player.org/http://redmine.audacious-media-player.org/welcome/favicon.ico?15159353402012-04-05T03:46:52ZRedmine
Redmine Audacious - Feature #95 (Closed): Make audtool seek in millisecondshttp://redmine.audacious-media-player.org/issues/952012-04-05T03:46:52ZRick Koshiaudacious@more-right-rudder.com
<p>If you try using 'audtool --playback-seek 5', it will move to a position 5 seconds into the song. If you use 'audtool --playback-seek-relative 5', it will move 5 seconds forward from the current position. Both commands should, according to the documentation, move by 5 milliseconds, not 5 seconds. Needless to say, the documented behavior would be more generally useful.</p>
<p>The reason is clear in the source: In src/audtool/handlers_playback.c, both playback_seek() and playback_seek_relative() multiply their received arguments by 1000. In my own copy of the source, I have removed the '*1000' from both lines, and things appear to work without issue.</p>
<p>I don't have older copies of the source, but this bug is present in version 3.2.2</p>