mirror of
https://github.com/jellyfin/jellyfin.git
synced 2026-04-20 09:04:42 +01:00
add more notifications
This commit is contained in:
@@ -1,5 +1,6 @@
|
||||
using MediaBrowser.Common;
|
||||
using MediaBrowser.Model.System;
|
||||
using System;
|
||||
|
||||
namespace MediaBrowser.Controller
|
||||
{
|
||||
@@ -8,6 +9,8 @@ namespace MediaBrowser.Controller
|
||||
/// </summary>
|
||||
public interface IServerApplicationHost : IApplicationHost
|
||||
{
|
||||
event EventHandler HasUpdateAvailableChanged;
|
||||
|
||||
/// <summary>
|
||||
/// Gets the system info.
|
||||
/// </summary>
|
||||
@@ -31,5 +34,11 @@ namespace MediaBrowser.Controller
|
||||
/// </summary>
|
||||
/// <value>The HTTP server port.</value>
|
||||
int HttpServerPort { get; }
|
||||
|
||||
/// <summary>
|
||||
/// Gets a value indicating whether this instance has update available.
|
||||
/// </summary>
|
||||
/// <value><c>true</c> if this instance has update available; otherwise, <c>false</c>.</value>
|
||||
bool HasUpdateAvailable { get; }
|
||||
}
|
||||
}
|
||||
|
||||
@@ -1,4 +1,5 @@
|
||||
using MediaBrowser.Controller.Entities;
|
||||
using MediaBrowser.Model.Entities;
|
||||
using System;
|
||||
using System.Collections.Generic;
|
||||
|
||||
@@ -12,6 +13,7 @@ namespace MediaBrowser.Controller.Library
|
||||
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 PlaybackProgressEventArgs()
|
||||
|
||||
Reference in New Issue
Block a user