aboutsummaryrefslogtreecommitdiff
path: root/MediaBrowser.Controller/Entities/IHasMediaSources.cs
blob: 90d9bdd2d3e37bffa7869a7262031f87d61a2c10 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
#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();
    }
}