mirror of
https://github.com/jellyfin/jellyfin.git
synced 2026-04-21 17:44:43 +01:00
update live tv startup
This commit is contained in:
@@ -598,20 +598,6 @@ namespace MediaBrowser.LocalMetadata.Parsers
|
||||
break;
|
||||
}
|
||||
|
||||
case "VoteCount":
|
||||
{
|
||||
var val = reader.ReadElementContentAsString();
|
||||
if (!string.IsNullOrWhiteSpace(val))
|
||||
{
|
||||
int num;
|
||||
|
||||
if (int.TryParse(val, NumberStyles.Integer, _usCulture, out num))
|
||||
{
|
||||
item.VoteCount = num;
|
||||
}
|
||||
}
|
||||
break;
|
||||
}
|
||||
case "CollectionNumber":
|
||||
var tmdbCollection = reader.ReadElementContentAsString();
|
||||
if (!string.IsNullOrWhiteSpace(tmdbCollection))
|
||||
|
||||
@@ -109,7 +109,6 @@ namespace MediaBrowser.LocalMetadata.Savers
|
||||
"TvDbId",
|
||||
"Type",
|
||||
"TVRageId",
|
||||
"VoteCount",
|
||||
"Website",
|
||||
"Zap2ItId",
|
||||
"CollectionItems",
|
||||
@@ -407,10 +406,6 @@ namespace MediaBrowser.LocalMetadata.Savers
|
||||
{
|
||||
writer.WriteElementString("Rating", item.CommunityRating.Value.ToString(UsCulture));
|
||||
}
|
||||
if (item.VoteCount.HasValue)
|
||||
{
|
||||
writer.WriteElementString("VoteCount", item.VoteCount.Value.ToString(UsCulture));
|
||||
}
|
||||
|
||||
if (item.ProductionYear.HasValue && !(item is Person))
|
||||
{
|
||||
|
||||
Reference in New Issue
Block a user