PlaybackInfo.cs 1.1 KB

1234567891011121314151617181920212223242526272829303132333435363738
  1. using MediaBrowser.Controller.Entities;
  2. using System;
  3. using System.Collections.Generic;
  4. namespace MediaBrowser.Controller.Session
  5. {
  6. public class PlaybackInfo
  7. {
  8. public PlaybackInfo()
  9. {
  10. QueueableMediaTypes = new List<string>();
  11. }
  12. /// <summary>
  13. /// Gets or sets a value indicating whether this instance can seek.
  14. /// </summary>
  15. /// <value><c>true</c> if this instance can seek; otherwise, <c>false</c>.</value>
  16. public bool CanSeek { get; set; }
  17. /// <summary>
  18. /// Gets or sets the queueable media types.
  19. /// </summary>
  20. /// <value>The queueable media types.</value>
  21. public List<string> QueueableMediaTypes { get; set; }
  22. /// <summary>
  23. /// Gets or sets the item.
  24. /// </summary>
  25. /// <value>The item.</value>
  26. public BaseItem Item { get; set; }
  27. /// <summary>
  28. /// Gets or sets the session id.
  29. /// </summary>
  30. /// <value>The session id.</value>
  31. public Guid SessionId { get; set; }
  32. }
  33. }