mirror of
https://github.com/pkkid/python-plexapi
synced 2024-11-22 11:43:13 +00:00
Replace devices in SystemDevice repr
This commit is contained in:
parent
57fe3bd12f
commit
59e79242a7
1 changed files with 1 additions and 0 deletions
|
@ -67,6 +67,7 @@ class PlexObject(object):
|
|||
value = str(value).replace('/library/metadata/', '')
|
||||
value = value.replace('/children', '')
|
||||
value = value.replace('/accounts/', '')
|
||||
value = value.replace('/devices/', '')
|
||||
return value.replace(' ', '-')[:20]
|
||||
|
||||
def _buildItem(self, elem, cls=None, initpath=None):
|
||||
|
|
Loading…
Reference in a new issue