Library changes

CQTexperiment
vspader 2006-05-12 18:12:31 +00:00
parent 904144a22b
commit 5441e700fe
1 changed files with 9 additions and 1 deletions

View File

@ -197,7 +197,15 @@
- (void)delegateRequestNextEntry:(PlaylistEntry *)curEntry
{
PlaylistEntry *pe;
pe = [playlistController entryAtIndex:[curEntry index]+1];
if ([playlistController shuffle] == YES)
{
pe = [playlistController entryAtIndex:[curEntry shuffleIndex]+1];
}
else
{
pe = [playlistController entryAtIndex:[curEntry index]+1];
}
if (pe == nil)
[soundController setNextEntry:nil];