Fix jellyfin#16308: Community ratings not updating after changing .nfo file.

When "replace all metadata" was issued on a film, with the Web metadata
scrapers and "save to local metadata" disabled, after changing the
.nfo file, 'Community rating' was not updated in the server, remaining
the cached value.

Fixed by adding, in the .nfo parser, an option for
'communityrating' along with value conformity verifiers.

Validation tests were added.
This commit is contained in:
Francisco Ernesto Planas Pestana
2026-04-21 10:45:23 +01:00
parent e065015d6d
commit c483619928

View File

@@ -806,7 +806,7 @@ namespace MediaBrowser.Providers.Manager
refreshResult.UpdateType |= ItemUpdateType.ImageUpdate;
}
MergeData(localItem, temp, [], options.ReplaceAllMetadata, true);
MergeData(localItem, temp, [], false, true);
refreshResult.UpdateType |= ItemUpdateType.MetadataImport;
break;