Exemple #1
0
 /// <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);
     }
 }
Exemple #2
0
        /// <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;
            }
        }
Exemple #4
0
 /// <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));
 }