Get A Library's Media Info
get_library_media_info(url = NULL, apikey = NULL, section_id = NULL, rating_key = NULL, section_type = "movie", order_column = "added_at", order_dir = "desc", start = 0, length = 25, search = NULL)
url | Server URL. |
---|---|
apikey | API key. |
section_id | The id of the Plex library section, OR |
rating_key | The grandparent or parent rating key |
section_type | Optional, "movie" (default), "show", "artist", "photo" |
order_column | Optional, "added_at", "title", "container", "bitrate", "video_codec", "video_resolution", "video_framerate", "audio_codec", "audio_channels", "file_size", "last_played", "play_count" |
order_dir | "desc" (default) or "asc" |
start | Row to start from, default 0 |
length | Number of items to return, default 25 |
search | A string to search for |
https://github.com/Tautulli/Tautulli/blob/master/API.md#get_library_media_info
A list
with a totals
list and an items
tbl
# NOT RUN { get_library_media_info(section_id = 2) # }