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