Raduga (English)

User: Guest

Search

Please use the
Bug Report Form
if you think you found a software defect.

Use the Contact Form
to send a personal message to Wolfgang.

RSS Feed RSS Feed

Other boards:
Juke
QBrowser
Song Requester
SuperEdi

nextSong SDK

Posted on: Raduga (English)

From Message

Ada74

2005-02-17 17:52:30

nextSong SDK

Hello,
i have a problem, i want to know what is the value for having the next song after the nextindex (so the 2nd song after the 1st upcoming) song .

I know the upcoming song.
nextSong = GetDisplayName(playlist.Item(playlist.NextIndex))

But i want to know the 2nd upcoming song.

Thanks you for your help.

Wolfgang Loch

2005-02-17 20:38:16

Re: nextSong SDK

Just add one to playlist.NextIndex...

var index = playlist.NextIndex + 1;
if( playlist.NextIndex < playlist.Count )
nextSong = GetDisplayName(playlist.Item(index));

Post a reply to this message: