| | | 1 | | #nullable disable |
| | | 2 | | |
| | | 3 | | #pragma warning disable CA1002, CA2227, CS1591 |
| | | 4 | | |
| | | 5 | | using System; |
| | | 6 | | using System.Collections.Generic; |
| | | 7 | | using Jellyfin.Database.Implementations.Entities; |
| | | 8 | | using MediaBrowser.Controller.Entities; |
| | | 9 | | using MediaBrowser.Controller.Session; |
| | | 10 | | using MediaBrowser.Model.Dto; |
| | | 11 | | |
| | | 12 | | namespace MediaBrowser.Controller.Library |
| | | 13 | | { |
| | | 14 | | /// <summary> |
| | | 15 | | /// Holds information about a playback progress event. |
| | | 16 | | /// </summary> |
| | | 17 | | public class PlaybackProgressEventArgs : EventArgs |
| | | 18 | | { |
| | 0 | 19 | | public PlaybackProgressEventArgs() |
| | | 20 | | { |
| | 0 | 21 | | Users = new List<User>(); |
| | 0 | 22 | | } |
| | | 23 | | |
| | | 24 | | public List<User> Users { get; set; } |
| | | 25 | | |
| | | 26 | | public long? PlaybackPositionTicks { get; set; } |
| | | 27 | | |
| | | 28 | | public BaseItem Item { get; set; } |
| | | 29 | | |
| | | 30 | | public BaseItemDto MediaInfo { get; set; } |
| | | 31 | | |
| | | 32 | | public string MediaSourceId { get; set; } |
| | | 33 | | |
| | | 34 | | public bool IsPaused { get; set; } |
| | | 35 | | |
| | | 36 | | public bool IsAutomated { get; set; } |
| | | 37 | | |
| | | 38 | | public string DeviceId { get; set; } |
| | | 39 | | |
| | | 40 | | public string DeviceName { get; set; } |
| | | 41 | | |
| | | 42 | | public string ClientName { get; set; } |
| | | 43 | | |
| | | 44 | | public string PlaySessionId { get; set; } |
| | | 45 | | |
| | | 46 | | public SessionInfo Session { get; set; } |
| | | 47 | | } |
| | | 48 | | } |