mirror of
https://github.com/jellyfin/jellyfin.git
synced 2026-06-04 23:08:42 +01:00
add tvdb and games db to xml savers
This commit is contained in:
@@ -992,8 +992,13 @@ namespace MediaBrowser.Controller.Entities
|
||||
return true;
|
||||
}
|
||||
|
||||
var rating = CustomRating ?? OfficialRating;
|
||||
var rating = CustomRating;
|
||||
|
||||
if (string.IsNullOrEmpty(rating))
|
||||
{
|
||||
rating = OfficialRating;
|
||||
}
|
||||
|
||||
if (string.IsNullOrEmpty(rating))
|
||||
{
|
||||
return !user.Configuration.BlockNotRated;
|
||||
|
||||
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user