Skip to content

Commit 6f37554

Browse files
committed
add tag attribute to photo object.
1 parent 7b7fa7a commit 6f37554

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

plexapi/photo.py

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -117,6 +117,7 @@ def _loadData(self, data):
117117
self.updatedAt = utils.toDatetime(data.attrib.get('updatedAt'))
118118
self.year = utils.cast(int, data.attrib.get('year'))
119119
self.media = self.findItems(data, media.Media)
120+
self.tag = self.findItems(data, media.Tag)
120121

121122
def photoalbum(self):
122123
""" Return this photo's :class:`~plexapi.photo.Photoalbum`. """

0 commit comments

Comments
 (0)