Fix total time display on startup, when all metadata is correctly loaded.

CQTexperiment
Christopher Snowhill 2018-05-23 00:32:47 -07:00
parent fa648bdc44
commit 3b8e498e7f
1 changed files with 5 additions and 1 deletions

View File

@ -480,7 +480,11 @@ NSMutableDictionary * dictionaryWithPropertiesOfObject(id obj, NSArray * filterL
++i;
}
if (!i) return;
if (!i)
{
[playlistController performSelectorOnMainThread:@selector(updateTotalTime) withObject:nil waitUntilDone:NO];
return;
}
NSLock *outLock = [[NSLock alloc] init];
NSMutableArray *outArray = [[NSMutableArray alloc] init];