powered by
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)
Server URL.
API key.
The id of the Plex library section, OR
The grandparent or parent rating key
Optional, "movie" (default), "show", "artist", "photo"
Optional, "added_at", "title", "container", "bitrate", "video_codec", "video_resolution", "video_framerate", "audio_codec", "audio_channels", "file_size", "last_played", "play_count"
"desc" (default) or "asc"
Row to start from, default 0
Number of items to return, default 25
A string to search for
A list with a totals list and an items tbl
list
totals
items
tbl
# NOT RUN { get_library_media_info(section_id = 2) # }
Run the code above in your browser using DataLab