PlaybackInfoDto.cs 2.5 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990
  1. using System;
  2. using MediaBrowser.Model.Dlna;
  3. namespace Jellyfin.Api.Models.MediaInfoDtos;
  4. /// <summary>
  5. /// Playback info dto.
  6. /// </summary>
  7. public class PlaybackInfoDto
  8. {
  9. /// <summary>
  10. /// Gets or sets the playback userId.
  11. /// </summary>
  12. public Guid? UserId { get; set; }
  13. /// <summary>
  14. /// Gets or sets the max streaming bitrate.
  15. /// </summary>
  16. public int? MaxStreamingBitrate { get; set; }
  17. /// <summary>
  18. /// Gets or sets the start time in ticks.
  19. /// </summary>
  20. public long? StartTimeTicks { get; set; }
  21. /// <summary>
  22. /// Gets or sets the audio stream index.
  23. /// </summary>
  24. public int? AudioStreamIndex { get; set; }
  25. /// <summary>
  26. /// Gets or sets the subtitle stream index.
  27. /// </summary>
  28. public int? SubtitleStreamIndex { get; set; }
  29. /// <summary>
  30. /// Gets or sets the max audio channels.
  31. /// </summary>
  32. public int? MaxAudioChannels { get; set; }
  33. /// <summary>
  34. /// Gets or sets the media source id.
  35. /// </summary>
  36. public string? MediaSourceId { get; set; }
  37. /// <summary>
  38. /// Gets or sets the live stream id.
  39. /// </summary>
  40. public string? LiveStreamId { get; set; }
  41. /// <summary>
  42. /// Gets or sets the device profile.
  43. /// </summary>
  44. public DeviceProfile? DeviceProfile { get; set; }
  45. /// <summary>
  46. /// Gets or sets a value indicating whether to enable direct play.
  47. /// </summary>
  48. public bool? EnableDirectPlay { get; set; }
  49. /// <summary>
  50. /// Gets or sets a value indicating whether to enable direct stream.
  51. /// </summary>
  52. public bool? EnableDirectStream { get; set; }
  53. /// <summary>
  54. /// Gets or sets a value indicating whether to enable transcoding.
  55. /// </summary>
  56. public bool? EnableTranscoding { get; set; }
  57. /// <summary>
  58. /// Gets or sets a value indicating whether to enable video stream copy.
  59. /// </summary>
  60. public bool? AllowVideoStreamCopy { get; set; }
  61. /// <summary>
  62. /// Gets or sets a value indicating whether to allow audio stream copy.
  63. /// </summary>
  64. public bool? AllowAudioStreamCopy { get; set; }
  65. /// <summary>
  66. /// Gets or sets a value indicating whether to auto open the live stream.
  67. /// </summary>
  68. public bool? AutoOpenLiveStream { get; set; }
  69. /// <summary>
  70. /// Gets or sets a value indicating whether always burn in subtitles when transcoding.
  71. /// </summary>
  72. public bool? AlwaysBurnInSubtitleWhenTranscoding { get; set; }
  73. }