From faa546bc49affa44496bb0594a413cf9741247a7 Mon Sep 17 00:00:00 2001 From: Christopher Snowhill Date: Fri, 15 Jul 2022 06:12:57 -0700 Subject: [PATCH] [Playlist Storage] Properly force migration Old version users needed this, but it wasn't performed correctly. Signed-off-by: Christopher Snowhill --- Playlist/PlaylistLoader.m | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/Playlist/PlaylistLoader.m b/Playlist/PlaylistLoader.m index 48374f7d6..b6b480970 100644 --- a/Playlist/PlaylistLoader.m +++ b/Playlist/PlaylistLoader.m @@ -926,6 +926,10 @@ NSURL *_Nullable urlForPath(NSString *_Nullable path); [playlistController readQueueFromDataStore]; [playlistController readShuffleListFromDataStore]; + if(!dataMigrated && [results count]) { + [self performSelectorInBackground:@selector(loadInfoForEntries:) withObject:results]; + } + [[NSUserDefaults standardUserDefaults] setBool:YES forKey:@"metadataMigrated"]; return YES;