From 347faf6a03ee695abf89c262cb75520795442424 Mon Sep 17 00:00:00 2001 From: Paddy Xu Date: Wed, 28 Feb 2018 18:32:53 +0200 Subject: [PATCH] do not delete cached cover, fix #195 --- .../QuickLook.Plugin.VideoViewer/ViewerPanel.xaml.cs | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/QuickLook.Plugin/QuickLook.Plugin.VideoViewer/ViewerPanel.xaml.cs b/QuickLook.Plugin/QuickLook.Plugin.VideoViewer/ViewerPanel.xaml.cs index be0aa35..a31b4b7 100644 --- a/QuickLook.Plugin/QuickLook.Plugin.VideoViewer/ViewerPanel.xaml.cs +++ b/QuickLook.Plugin/QuickLook.Plugin.VideoViewer/ViewerPanel.xaml.cs @@ -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) {