Problem with SDB.Player.PlaybackTime from a VB.net program

Post a reply

Smilies
:D :) :( :o :-? 8) :lol: :x :P :oops: :cry: :evil: :roll: :wink:

BBCode is ON
[img] is ON
[url] is ON
Smilies are ON

Topic review
   

Expand view Topic review: Problem with SDB.Player.PlaybackTime from a VB.net program

Re: Problem with SDB.Player.PlaybackTime from a VB.net prog

by mcow » Sun Oct 26, 2014 1:12 pm

You can modify SDB.Player.CurrentSong.StartTime before Play() instead of changing PlaybackTime dynamically.

Re: Problem with SDB.Player.PlaybackTime from a VB.net prog

by JustSomeGuy » Sat Oct 25, 2014 12:42 am

I figured out a work around but I would still be interested in a cleaner way to do it.

Code: Select all

        SDB.Player.Stop()
        SDB.Player.CurrentSongIndex = SDB.Player.CurrentSongIndex + 1
        SDB.Player.CurrentSong.StartTime = 30000
        SDB.ProcessMessages()
        SDB.Player.Play()
        While SDB.Player.isStartingPlayback
            SDB.ProcessMessages()
        End While
        SDB.Player.CurrentSong.StartTime = 0

Problem with SDB.Player.PlaybackTime from a VB.net program

by JustSomeGuy » Fri Oct 24, 2014 11:15 pm

When i use this

Code: Select all

        SDB.Player.Next()
        While SDB.Player.isStartingPlayback
            SDB.ProcessMessages()
        End While
        SDB.Player.PlaybackTime = 30000
MediaMonkey plays a fraction of a second of the beginning of the song and then skips to 30 second into the song.
How do I avoid playing the fraction of a second at the beginning of the song?

Top