You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
47 lines
1.1 KiB
47 lines
1.1 KiB
#pragma warning disable CS1591
|
|
|
|
using System;
|
|
using System.Collections.Generic;
|
|
using Jellyfin.Data.Entities;
|
|
using MediaBrowser.Controller.Entities;
|
|
using MediaBrowser.Controller.Session;
|
|
using MediaBrowser.Model.Dto;
|
|
|
|
namespace MediaBrowser.Controller.Library
|
|
{
|
|
/// <summary>
|
|
/// Holds information about a playback progress event.
|
|
/// </summary>
|
|
public class PlaybackProgressEventArgs : EventArgs
|
|
{
|
|
public PlaybackProgressEventArgs()
|
|
{
|
|
Users = new List<User>();
|
|
}
|
|
|
|
public List<User> Users { get; set; }
|
|
|
|
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; }
|
|
}
|
|
}
|