Commit 67722744 authored by Felix Paul Kühne's avatar Felix Paul Kühne

MLMediaLibrary: remove episodes from show if file no longer exists (close #9705)

parent b7e1233c
......@@ -801,7 +801,8 @@ static NSString *kUpdatedToTheMojoWireDatabaseFormat = @"upgradedToDatabaseForma
@catch (NSException *exception) {
APLog(@"failed to nuke object because it disappeared in front of us");
} else
[show removeEpisode:file.showEpisode];
NSString *thumbPath = [[[self thumbnailFolderPath] stringByAppendingPathComponent:[[file.objectID URIRepresentation] path]] stringByAppendingString:@".png"];
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