Permalink
Browse files

Merge branch 'master' into EXP_Owlsroost_TVE3_TsWriter_threaded

  • Loading branch information...
owlsroost committed Sep 30, 2018
2 parents 6a81178 + 0a3d04a commit d97a29ee876a527b5c5b9a20a4e43b6051be961e
Showing with 6 additions and 0 deletions.
  1. +6 −0 mediaportal/Core/Player/MediaInfoWrapper.cs
@@ -99,6 +99,7 @@ public MediaInfoWrapper(string strFile)
if (!MediaInfoExist())
{
_mediaInfoNotloaded = true;
finished.Set();
return;
}

@@ -124,13 +125,15 @@ public MediaInfoWrapper(string strFile)
isAVStream);
Log.Debug("MediaInfoWrapper: disabled for this content");
_mediaInfoNotloaded = true;
finished.Set();
return;
}

if (strFile.ToLowerInvariant().EndsWith(".wtv"))
{
Log.Debug("MediaInfoWrapper: WTV file is not handled");
_mediaInfoNotloaded = true;
finished.Set();
return;
}

@@ -147,6 +150,7 @@ public MediaInfoWrapper(string strFile)
Log.Debug("MediaInfoWrapper: isVideo:{0}, isDVD:{1}[enabled:{2}]", isVideo, isDVD, _DVDenabled);
Log.Debug("MediaInfoWrapper: disabled for this content");
_mediaInfoNotloaded = true;
finished.Set();
return;
}

@@ -166,6 +170,7 @@ public MediaInfoWrapper(string strFile)
if (!File.Exists(strFile))
{
_mediaInfoNotloaded = true;
finished.Set();
return;
}
}
@@ -205,6 +210,7 @@ public MediaInfoWrapper(string strFile)
else
{
_mediaInfoNotloaded = true;
finished.Set();
return;
}

0 comments on commit d97a29e

Please sign in to comment.