mirror of
https://github.com/jellyfin/jellyfin.git
synced 2026-07-15 18:53:27 +01:00
add new search filters
This commit is contained in:
@@ -452,17 +452,6 @@ namespace MediaBrowser.XbmcMetadata.Parsers
|
||||
break;
|
||||
}
|
||||
|
||||
case "mpaadescription":
|
||||
{
|
||||
var rating = reader.ReadElementContentAsString();
|
||||
|
||||
if (!string.IsNullOrWhiteSpace(rating))
|
||||
{
|
||||
item.OfficialRatingDescription = rating;
|
||||
}
|
||||
break;
|
||||
}
|
||||
|
||||
case "customrating":
|
||||
{
|
||||
var val = reader.ReadElementContentAsString();
|
||||
|
||||
@@ -19,7 +19,6 @@ using System.Text;
|
||||
using System.Threading;
|
||||
using System.Xml;
|
||||
using MediaBrowser.Common.IO;
|
||||
using MediaBrowser.Controller.IO;
|
||||
using MediaBrowser.Model.Extensions;
|
||||
using MediaBrowser.Model.IO;
|
||||
using MediaBrowser.Model.Xml;
|
||||
@@ -42,7 +41,6 @@ namespace MediaBrowser.XbmcMetadata.Savers
|
||||
"year",
|
||||
"sorttitle",
|
||||
"mpaa",
|
||||
"mpaadescription",
|
||||
"aspectratio",
|
||||
"website",
|
||||
"collectionnumber",
|
||||
@@ -556,11 +554,6 @@ namespace MediaBrowser.XbmcMetadata.Savers
|
||||
writer.WriteElementString("mpaa", item.OfficialRating);
|
||||
}
|
||||
|
||||
if (!string.IsNullOrEmpty(item.OfficialRatingDescription))
|
||||
{
|
||||
writer.WriteElementString("mpaadescription", item.OfficialRatingDescription);
|
||||
}
|
||||
|
||||
var hasAspectRatio = item as IHasAspectRatio;
|
||||
if (hasAspectRatio != null)
|
||||
{
|
||||
|
||||
Reference in New Issue
Block a user