[Legacy XML Playlist] Fix import if queue missing
If there is somehow a legacy XML playlist, and there is no queue entry in the plist, then it should not throw an exception from trying to add a nil object to the return dictionary. Signed-off-by: Christopher Snowhill <kode54@gmail.com>swiftingly
parent
6825d15f68
commit
55c623c9a0
|
@ -95,6 +95,7 @@
|
|||
items = dict[@"items"];
|
||||
albumArt = dict[@"albumArt"];
|
||||
queueList = dict[@"queue"];
|
||||
if(!queueList) queueList = @[];
|
||||
}
|
||||
|
||||
NSMutableArray *entries = [NSMutableArray array];
|
||||
|
|
Loading…
Reference in New Issue