add more notifications

This commit is contained in:
Luke Pulverenti
2014-04-25 22:55:07 -04:00
parent 28f5a9ac75
commit c40d3f3494
31 changed files with 794 additions and 214 deletions

View File

@@ -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; }
}
}

View File

@@ -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()