PlaybackInfoResponse.cs 894 B

1234567891011121314151617181920212223242526272829303132
  1. using MediaBrowser.Model.Dlna;
  2. using MediaBrowser.Model.Dto;
  3. using System.Collections.Generic;
  4. namespace MediaBrowser.Model.MediaInfo
  5. {
  6. public class PlaybackInfoResponse
  7. {
  8. /// <summary>
  9. /// Gets or sets the media sources.
  10. /// </summary>
  11. /// <value>The media sources.</value>
  12. public MediaSourceInfo[] MediaSources { get; set; }
  13. /// <summary>
  14. /// Gets or sets the play session identifier.
  15. /// </summary>
  16. /// <value>The play session identifier.</value>
  17. public string PlaySessionId { get; set; }
  18. /// <summary>
  19. /// Gets or sets the error code.
  20. /// </summary>
  21. /// <value>The error code.</value>
  22. public PlaybackErrorCode? ErrorCode { get; set; }
  23. public PlaybackInfoResponse()
  24. {
  25. MediaSources = new MediaSourceInfo[] { };
  26. }
  27. }
  28. }