[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
parent
498d85a0f4
commit
7d46ac42b6
|
@ -926,6 +926,10 @@ NSURL *_Nullable urlForPath(NSString *_Nullable path);
|
||||||
[playlistController readQueueFromDataStore];
|
[playlistController readQueueFromDataStore];
|
||||||
[playlistController readShuffleListFromDataStore];
|
[playlistController readShuffleListFromDataStore];
|
||||||
|
|
||||||
|
if(!dataMigrated && [results count]) {
|
||||||
|
[self performSelectorInBackground:@selector(loadInfoForEntries:) withObject:results];
|
||||||
|
}
|
||||||
|
|
||||||
[[NSUserDefaults standardUserDefaults] setBool:YES forKey:@"metadataMigrated"];
|
[[NSUserDefaults standardUserDefaults] setBool:YES forKey:@"metadataMigrated"];
|
||||||
|
|
||||||
return YES;
|
return YES;
|
||||||
|
|
Loading…
Reference in New Issue