diff options
| author | Luke Pulverenti <luke.pulverenti@gmail.com> | 2013-10-04 13:04:18 -0400 |
|---|---|---|
| committer | Luke Pulverenti <luke.pulverenti@gmail.com> | 2013-10-04 13:04:18 -0400 |
| commit | fe2eb6cb01564662df01aef87afe2bff51971c1b (patch) | |
| tree | 60fa3d02315405f75e2ef14c53d4e37aeead0c38 /MediaBrowser.Controller/Library/IIntroProvider.cs | |
| parent | cbbb98416084f80ae4e311b69a63f59139584688 (diff) | |
fixes #573 - Support media info for intros
Diffstat (limited to 'MediaBrowser.Controller/Library/IIntroProvider.cs')
| -rw-r--r-- | MediaBrowser.Controller/Library/IIntroProvider.cs | 22 |
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; } } } |
