2021-05-06 22:39:20 +00:00
|
|
|
#nullable disable
|
|
|
|
|
2020-08-22 19:56:24 +00:00
|
|
|
#pragma warning disable CS1591
|
|
|
|
|
2019-01-13 20:01:16 +00:00
|
|
|
using System;
|
2018-12-27 23:27:57 +00:00
|
|
|
using System.Collections.Generic;
|
2019-01-13 19:25:32 +00:00
|
|
|
using MediaBrowser.Model.Dto;
|
2018-12-27 23:27:57 +00:00
|
|
|
using MediaBrowser.Model.Entities;
|
|
|
|
|
|
|
|
namespace MediaBrowser.Controller.Entities
|
|
|
|
{
|
|
|
|
public interface IHasMediaSources
|
|
|
|
{
|
2020-08-22 19:56:24 +00:00
|
|
|
Guid Id { get; set; }
|
|
|
|
|
|
|
|
long? RunTimeTicks { get; set; }
|
|
|
|
|
|
|
|
string Path { get; }
|
|
|
|
|
2018-12-27 23:27:57 +00:00
|
|
|
/// <summary>
|
|
|
|
/// Gets the media sources.
|
|
|
|
/// </summary>
|
2021-08-14 03:34:36 +00:00
|
|
|
/// <param name="enablePathSubstitution"><c>true</c> to enable path substitution, <c>false</c> to not.</param>
|
|
|
|
/// <returns>A lits of media sources.</returns>
|
2018-12-27 23:27:57 +00:00
|
|
|
List<MediaSourceInfo> GetMediaSources(bool enablePathSubstitution);
|
2020-08-22 19:56:24 +00:00
|
|
|
|
2018-12-27 23:27:57 +00:00
|
|
|
List<MediaStream> GetMediaStreams();
|
|
|
|
}
|
|
|
|
}
|