Notifications: Fix so it supports external artwork, and also fix a crash where invalid embedded artwork would cause it to crash
This commit is contained in:
parent
981827309c
commit
fc70e0e8b4
1 changed files with 1 additions and 1 deletions
|
@ -189,7 +189,7 @@ typedef NS_ENUM(NSInteger, TrackStatus) { TrackPlaying, TrackPaused, TrackStoppe
|
|||
content.categoryIdentifier = @"play";
|
||||
|
||||
if ([defaults boolForKey:@"notifications.show-album-art"] &&
|
||||
[pe albumArtInternal]) {
|
||||
[pe albumArt]) {
|
||||
NSError *error = nil;
|
||||
NSFileManager *fileManager = [NSFileManager defaultManager];
|
||||
NSURL *tmpSubFolderURL = [[NSURL fileURLWithPath:NSTemporaryDirectory()]
|
||||
|
|
Loading…
Reference in a new issue