getOldRatingKeys method

Future<Map<String, dynamic>?> getOldRatingKeys({
  1. required int ratingKey,
  2. required TautulliMediaType mediaType,
})

Handler for get_old_rating_keys.

Get a list of new rating keys for the Plex Media Server of all of the item's parent/children.

Required Parameters:

  • ratingKey: Rating key for the content
  • mediaType: The type of media

Because of the unpredictable structure of the returned data, the returned data remains in its original JSON/Map format.

Implementation

Future<Map<String, dynamic>?> getOldRatingKeys({
    required int ratingKey,
    required TautulliMediaType mediaType,
}) async => _commandGetOldRatingKeys(_client, ratingKey: ratingKey, mediaType: mediaType);