File tree Expand file tree Collapse file tree 1 file changed +2
-0
lines changed
Expand file tree Collapse file tree 1 file changed +2
-0
lines changed Original file line number Diff line number Diff line change @@ -180,6 +180,7 @@ class Photo(
180180 parentThumb (str): URL to photo album thumbnail image (/library/metadata/<parentRatingKey>/thumb/<thumbid>).
181181 parentTitle (str): Name of the photo album for the photo.
182182 ratingKey (int): Unique key identifying the photo.
183+ source (str): Remote server URL (server://<server_id>/com.plexapp.plugins.library) (remote playlist item only)
183184 summary (str): Summary of the photo.
184185 tags (List<:class:`~plexapi.media.Tag`>): List of tag objects.
185186 thumb (str): URL to thumbnail image (/library/metadata/<ratingKey>/thumb/<thumbid>).
@@ -218,6 +219,7 @@ def _loadData(self, data):
218219 self .parentThumb = data .attrib .get ('parentThumb' )
219220 self .parentTitle = data .attrib .get ('parentTitle' )
220221 self .ratingKey = utils .cast (int , data .attrib .get ('ratingKey' ))
222+ self .source = data .attrib .get ('source' ) # remote playlist item
221223 self .summary = data .attrib .get ('summary' )
222224 self .tags = self .findItems (data , media .Tag )
223225 self .thumb = data .attrib .get ('thumb' )
You can’t perform that action at this time.
0 commit comments