2024-10-09 10:36:08 +00:00

30 lines
761 B
C#

#nullable disable
#pragma warning disable CS1591
using System;
using System.Collections.Generic;
using MediaBrowser.Model.Dto;
using MediaBrowser.Model.Entities;
namespace MediaBrowser.Controller.Entities
{
public interface IHasMediaSources
{
Guid Id { get; set; }
long? RunTimeTicks { get; set; }
string Path { get; }
/// <summary>
/// Gets the media sources.
/// </summary>
/// <param name="enablePathSubstitution"><c>true</c> to enable path substitution, <c>false</c> to not.</param>
/// <returns>A list of media sources.</returns>
IReadOnlyList<MediaSourceInfo> GetMediaSources(bool enablePathSubstitution);
IReadOnlyList<MediaStream> GetMediaStreams();
}
}