Commit 9d94a132 authored by Felix Paul Kühne's avatar Felix Paul Kühne

Fix runtime exception

parent 3381beb1
......@@ -544,7 +544,12 @@ static NSString *kUsingTableViewToShowData = @"UsingTableViewToShowData";
/* add all remaining files */
NSArray *allFiles = [MLFile allFiles];
for (MLFile *file in allFiles) {
if (file.labels.count > 0) continue;
if (file.labels != nil) {
@synchronized(file.labels) {
if (file.labels.count > 0)
continue;
}
}
if (!file.isShowEpisode && !file.isAlbumTrack) {
@synchronized(self) {
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment