aboutsummaryrefslogtreecommitdiff
path: root/MediaBrowser.Model/MediaInfo/AudioIndexSource.cs
blob: 810087b9266d4667f268531280521d23347ace09 (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
30
using System;

namespace MediaBrowser.Model.MediaInfo;

/// <summary>
/// How is the audio index determined.
/// </summary>
[Flags]
public enum AudioIndexSource
{
    /// <summary>
    /// The default index when no preference is specified.
    /// </summary>
    None = 0,

    /// <summary>
    /// The index is calculated whether the track is marked as default or not.
    /// </summary>
    Default = 1 << 0,

    /// <summary>
    /// The index is calculated whether the track is in preferred language or not.
    /// </summary>
    Language = 1 << 1,

    /// <summary>
    /// The index is specified by the user.
    /// </summary>
    User = 1 << 2
}