editLibrary method

Future<void> editLibrary({
  1. required int sectionId,
  2. String? customThumb,
  3. String? customArt,
  4. bool? keepHistory,
})

Handler for edit_library.

Update a library section on Tautulli.

Required Parameters:

  • sectionId: The ID of the Plex library section

Optional Parameters:

  • customThumb: URL to a custom thumbnail art
  • customArt: URL to a custom background art
  • keepHistory: Should history be tracked for this library section?

Implementation

Future<void> editLibrary({
    required int sectionId,
    String? customThumb,
    String? customArt,
    bool? keepHistory,
}) async => _commandEditLibrary(_client, sectionId: sectionId, customThumb: customThumb, customArt: customArt, keepHistory: keepHistory);