2021-05-06 18:39:20 -04:00
|
|
|
#nullable disable
|
|
|
|
|
2020-08-22 15:56:24 -04:00
|
|
|
#pragma warning disable CS1591
|
|
|
|
|
2019-01-13 15:01:16 -05:00
|
|
|
using System;
|
2018-12-27 18:27:57 -05:00
|
|
|
using System.Collections.Generic;
|
2019-01-13 14:25:32 -05:00
|
|
|
using MediaBrowser.Model.Dto;
|
2018-12-27 18:27:57 -05:00
|
|
|
using MediaBrowser.Model.Entities;
|
|
|
|
|
|
|
|
namespace MediaBrowser.Controller.Entities
|
|
|
|
{
|
|
|
|
public interface IHasMediaSources
|
|
|
|
{
|
2020-08-22 15:56:24 -04:00
|
|
|
Guid Id { get; set; }
|
|
|
|
|
|
|
|
long? RunTimeTicks { get; set; }
|
|
|
|
|
|
|
|
string Path { get; }
|
|
|
|
|
2018-12-27 18:27:57 -05:00
|
|
|
/// <summary>
|
|
|
|
/// Gets the media sources.
|
|
|
|
/// </summary>
|
|
|
|
List<MediaSourceInfo> GetMediaSources(bool enablePathSubstitution);
|
2020-08-22 15:56:24 -04:00
|
|
|
|
2018-12-27 18:27:57 -05:00
|
|
|
List<MediaStream> GetMediaStreams();
|
|
|
|
}
|
|
|
|
}
|