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 16:27:57 -07:00
using System.Collections.Generic;
2020-05-20 10:07:53 -07:00
using Jellyfin.Data.Entities;
using MediaBrowser.Controller.Entities;
2018-12-27 16:27:57 -07:00
using MediaBrowser.Controller.Session;
using MediaBrowser.Model.Dto;
2018-12-27 16:27:57 -07:00
namespace MediaBrowser.Controller.Library
{
/// <summary>
/// Holds information about a playback progress event.
2018-12-27 16:27:57 -07:00
/// </summary>
public class PlaybackProgressEventArgs : EventArgs
{
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; }
}
}