mirror of
https://github.com/jellyfin/jellyfin.git
synced 2024-09-06 22:07:13 -04:00
30 lines
743 B
C#
30 lines
743 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>
|
|
List<MediaSourceInfo> GetMediaSources(bool enablePathSubstitution);
|
|
|
|
List<MediaStream> GetMediaStreams();
|
|
}
|
|
}
|