2014-01-03 19:35:41 -07:00
|
|
|
|
using MediaBrowser.Controller.Entities;
|
2017-06-09 12:26:54 -07:00
|
|
|
|
using MediaBrowser.Model.Dto;
|
2014-01-03 19:35:41 -07:00
|
|
|
|
using System;
|
|
|
|
|
using System.Collections.Generic;
|
2013-02-20 18:33:05 -07:00
|
|
|
|
|
2013-03-20 09:54:32 -07:00
|
|
|
|
namespace MediaBrowser.Controller.Library
|
2013-02-20 18:33:05 -07:00
|
|
|
|
{
|
|
|
|
|
/// <summary>
|
|
|
|
|
/// Holds information about a playback progress event
|
|
|
|
|
/// </summary>
|
2013-03-20 09:54:32 -07:00
|
|
|
|
public class PlaybackProgressEventArgs : EventArgs
|
2013-02-20 18:33:05 -07:00
|
|
|
|
{
|
2014-01-03 19:35:41 -07:00
|
|
|
|
public List<User> Users { get; set; }
|
2013-02-20 18:33:05 -07:00
|
|
|
|
public long? PlaybackPositionTicks { get; set; }
|
2013-03-20 09:54:32 -07:00
|
|
|
|
public BaseItem Item { get; set; }
|
2017-06-09 12:26:54 -07:00
|
|
|
|
public BaseItemDto MediaInfo { get; set; }
|
2014-03-22 09:16:43 -07:00
|
|
|
|
public string MediaSourceId { get; set; }
|
2016-03-21 20:31:35 -07:00
|
|
|
|
public bool IsPaused { get; set; }
|
2017-04-25 11:23:20 -07:00
|
|
|
|
public bool IsAutomated { get; set; }
|
2014-01-03 19:35:41 -07:00
|
|
|
|
|
2014-05-31 07:30:59 -07:00
|
|
|
|
public string DeviceId { get; set; }
|
2014-04-26 20:42:05 -07:00
|
|
|
|
public string DeviceName { get; set; }
|
|
|
|
|
public string ClientName { get; set; }
|
|
|
|
|
|
2016-03-21 20:31:35 -07:00
|
|
|
|
public string PlaySessionId { get; set; }
|
|
|
|
|
|
2014-01-03 19:35:41 -07:00
|
|
|
|
public PlaybackProgressEventArgs()
|
|
|
|
|
{
|
|
|
|
|
Users = new List<User>();
|
|
|
|
|
}
|
2013-12-30 10:18:18 -07:00
|
|
|
|
}
|
2013-02-20 18:33:05 -07:00
|
|
|
|
}
|