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

This commit is contained in:
vspader 2008-05-04 22:29:02 +00:00
parent 549a0cf2da
commit 23124f7792

View file

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