[Playlist Storage] Properly force migration

Old version users needed this, but it wasn't performed correctly.

Signed-off-by: Christopher Snowhill <kode54@gmail.com>
main
Christopher Snowhill 2022-07-15 06:12:57 -07:00
parent 498d85a0f4
commit 7d46ac42b6
1 changed files with 4 additions and 0 deletions

View File

@ -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;