PlaybackInfoResponse.cs 857 B

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