jellyfin/MediaBrowser.Controller/Library/PlaybackProgressEventArgs.cs

35 lines
1.1 KiB
C#
Raw Normal View History

using System;
2018-12-27 18:27:57 -05:00
using System.Collections.Generic;
using MediaBrowser.Controller.Entities;
2018-12-27 18:27:57 -05:00
using MediaBrowser.Controller.Session;
using MediaBrowser.Model.Dto;
2018-12-27 18:27:57 -05:00
namespace MediaBrowser.Controller.Library
{
/// <summary>
/// Holds information about a playback progress event
/// </summary>
public class PlaybackProgressEventArgs : EventArgs
{
2020-05-12 22:10:35 -04:00
public List<Jellyfin.Data.Entities.User> Users { get; set; }
2018-12-27 18:27:57 -05: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-12 22:10:35 -04:00
Users = new List<Jellyfin.Data.Entities.User>();
2018-12-27 18:27:57 -05:00
}
}
}