#268 Fix exception using named pipes

This commit is contained in:
Frank Skare
2021-06-23 06:02:02 +02:00
parent 55f16d2c53
commit 1c23c10c81
9 changed files with 27 additions and 16 deletions

View File

@@ -364,7 +364,7 @@ namespace mpvnet
{
string path = Core.GetPropertyString("path");
if (File.Exists(path))
if (File.Exists(path) && !path.Contains(@"\\.\pipe\"))
{
using (MediaInfo mediaInfo = new MediaInfo(path))
{