mirror of
https://github.com/pkkid/python-plexapi
synced 2024-11-26 13:40:22 +00:00
add shortIdentifier attribute to Agent
This commit is contained in:
parent
3418acf317
commit
96cb0eb70a
1 changed files with 2 additions and 1 deletions
|
@ -675,3 +675,4 @@ class Agent(PlexObject):
|
||||||
self.hasPrefs = data.attrib.get('hasPrefs')
|
self.hasPrefs = data.attrib.get('hasPrefs')
|
||||||
self.identifier = data.attrib.get('identifier')
|
self.identifier = data.attrib.get('identifier')
|
||||||
self.primary = data.attrib.get('primary')
|
self.primary = data.attrib.get('primary')
|
||||||
|
self.shortIdentifier = self.identifier.rsplit('.', 1)[1]
|
Loading…
Reference in a new issue