Fix: Config.Video.VideoPreview is ignored (fixes #391)

This commit is contained in:
lukeIam committed 2018-06-30 11:10:09 +02:00
1 parent 15d5b17fd2
commit 3bec24f4ff
1 file changed
+4
+4
View File
@@ -110,6 +110,10 @@ namespace VocaluxeLib.Utils.Player
if (_Video != null || !SongHasVideo)
return;
if (CBase.Config.GetVideoPreview() == EOffOn.TR_CONFIG_OFF)
return;
string videoFilePath = Path.Combine(_Song.Folder, _Song.VideoFileName);
_Video = CBase.Video.Load(videoFilePath);
if (_Video == null)