updateMetadataDetails method
Future<void>
updateMetadataDetails({
- required int oldRatingKey,
- required int newRatingKey,
- required TautulliMediaType mediaType,
Handler for update_metadata_details.
Update the metadata in the Tautulli database by matching rating keys. Also updates all parents or children of the media item if it is a show/season/episode or artist/album/track.
Required Parameters:
oldRatingKey
: Identifier key for the old rating keynewRatingKey
: Identifier key for the new rating keymediaType
: TautulliMediaType value for the media type
Implementation
Future<void> updateMetadataDetails({
required int oldRatingKey,
required int newRatingKey,
required TautulliMediaType mediaType,
}) async => _commandUpdateMetadataDetails(_client, oldRatingKey: oldRatingKey, newRatingKey: newRatingKey, mediaType: mediaType);