Browse Source

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

master
parent
commit
2a974d6704
1 changed files with 5 additions and 1 deletions
  1. +5
    -1
      Playlist/PlaylistLoader.m

+ 5
- 1
Playlist/PlaylistLoader.m 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];


Loading…
Cancel
Save