get_library_media_info: Get A Library's Media Info

View source: R/get_library.R

get_library_media_infoR Documentation

Get A Library's Media Info

Description

Get A Library's Media Info

Usage

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
)

Arguments

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

Value

A list with a totals list and an items tbl

Source

https://github.com/Tautulli/Tautulli/blob/master/API.md#get_library_media_info

Examples

## Not run: 
get_library_media_info(section_id = 2)

## End(Not run)

jemus42/tauturri documentation built on Feb. 7, 2024, 2 a.m.