IHasMediaSources.cs 515 B

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