Skip to content

Commit 96cb0eb

Browse files
committed
add shortIdentifier attribute to Agent
1 parent 3418acf commit 96cb0eb

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

plexapi/media.py

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -674,4 +674,5 @@ def _loadData(self, data):
674674
self.hasAttribution = data.attrib.get('hasAttribution')
675675
self.hasPrefs = data.attrib.get('hasPrefs')
676676
self.identifier = data.attrib.get('identifier')
677-
self.primary = data.attrib.get('primary')
677+
self.primary = data.attrib.get('primary')
678+
self.shortIdentifier = self.identifier.rsplit('.', 1)[1]

0 commit comments

Comments
 (0)