getLibraryMediaInfo method
Future<TautulliLibraryMediaInfo>
getLibraryMediaInfo({
- int? sectionId,
- int? ratingKey,
- TautulliSectionType? sectionType,
- TautulliOrderDirection? orderDirection,
- TautulliLibraryMediaInfoOrderColumn? orderColumn,
- int? start,
- int? length,
- String? search,
- bool? refresh,
Handler for get_library_media_info.
Get the data on the Tautulli media info tables.
Required Parameters:
sectionId
: The library section ID in Plex, ORratingKey
: A grandparent or parent rating key
Optional parameters:
sectionType
: The type of content to filter fororderColumn
: The column order key for sorting the media information recordsorderDirection
: The direction to sort the media information recordsstart
: Which row to start at (default: 0)length
: Number of records to return (default: 25)search
: A string to search forrefresh
: If true, refresh the media info table
Implementation
Future<TautulliLibraryMediaInfo> getLibraryMediaInfo({
int? sectionId,
int? ratingKey,
TautulliSectionType? sectionType,
TautulliOrderDirection? orderDirection,
TautulliLibraryMediaInfoOrderColumn? orderColumn,
int? start,
int? length,
String? search,
bool? refresh,
}) async => _commandGetLibraryMediaInfo(
_client,
sectionId: sectionId,
ratingKey: ratingKey,
sectionType: sectionType,
orderDirection: orderDirection,
orderColumn: orderColumn,
start: start,
length: length,
search: search,
refresh: refresh,
);