mirror of
https://github.com/jellyfin/jellyfin.git
synced 2026-05-31 21:08:27 +01:00
update environment detection
This commit is contained in:
@@ -358,18 +358,6 @@ namespace MediaBrowser.XbmcMetadata.Parsers
|
||||
break;
|
||||
}
|
||||
|
||||
case "criticratingsummary":
|
||||
{
|
||||
var val = reader.ReadElementContentAsString();
|
||||
|
||||
if (!string.IsNullOrWhiteSpace(val))
|
||||
{
|
||||
item.CriticRatingSummary = val;
|
||||
}
|
||||
|
||||
break;
|
||||
}
|
||||
|
||||
case "language":
|
||||
{
|
||||
var val = reader.ReadElementContentAsString();
|
||||
|
||||
@@ -56,7 +56,6 @@ namespace MediaBrowser.XbmcMetadata.Savers
|
||||
"tag",
|
||||
"runtime",
|
||||
"actor",
|
||||
"criticratingsummary",
|
||||
"criticrating",
|
||||
"fileinfo",
|
||||
"director",
|
||||
@@ -662,11 +661,6 @@ namespace MediaBrowser.XbmcMetadata.Savers
|
||||
writer.WriteElementString("criticrating", item.CriticRating.Value.ToString(UsCulture));
|
||||
}
|
||||
|
||||
if (!string.IsNullOrEmpty(item.CriticRatingSummary))
|
||||
{
|
||||
writer.WriteElementString("criticratingsummary", item.CriticRatingSummary);
|
||||
}
|
||||
|
||||
var hasDisplayOrder = item as IHasDisplayOrder;
|
||||
|
||||
if (hasDisplayOrder != null)
|
||||
|
||||
Reference in New Issue
Block a user