fix bdinfo path

This commit is contained in:
Luke Pulverenti
2016-12-24 02:41:25 -05:00
parent d90494f204
commit e265d8efec
3 changed files with 31 additions and 3 deletions

View File

@@ -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();