diff options
| author | Luke Pulverenti <luke.pulverenti@gmail.com> | 2014-02-06 22:10:13 -0500 |
|---|---|---|
| committer | Luke Pulverenti <luke.pulverenti@gmail.com> | 2014-02-06 22:10:13 -0500 |
| commit | b1713a16cdac471f7921b0fa5706ace6a368e140 (patch) | |
| tree | f0bbaebcb72fa984ec502e0c5b10ee75f2447612 /MediaBrowser.Controller/Entities/Book.cs | |
| parent | 57c92fa948bdcefa6b224094ca21f04a8cde6737 (diff) | |
switch to generic lookup type
Diffstat (limited to 'MediaBrowser.Controller/Entities/Book.cs')
| -rw-r--r-- | MediaBrowser.Controller/Entities/Book.cs | 10 |
1 files changed, 8 insertions, 2 deletions
diff --git a/MediaBrowser.Controller/Entities/Book.cs b/MediaBrowser.Controller/Entities/Book.cs index 28ccf687c6..211067f9d2 100644 --- a/MediaBrowser.Controller/Entities/Book.cs +++ b/MediaBrowser.Controller/Entities/Book.cs @@ -1,9 +1,10 @@ -using MediaBrowser.Model.Configuration; +using MediaBrowser.Controller.Providers; +using MediaBrowser.Model.Configuration; using System.Collections.Generic; namespace MediaBrowser.Controller.Entities { - public class Book : BaseItem, IHasTags, IHasPreferredMetadataLanguage + public class Book : BaseItem, IHasTags, IHasPreferredMetadataLanguage, IHasLookupInfo<BookInfo> { public override string MediaType { @@ -38,5 +39,10 @@ namespace MediaBrowser.Controller.Entities { return config.BlockUnratedBooks; } + + public BookInfo GetLookupInfo() + { + return GetItemLookupInfo<BookInfo>(); + } } } |
