diff options
| author | Luke Pulverenti <luke.pulverenti@gmail.com> | 2013-07-16 13:18:32 -0400 |
|---|---|---|
| committer | Luke Pulverenti <luke.pulverenti@gmail.com> | 2013-07-16 13:18:32 -0400 |
| commit | 44493dca1d597f3cf9f8cf5db8d0ddda082c65e0 (patch) | |
| tree | 66c4da8cccb3831f876977b100b8b394b35b458e /MediaBrowser.Controller/Entities/Folder.cs | |
| parent | c1ad234b7993e294a8342242bc0ce4a649ca5479 (diff) | |
add tvdb and games db to xml savers
Diffstat (limited to 'MediaBrowser.Controller/Entities/Folder.cs')
| -rw-r--r-- | MediaBrowser.Controller/Entities/Folder.cs | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/MediaBrowser.Controller/Entities/Folder.cs b/MediaBrowser.Controller/Entities/Folder.cs index e46ec8d3b..d1f2f87ed 100644 --- a/MediaBrowser.Controller/Entities/Folder.cs +++ b/MediaBrowser.Controller/Entities/Folder.cs @@ -1,5 +1,6 @@ using MediaBrowser.Common.Extensions; using MediaBrowser.Common.Progress; +using MediaBrowser.Controller.Entities.TV; using MediaBrowser.Controller.IO; using MediaBrowser.Controller.Library; using MediaBrowser.Controller.Localization; @@ -139,6 +140,11 @@ namespace MediaBrowser.Controller.Entities { get { + if (this is Series) + { + return base.OfficialRating; + } + return !string.IsNullOrEmpty(base.OfficialRating) ? base.OfficialRating : "None"; } set |
