diff --git a/QuickLook.Plugin/QuickLook.Plugin.VideoViewer/ViewerPanel.xaml.cs b/QuickLook.Plugin/QuickLook.Plugin.VideoViewer/ViewerPanel.xaml.cs index c0a8216..251ac66 100644 --- a/QuickLook.Plugin/QuickLook.Plugin.VideoViewer/ViewerPanel.xaml.cs +++ b/QuickLook.Plugin/QuickLook.Plugin.VideoViewer/ViewerPanel.xaml.cs @@ -207,10 +207,10 @@ namespace QuickLook.Plugin.VideoViewer case MediaState.Opening: HasVideo = mediaElement.VlcMediaPlayer.VideoTrackCount > 0; HasAudio = mediaElement.VlcMediaPlayer.AudioTrackCount > 0; - CoverArt = mediaElement.VlcMediaPlayer.Media.GetMeta( - MetaDataType.ArtworkUrl); break; case MediaState.Playing: + CoverArt = mediaElement.VlcMediaPlayer.Media.GetMeta( + MetaDataType.ArtworkUrl); HasVideo = mediaElement.VlcMediaPlayer.VideoTrackCount > 0; HasAudio = mediaElement.VlcMediaPlayer.AudioTrackCount > 0; IsPlaying = true;