IHasMediaSources.cs 568 B

123456789101112131415161718192021222324252627
  1. #nullable disable
  2. #pragma warning disable CS1591
  3. using System;
  4. using System.Collections.Generic;
  5. using MediaBrowser.Model.Dto;
  6. using MediaBrowser.Model.Entities;
  7. namespace MediaBrowser.Controller.Entities
  8. {
  9. public interface IHasMediaSources
  10. {
  11. Guid Id { get; set; }
  12. long? RunTimeTicks { get; set; }
  13. string Path { get; }
  14. /// <summary>
  15. /// Gets the media sources.
  16. /// </summary>
  17. List<MediaSourceInfo> GetMediaSources(bool enablePathSubstitution);
  18. List<MediaStream> GetMediaStreams();
  19. }
  20. }