Library changes
parent
904144a22b
commit
5441e700fe
|
@ -197,7 +197,15 @@
|
||||||
- (void)delegateRequestNextEntry:(PlaylistEntry *)curEntry
|
- (void)delegateRequestNextEntry:(PlaylistEntry *)curEntry
|
||||||
{
|
{
|
||||||
PlaylistEntry *pe;
|
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)
|
if (pe == nil)
|
||||||
[soundController setNextEntry:nil];
|
[soundController setNextEntry:nil];
|
||||||
|
|
Loading…
Reference in New Issue