aboutsummaryrefslogtreecommitdiff
path: root/MediaBrowser.Controller/Library/PlaybackProgressEventArgs.cs
blob: 50528c6aec56c54c5d5c13b9c9b2b1da7d237574 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
using MediaBrowser.Controller.Entities;
using MediaBrowser.Model.Entities;
using System;
using System.Collections.Generic;

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 BaseItemInfo MediaInfo { get; set; }
        public string MediaSourceId { get; set; }

        public string DeviceId { get; set; }
        public string DeviceName { get; set; }
        public string ClientName { get; set; }

        public PlaybackProgressEventArgs()
        {
            Users = new List<User>();
        }
    }
}