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