aboutsummaryrefslogtreecommitdiff
path: root/MediaBrowser.Providers
diff options
context:
space:
mode:
authorLuke Pulverenti <luke.pulverenti@gmail.com>2016-12-24 02:41:25 -0500
committerLuke Pulverenti <luke.pulverenti@gmail.com>2016-12-24 02:41:25 -0500
commite265d8efec50128c7db990a6d62c7ac39adcda3c (patch)
tree70488e31605f71fbe35540037e3c12ede01cfac7 /MediaBrowser.Providers
parentd90494f204f013c2a078c769a4cde948a327b23c (diff)
fix bdinfo path
Diffstat (limited to 'MediaBrowser.Providers')
-rw-r--r--MediaBrowser.Providers/MediaInfo/FFProbeVideoInfo.cs5
1 files changed, 5 insertions, 0 deletions
diff --git a/MediaBrowser.Providers/MediaInfo/FFProbeVideoInfo.cs b/MediaBrowser.Providers/MediaInfo/FFProbeVideoInfo.cs
index 0a070d3487..c1bae4b3cb 100644
--- a/MediaBrowser.Providers/MediaInfo/FFProbeVideoInfo.cs
+++ b/MediaBrowser.Providers/MediaInfo/FFProbeVideoInfo.cs
@@ -328,6 +328,11 @@ namespace MediaBrowser.Providers.MediaInfo
/// <returns>VideoStream.</returns>
private BlurayDiscInfo GetBDInfo(string path)
{
+ if (string.IsNullOrWhiteSpace(path))
+ {
+ throw new ArgumentNullException("path");
+ }
+
try
{
return _blurayExaminer.GetDiscInfo(path);