View Issue Details

IDProjectCategoryView StatusLast Update
0001551MMW v4Playerpublic2007-09-11 17:05
Reporterrusty Assigned To 
PrioritylowSeverityfeatureReproducibilityalways
Status newResolutionopen 
Summary0001551: Indicate seek time when using the player seek bar
DescriptionWhile moving Song position slider (seek bar) user does not know Correct destination time while dragging so he can't detemine where to stop.

Expected behaviour would be for the Track indicator (which normally shows the track Artist/Title) to change to the format: x m y s / x' m y' s (z%)

[similar to winamp]

Issue raised by Peke
Additional InformationFrom Peke:
   Solve: While PlayerTrackbar.onMouseMove Source code should look like:
--- SourceCode ---
Procedure Player.SongLengthBarMouseMove(Sender: TObject; Shift: TShiftState; X, Y: Integer);
Var
  TrackLength : Integer; {Song Length in MilliSeconds}
  SongLength : TProgessBar; {Song Progressbar}
  SeekPos: Integer; {Song Time relative to Mouse position in SongLengthBar (Percents) multiplied with 1/100 of Song Length. In Miliseconds}
Begin
// Set Hint of SongLengthBar (SeekPos converted to time format mm:ss). so user can get Hint at what pos song will seek if clicked
  SongLengthBar.Hint := ConvertMSToTime(Trunc((imod.GetLength/100)*(X/(Lengthbar.Width/100))));
  
  If ssLeft in Shift Then
    If ((X > -1) And (X < (TrackLength+1))) Then
      Begin
        SeekPos := Trunc((TrackLength/100)*(X/(SongLengthbar.Width/100)));
      End;
End;
--- SourceCode ---
TagsNo tags attached.
Fixed in build

Activities

There are no notes attached to this issue.