mirror of
https://github.com/Tautulli/Tautulli.git
synced 2025-07-16 02:02:58 -07:00
Extract mapped IPv4 address from Plexivity import
This commit is contained in:
parent
bedcfa9520
commit
84090310f7
1 changed files with 1 additions and 1 deletions
|
@ -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')
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue