diff options
| author | Luke Pulverenti <luke.pulverenti@gmail.com> | 2016-12-24 02:41:25 -0500 |
|---|---|---|
| committer | Luke Pulverenti <luke.pulverenti@gmail.com> | 2016-12-24 02:41:25 -0500 |
| commit | e265d8efec50128c7db990a6d62c7ac39adcda3c (patch) | |
| tree | 70488e31605f71fbe35540037e3c12ede01cfac7 /MediaBrowser.MediaEncoding | |
| parent | d90494f204f013c2a078c769a4cde948a327b23c (diff) | |
fix bdinfo path
Diffstat (limited to 'MediaBrowser.MediaEncoding')
| -rw-r--r-- | MediaBrowser.MediaEncoding/BdInfo/BdInfoExaminer.cs | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/MediaBrowser.MediaEncoding/BdInfo/BdInfoExaminer.cs b/MediaBrowser.MediaEncoding/BdInfo/BdInfoExaminer.cs index bf7343f3d..219b1f3c5 100644 --- a/MediaBrowser.MediaEncoding/BdInfo/BdInfoExaminer.cs +++ b/MediaBrowser.MediaEncoding/BdInfo/BdInfoExaminer.cs @@ -30,6 +30,11 @@ namespace MediaBrowser.MediaEncoding.BdInfo /// <returns>BlurayDiscInfo.</returns> public BlurayDiscInfo GetDiscInfo(string path) { + if (string.IsNullOrWhiteSpace(path)) + { + throw new ArgumentNullException("path"); + } + var bdrom = new BDROM(path, _fileSystem, _textEncoding); bdrom.Scan(); |
