diff --git a/plexpy/plexivity_import.py b/plexpy/plexivity_import.py index 879736e3..1b2af51c 100644 --- a/plexpy/plexivity_import.py +++ b/plexpy/plexivity_import.py @@ -108,7 +108,7 @@ def extract_plexivity_xml(xml=None): if a.getElementsByTagName('Player'): player_elem = a.getElementsByTagName('Player') for d in player_elem: - ip_address = helpers.get_xml_attr(d, 'address') + ip_address = helpers.get_xml_attr(d, 'address').split('::ffff:')[-1] machine_id = helpers.get_xml_attr(d, 'machineIdentifier') platform = helpers.get_xml_attr(d, 'platform') player = helpers.get_xml_attr(d, 'title')