2
0

AudioIndexSource.cs 658 B

123456789101112131415161718192021222324252627282930
  1. using System;
  2. namespace MediaBrowser.Model.MediaInfo;
  3. /// <summary>
  4. /// How is the audio index determined.
  5. /// </summary>
  6. [Flags]
  7. public enum AudioIndexSource
  8. {
  9. /// <summary>
  10. /// The default index when no preference is specified.
  11. /// </summary>
  12. None = 0,
  13. /// <summary>
  14. /// The index is calculated whether the track is marked as default or not.
  15. /// </summary>
  16. Default = 1 << 0,
  17. /// <summary>
  18. /// The index is calculated whether the track is in preferred language or not.
  19. /// </summary>
  20. Language = 1 << 1,
  21. /// <summary>
  22. /// The index is specified by the user.
  23. /// </summary>
  24. User = 1 << 2
  25. }