PlaybackInfoDto.cs 2.5 KB

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