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

MLMediaLibrary: remove track from album if file no longer exists

parent 9f7e73cc
......@@ -791,6 +791,8 @@ static NSString *kUpdatedToTheMojoWireDatabaseFormat = @"upgradedToDatabaseForma
APLog(@"failed to nuke object because it disappeared in front of us");
[album removeTrack:file.albumTrack];
if (file.isShowEpisode) {
MLShow *show =;
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