From 1afb28b48797ee53442823cfd395e07d219e8ec3 Mon Sep 17 00:00:00 2001 From: Luke Pulverenti Date: Mon, 22 Sep 2014 17:56:54 -0400 Subject: add cinema mode feature --- MediaBrowser.Controller/Library/IIntroProvider.cs | 9 ++++++++- MediaBrowser.Controller/Library/ILibraryManager.cs | 2 +- 2 files changed, 9 insertions(+), 2 deletions(-) (limited to 'MediaBrowser.Controller/Library') diff --git a/MediaBrowser.Controller/Library/IIntroProvider.cs b/MediaBrowser.Controller/Library/IIntroProvider.cs index a83d3c5eb..611aab387 100644 --- a/MediaBrowser.Controller/Library/IIntroProvider.cs +++ b/MediaBrowser.Controller/Library/IIntroProvider.cs @@ -1,5 +1,6 @@ using MediaBrowser.Controller.Entities; using System.Collections.Generic; +using System.Threading.Tasks; namespace MediaBrowser.Controller.Library { @@ -14,12 +15,18 @@ namespace MediaBrowser.Controller.Library /// The item. /// The user. /// IEnumerable{System.String}. - IEnumerable GetIntros(BaseItem item, User user); + Task> GetIntros(BaseItem item, User user); /// /// Gets all intro files. /// /// IEnumerable{System.String}. IEnumerable GetAllIntroFiles(); + + /// + /// Gets the name. + /// + /// The name. + string Name { get; } } } diff --git a/MediaBrowser.Controller/Library/ILibraryManager.cs b/MediaBrowser.Controller/Library/ILibraryManager.cs index 8aaa08fdd..951513962 100644 --- a/MediaBrowser.Controller/Library/ILibraryManager.cs +++ b/MediaBrowser.Controller/Library/ILibraryManager.cs @@ -157,7 +157,7 @@ namespace MediaBrowser.Controller.Library /// The item. /// The user. /// IEnumerable{System.String}. - IEnumerable