Fixed bug when play on add is enabled and the playlist is empty.

CQTexperiment
vspader 2008-05-04 22:29:02 +00:00
parent 549a0cf2da
commit 23124f7792
1 changed files with 1 additions and 1 deletions

View File

@ -308,7 +308,7 @@
//Auto start playback
if ([[NSUserDefaults standardUserDefaults] boolForKey:@"playOnAdd"]) {
if ([[NSUserDefaults standardUserDefaults] boolForKey:@"playOnAdd"] && [entries count] > 0) {
[playbackController playEntry: [entries objectAtIndex:0]];
}
}