aboutsummaryrefslogtreecommitdiff
path: root/MediaBrowser.Controller/Library/IIntroProvider.cs
diff options
context:
space:
mode:
authorLuke Pulverenti <luke.pulverenti@gmail.com>2013-10-04 13:04:18 -0400
committerLuke Pulverenti <luke.pulverenti@gmail.com>2013-10-04 13:04:18 -0400
commitfe2eb6cb01564662df01aef87afe2bff51971c1b (patch)
tree60fa3d02315405f75e2ef14c53d4e37aeead0c38 /MediaBrowser.Controller/Library/IIntroProvider.cs
parentcbbb98416084f80ae4e311b69a63f59139584688 (diff)
fixes #573 - Support media info for intros
Diffstat (limited to 'MediaBrowser.Controller/Library/IIntroProvider.cs')
-rw-r--r--MediaBrowser.Controller/Library/IIntroProvider.cs22
1 files changed, 19 insertions, 3 deletions
diff --git a/MediaBrowser.Controller/Library/IIntroProvider.cs b/MediaBrowser.Controller/Library/IIntroProvider.cs
index 990fa933c..224ca2271 100644
--- a/MediaBrowser.Controller/Library/IIntroProvider.cs
+++ b/MediaBrowser.Controller/Library/IIntroProvider.cs
@@ -1,4 +1,5 @@
using MediaBrowser.Controller.Entities;
+using System;
using System.Collections.Generic;
namespace MediaBrowser.Controller.Library
@@ -14,12 +15,27 @@ namespace MediaBrowser.Controller.Library
/// <param name="item">The item.</param>
/// <param name="user">The user.</param>
/// <returns>IEnumerable{System.String}.</returns>
- IEnumerable<string> GetIntros(BaseItem item, User user);
+ IEnumerable<IntroInfo> GetIntros(BaseItem item, User user);
/// <summary>
- /// Gets all intros.
+ /// Gets all intro files.
/// </summary>
/// <returns>IEnumerable{System.String}.</returns>
- IEnumerable<string> GetAllIntros();
+ IEnumerable<string> GetAllIntroFiles();
+ }
+
+ public class IntroInfo
+ {
+ /// <summary>
+ /// Gets or sets the path.
+ /// </summary>
+ /// <value>The path.</value>
+ public string Path { get; set; }
+
+ /// <summary>
+ /// Gets or sets the item id.
+ /// </summary>
+ /// <value>The item id.</value>
+ public Guid? ItemId { get; set; }
}
}