[Playlist Storage] Properly force migration
Old version users needed this, but it wasn't performed correctly. Signed-off-by: Christopher Snowhill <kode54@gmail.com>
This commit is contained in:
parent
a5e6988af6
commit
faa546bc49
1 changed files with 4 additions and 0 deletions
|
@ -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 a new issue