Fixed bug when play on add is enabled and the playlist is empty.
parent
549a0cf2da
commit
23124f7792
|
@ -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]];
|
||||
}
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue