jellyfin-server/MediaBrowser.Controller/Entities/IHasMediaSources.cs

30 lines
743 B
C#
Raw Normal View History

#nullable disable
#pragma warning disable CS1591
using System;
2018-12-27 23:27:57 +00:00
using System.Collections.Generic;
using MediaBrowser.Model.Dto;
2018-12-27 23:27:57 +00:00
using MediaBrowser.Model.Entities;
namespace MediaBrowser.Controller.Entities
{
public interface IHasMediaSources
{
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>
/// <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);
2018-12-27 23:27:57 +00:00
List<MediaStream> GetMediaStreams();
}
}