2014-03-22 04:35:03 +01:00
|
|
|
|
|
|
|
|
|
namespace MediaBrowser.Model.Session
|
|
|
|
|
{
|
|
|
|
|
/// <summary>
|
|
|
|
|
/// Class PlaybackStartInfo.
|
|
|
|
|
/// </summary>
|
|
|
|
|
public class PlaybackStartInfo
|
|
|
|
|
{
|
|
|
|
|
public string UserId { get; set; }
|
|
|
|
|
|
|
|
|
|
public string ItemId { get; set; }
|
|
|
|
|
|
2014-03-22 17:16:43 +01:00
|
|
|
|
public string MediaSourceId { get; set; }
|
2014-03-22 04:35:03 +01:00
|
|
|
|
|
|
|
|
|
public bool IsSeekable { get; set; }
|
|
|
|
|
|
|
|
|
|
public string[] QueueableMediaTypes { get; set; }
|
|
|
|
|
|
|
|
|
|
public PlaybackStartInfo()
|
|
|
|
|
{
|
|
|
|
|
QueueableMediaTypes = new string[] { };
|
|
|
|
|
}
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
/// <summary>
|
|
|
|
|
/// Class PlaybackProgressInfo.
|
|
|
|
|
/// </summary>
|
|
|
|
|
public class PlaybackProgressInfo
|
|
|
|
|
{
|
|
|
|
|
public string UserId { get; set; }
|
|
|
|
|
|
|
|
|
|
public string ItemId { get; set; }
|
|
|
|
|
|
2014-03-22 17:16:43 +01:00
|
|
|
|
public string MediaSourceId { get; set; }
|
2014-03-22 04:35:03 +01:00
|
|
|
|
|
|
|
|
|
public long? PositionTicks { get; set; }
|
|
|
|
|
|
|
|
|
|
public bool IsPaused { get; set; }
|
|
|
|
|
|
|
|
|
|
public bool IsMuted { get; set; }
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
/// <summary>
|
|
|
|
|
/// Class PlaybackStopInfo.
|
|
|
|
|
/// </summary>
|
|
|
|
|
public class PlaybackStopInfo
|
|
|
|
|
{
|
|
|
|
|
public string UserId { get; set; }
|
|
|
|
|
|
|
|
|
|
public string ItemId { get; set; }
|
|
|
|
|
|
2014-03-22 17:16:43 +01:00
|
|
|
|
public string MediaSourceId { get; set; }
|
2014-03-22 04:35:03 +01:00
|
|
|
|
|
|
|
|
|
public long? PositionTicks { get; set; }
|
|
|
|
|
}
|
|
|
|
|
}
|