aboutsummaryrefslogtreecommitdiff
path: root/MediaBrowser.Controller/Entities/IHasMediaSources.cs
blob: 0f612262a8065de7afc7f97827002db9abb0a292 (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
#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>
        List<MediaSourceInfo> GetMediaSources(bool enablePathSubstitution);

        List<MediaStream> GetMediaStreams();
    }
}