From 78656ab2a4f9fe5e5474400dbf0c63e1401336d1 Mon Sep 17 00:00:00 2001 From: blacktwin Date: Sat, 6 Jun 2020 14:01:16 -0400 Subject: [PATCH] update to library.Collection docstring --- plexapi/library.py | 14 +++++++++++--- 1 file changed, 11 insertions(+), 3 deletions(-) diff --git a/plexapi/library.py b/plexapi/library.py index 1afd72a0..862ae4de 100644 --- a/plexapi/library.py +++ b/plexapi/library.py @@ -1096,16 +1096,24 @@ class Collections(PlexObject): childCount (int): Count of child object(s) collectionMode (str): How the items in the collection are displayed. collectionSort (str): How to sort the items in the collection. + contentRating (str) Content rating (PG-13; NR; TV-G). fields (list): List of :class:`~plexapi.media.Field`. - key (str): API URL (/library/metadata/). + guid (str): Plex GUID (collection://XXXXXXXXX-XXXX-XXXX-XXXX-XXXXXXXXX). index (int): Unknown + key (str): API URL (/library/metadata/). + labels (List<:class:`~plexapi.media.Label`>): List of field objects. + librarySectionID (int): :class:`~plexapi.library.LibrarySection` ID. + librarySectionKey (str): API URL (/library/sections/). + librarySectionTitle (str): Section Title maxYear (int): Year - minYear (int): YEar + minYear (int): Year subtype (str): Media type summary (str): Summary of the collection thumb (str): URL to thumbnail image. - title (str): Artist, Album or Track title. (Jason Mraz, We Sing, Lucky, etc.) + title (str): Collection Title + titleSort (str): Title to use when sorting (defaults to title). type (str): Hardcoded 'collection' + updatedAt (datatime): Datetime this item was updated. """