Seeking in a track directly not possible?

This forum is for questions / discussions regarding development of addons / tweaks for MediaMonkey for Windows 4.

Moderators: Gurus, Addon Administrators

Aff
Posts: 307
Joined: Sun Oct 05, 2008 4:46 pm
Location: Switzerland

Seeking in a track directly not possible?

Post by Aff »

I'd like to start playback of a song directly at a certain position.

From the wiki:

Code: Select all

SDB.Player.Play 
While SDB.Player.IsStartingPlayback
  SDB.ProcessMessages
WEnd
SDB.Player.Playbacktime=5000
IsStartingPlayback is needed because otherwise Playbacktime is ignored.

The problem is that it first starts playing at 00:00 and only after a moment jumps to 00:05.
Is this an ugly limitation of MM?

My aim is to build a script for comparing selected duplicate tracks by switching between them at the same playback time position.