mirror of
https://github.com/jellyfin/jellyfin.git
synced 2024-11-20 04:18:51 -07:00
23 lines
664 B
C#
23 lines
664 B
C#
using MediaBrowser.Model.Dto;
|
|
using System;
|
|
using System.Collections.Generic;
|
|
|
|
namespace MediaBrowser.Controller.Entities
|
|
{
|
|
public interface IHasMediaSources
|
|
{
|
|
/// <summary>
|
|
/// Gets the identifier.
|
|
/// </summary>
|
|
/// <value>The identifier.</value>
|
|
Guid Id { get; }
|
|
|
|
/// <summary>
|
|
/// Gets the media sources.
|
|
/// </summary>
|
|
/// <param name="enablePathSubstitution">if set to <c>true</c> [enable path substitution].</param>
|
|
/// <returns>Task{IEnumerable{MediaSourceInfo}}.</returns>
|
|
IEnumerable<MediaSourceInfo> GetMediaSources(bool enablePathSubstitution);
|
|
}
|
|
}
|