diff --git a/Application/PlaybackEventController.m b/Application/PlaybackEventController.m index 26819f3fd..64f02741e 100644 --- a/Application/PlaybackEventController.m +++ b/Application/PlaybackEventController.m @@ -108,6 +108,8 @@ didReceiveNotificationResponse:(UNNotificationResponse *)response - (NSDictionary *)fillNotificationDictionary:(PlaylistEntry *)pe status:(TrackStatus)status { NSMutableDictionary *dict = [NSMutableDictionary dictionary]; + if (pe == nil) + return dict; [dict setObject:[[pe URL] absoluteString] forKey:TrackPath]; if ([pe title]) [dict setObject:[pe title] forKey:TrackTitle];