From fc70e0e8b4e8daa3af7f6cdd904df6e77d28f487 Mon Sep 17 00:00:00 2001 From: Christopher Snowhill Date: Sat, 7 Aug 2021 15:09:36 -0700 Subject: [PATCH] Notifications: Fix so it supports external artwork, and also fix a crash where invalid embedded artwork would cause it to crash --- Application/PlaybackEventController.m | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Application/PlaybackEventController.m b/Application/PlaybackEventController.m index 067076bba..319d8ced1 100644 --- a/Application/PlaybackEventController.m +++ b/Application/PlaybackEventController.m @@ -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()]