jellyfin/MediaBrowser.Controller/Library/PlaybackProgressEventArgs.cs

49 lines
1.1 KiB
C#
Raw Normal View History

#nullable disable
#pragma warning disable CA1002, CA2227, CS1591
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;
using MediaBrowser.Controller.Entities;
2018-12-27 23:27:57 +00:00
using MediaBrowser.Controller.Session;
using MediaBrowser.Model.Dto;
2018-12-27 23:27:57 +00:00
namespace MediaBrowser.Controller.Library
{
/// <summary>
/// Holds information about a playback progress event.
2018-12-27 23:27:57 +00:00
/// </summary>
public class PlaybackProgressEventArgs : EventArgs
{
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; }
}
}