Replace devices in SystemDevice repr

This commit is contained in:
JonnyWong16 2021-01-02 18:04:46 -08:00
parent 57fe3bd12f
commit 59e79242a7
No known key found for this signature in database
GPG key ID: B1F1F9807184697A

View file

@ -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):