2021-05-06 22:39:20 +00:00
|
|
|
#nullable disable
|
|
|
|
|
2021-07-24 17:58:50 +00:00
|
|
|
#pragma warning disable CA1002, CA2227, CS1591
|
2020-08-22 19:56:24 +00:00
|
|
|
|
2019-01-13 20:01:16 +00:00
|
|
|
using System;
|
2018-12-27 23:27:57 +00:00
|
|
|
using System.Collections.Generic;
|
2020-05-20 17:07:53 +00:00
|
|
|
using Jellyfin.Data.Entities;
|
2019-01-13 19:25:32 +00:00
|
|
|
using MediaBrowser.Controller.Entities;
|
2018-12-27 23:27:57 +00:00
|
|
|
using MediaBrowser.Controller.Session;
|
2019-01-13 19:25:32 +00:00
|
|
|
using MediaBrowser.Model.Dto;
|
2018-12-27 23:27:57 +00:00
|
|
|
|
|
|
|
namespace MediaBrowser.Controller.Library
|
|
|
|
{
|
|
|
|
/// <summary>
|
2020-06-15 22:37:52 +00:00
|
|
|
/// Holds information about a playback progress event.
|
2018-12-27 23:27:57 +00:00
|
|
|
/// </summary>
|
|
|
|
public class PlaybackProgressEventArgs : EventArgs
|
|
|
|
{
|
2020-08-22 19:56:24 +00:00
|
|
|
public PlaybackProgressEventArgs()
|
|
|
|
{
|
|
|
|
Users = new List<User>();
|
|
|
|
}
|
|
|
|
|
2020-05-20 17:07:53 +00:00
|
|
|
public List<User> Users { get; set; }
|
2020-06-15 21:43:52 +00:00
|
|
|
|
2018-12-27 23:27:57 +00:00
|
|
|
public long? PlaybackPositionTicks { get; set; }
|
2020-06-15 21:43:52 +00:00
|
|
|
|
2018-12-27 23:27:57 +00:00
|
|
|
public BaseItem Item { get; set; }
|
2020-06-15 21:43:52 +00:00
|
|
|
|
2018-12-27 23:27:57 +00:00
|
|
|
public BaseItemDto MediaInfo { get; set; }
|
2020-06-15 21:43:52 +00:00
|
|
|
|
2018-12-27 23:27:57 +00:00
|
|
|
public string MediaSourceId { get; set; }
|
2020-06-15 21:43:52 +00:00
|
|
|
|
2018-12-27 23:27:57 +00:00
|
|
|
public bool IsPaused { get; set; }
|
2020-06-15 21:43:52 +00:00
|
|
|
|
2018-12-27 23:27:57 +00:00
|
|
|
public bool IsAutomated { get; set; }
|
|
|
|
|
|
|
|
public string DeviceId { get; set; }
|
2020-06-15 21:43:52 +00:00
|
|
|
|
2018-12-27 23:27:57 +00:00
|
|
|
public string DeviceName { get; set; }
|
2020-06-15 21:43:52 +00:00
|
|
|
|
2018-12-27 23:27:57 +00:00
|
|
|
public string ClientName { get; set; }
|
|
|
|
|
|
|
|
public string PlaySessionId { get; set; }
|
2020-06-15 21:43:52 +00:00
|
|
|
|
2018-12-27 23:27:57 +00:00
|
|
|
public SessionInfo Session { get; set; }
|
|
|
|
}
|
|
|
|
}
|