do not delete cached cover, fix #195

This commit is contained in:
Paddy Xu
2018-02-28 18:32:53 +02:00
parent 16fa2d5997
commit 347faf6a03

View File

@@ -180,9 +180,10 @@ namespace QuickLook.Plugin.VideoViewer
mediaElement = null;
});
// disabled because https://github.com/xupefei/QuickLook/issues/195 reports that VLC uses existing files such as folder.jpg
// delete cached cover art
if (!string.IsNullOrWhiteSpace(_coverArtPath))
File.Delete(_coverArtPath);
//if (!string.IsNullOrWhiteSpace(_coverArtPath))
// File.Delete(_coverArtPath);
}
catch (Exception e)
{