Fixed bug when play on add is enabled and the playlist is empty.
This commit is contained in:
parent
549a0cf2da
commit
23124f7792
1 changed files with 1 additions and 1 deletions
|
@ -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]];
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in a new issue