by kacso » Sat Feb 22, 2014 5:04 am
@mcow
I already done that but thanks anyway...
@Peke
Well, I'm searching for some track (by track title, artist name etc.) that is in Now Playing and need to play that track and that track must finally be on the same position in Now Playing as it was before. When user get results of search he select track from list and press "Enter". From there I can get SongID and after that I can find playlist number, so for now I moving track from previous position to position right after currently playing track, then turn off shuffle (if is on) and play next track. After that I move track back to previous position.
EDIT: I now done this using: SDB.Player.CurrentSongIndex = songIndex
@mcow
I already done that but thanks anyway...
@Peke
Well, I'm searching for some track (by track title, artist name etc.) that is in Now Playing and need to play that track and that track must finally be on the same position in Now Playing as it was before. When user get results of search he select track from list and press "Enter". From there I can get SongID and after that I can find playlist number, so for now I moving track from previous position to position right after currently playing track, then turn off shuffle (if is on) and play next track. After that I move track back to previous position.
EDIT: I now done this using: SDB.Player.CurrentSongIndex = songIndex