Commit a1832ce7 authored by Felix Paul Kühne's avatar Felix Paul Kühne
Browse files

library: fix incomplete media display (close #9785)

parent 5a1d091d
......@@ -286,6 +286,13 @@
for (MLFile *file in allFiles) {
if (!file.isShowEpisode && !file.isAlbumTrack)
[_foundMedia addObject:file];
else if (file.isShowEpisode) {
if (file.showEpisode.show.episodes.count < 2)
[_foundMedia addObject:file];
} else if (file.isAlbumTrack) {
if (file.albumTrack.album.tracks.count < 2)
[_foundMedia addObject:file];
}
}
[self reloadViews];
......
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