mirror of
https://github.com/jellyfin/jellyfin.git
synced 2024-09-05 21:37:10 -04:00
35 lines
1.0 KiB
C#
35 lines
1.0 KiB
C#
|
using MediaBrowser.Controller.Entities;
|
|||
|
using MediaBrowser.Model.Dto;
|
|||
|
using System;
|
|||
|
using System.Collections.Generic;
|
|||
|
using MediaBrowser.Controller.Session;
|
|||
|
|
|||
|
namespace MediaBrowser.Controller.Library
|
|||
|
{
|
|||
|
/// <summary>
|
|||
|
/// Holds information about a playback progress event
|
|||
|
/// </summary>
|
|||
|
public class PlaybackProgressEventArgs : EventArgs
|
|||
|
{
|
|||
|
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; }
|
|||
|
|
|||
|
public PlaybackProgressEventArgs()
|
|||
|
{
|
|||
|
Users = new List<User>();
|
|||
|
}
|
|||
|
}
|
|||
|
}
|