jellyfin-server/MediaBrowser.Controller/Library/PlaybackProgressEventArgs.cs

36 lines
1.0 KiB
C#
Raw Normal View History

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
/// </summary>
public class PlaybackProgressEventArgs : EventArgs
{
2020-05-20 17:07:53 +00:00
public List<User> Users { get; set; }
2018-12-27 23:27:57 +00:00
public long? PlaybackPositionTicks { get; set; }
public BaseItem Item { get; set; }
public BaseItemDto MediaInfo { get; set; }
public string MediaSourceId { get; set; }
public bool IsPaused { get; set; }
public bool IsAutomated { get; set; }
public string DeviceId { get; set; }
public string DeviceName { get; set; }
public string ClientName { get; set; }
public string PlaySessionId { get; set; }
public SessionInfo Session { get; set; }
public PlaybackProgressEventArgs()
{
2020-05-20 17:07:53 +00:00
Users = new List<User>();
2018-12-27 23:27:57 +00:00
}
}
}