Commit a0520be1 authored by Soomin Lee's avatar Soomin Lee

VLCMediaDataSource: Fix files not being displayed

Calling updateContentsForSelection method overwrites the foundMedia
instance that held all files.
Removing the call fixes files not being displayed.

co-authored by Carola Nitz
parent 3d5dc239
......@@ -170,7 +170,6 @@
* syndrome (see #10435, #10464, #10432 et al) */
if (file.showEpisode.show.name.length == 0) {
file.showEpisode.show.name = NSLocalizedString(@"UNTITLED_SHOW", nil);
[self updateContentsForSelection:_currentSelection];
}
} else if (file.isAlbumTrack && file.albumTrack.album.tracks.count < 2) {
[self addObject:file];
......
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