diff --git a/QuickLook.Plugin/QuickLook.Plugin.CsvViewer/QuickLook.Plugin.CsvViewer.csproj b/QuickLook.Plugin/QuickLook.Plugin.CsvViewer/QuickLook.Plugin.CsvViewer.csproj index 88aba7af3..65c22ec3a 100644 --- a/QuickLook.Plugin/QuickLook.Plugin.CsvViewer/QuickLook.Plugin.CsvViewer.csproj +++ b/QuickLook.Plugin/QuickLook.Plugin.CsvViewer/QuickLook.Plugin.CsvViewer.csproj @@ -53,7 +53,7 @@ - + diff --git a/QuickLook.Plugin/QuickLook.Plugin.VideoViewer/ViewerPanel.xaml.cs b/QuickLook.Plugin/QuickLook.Plugin.VideoViewer/ViewerPanel.xaml.cs index 52bcdcf56..1b268f82e 100644 --- a/QuickLook.Plugin/QuickLook.Plugin.VideoViewer/ViewerPanel.xaml.cs +++ b/QuickLook.Plugin/QuickLook.Plugin.VideoViewer/ViewerPanel.xaml.cs @@ -276,9 +276,9 @@ private void UpdateMeta(string path, MediaInfo.MediaInfo info) { var coverBytes = Convert.FromBase64String ( - coverData.Length % 4 == 0 // MediaInfo may will return multiple covers - ? coverData - : coverData.Split(" / ")[0] // Get the first cover only + coverData.Contains(' ') // MediaInfo may will return multiple covers + ? coverData.Split(" / ")[0] // Get the first cover only + : coverData ); using var ms = new MemoryStream(coverBytes);