Re-request the next stream when the shuffle/repeat mode changes.

CQTexperiment
vspader 2009-02-28 12:26:43 -08:00
parent 384911beb6
commit 3cd7402d3d
1 changed files with 3 additions and 0 deletions

View File

@ -628,6 +628,8 @@
[[NSUserDefaults standardUserDefaults] setBool:s forKey:@"shuffle"];
if (s == YES)
[self resetShuffleList];
[audioPlayer resetNextStreams];
}
- (BOOL)shuffle
{
@ -636,6 +638,7 @@
- (void)setRepeat:(RepeatMode)r
{
[[NSUserDefaults standardUserDefaults] setInteger:r forKey:@"repeatMode"];
[audioPlayer resetNextStreams];
}
- (RepeatMode)repeat
{