/// <summary> /// Gets information about the longest playlist on a bdrom /// </summary> /// <param name="path">The path.</param> /// <returns>VideoStream.</returns> private BlurayDiscInfo GetBDInfo(string path) { try { return(_blurayExaminer.GetDiscInfo(path)); } catch (Exception ex) { _logger.ErrorException("Error getting BDInfo", ex); return(null); } }
/// <summary> /// Gets information about the longest playlist on a bdrom /// </summary> /// <param name="path">The path.</param> /// <returns>VideoStream.</returns> private BlurayDiscInfo GetBDInfo(string path) { if (string.IsNullOrWhiteSpace(path)) { throw new ArgumentNullException(nameof(path)); } try { return(_blurayExaminer.GetDiscInfo(path)); } catch (Exception ex) { _logger.LogError(ex, "Error getting BDInfo"); return(null); } }
/// <summary> /// Gets information about the longest playlist on a bdrom /// </summary> /// <param name="path">The path.</param> /// <returns>VideoStream.</returns> private BlurayDiscInfo GetBDInfo(string path) { if (string.IsNullOrWhiteSpace(path)) { throw new ArgumentNullException("path"); } try { return _blurayExaminer.GetDiscInfo(path); } catch (Exception ex) { _logger.ErrorException("Error getting BDInfo", ex); return null; } }
/// <summary> /// Gets information about the longest playlist on a bdrom /// </summary> /// <param name="path">The path.</param> /// <returns>VideoStream.</returns> private BlurayDiscInfo GetBDInfo(string path) { return(_blurayExaminer.GetDiscInfo(path)); }