mirror of
https://github.com/Tautulli/Tautulli.git
synced 2025-08-19 04:49:36 -07:00
Add default values for session bandwidth and location
This commit is contained in:
parent
9364e5ab91
commit
6dd7e8445a
1 changed files with 4 additions and 1 deletions
|
@ -1297,7 +1297,10 @@ class PmsConnect(object):
|
||||||
'location': helpers.get_xml_attr(session_info, 'location')
|
'location': helpers.get_xml_attr(session_info, 'location')
|
||||||
}
|
}
|
||||||
else:
|
else:
|
||||||
session_details = {'session_id': ''}
|
session_details = {'session_id': '',
|
||||||
|
'bandwidth': '',
|
||||||
|
'location': 'Unknown'
|
||||||
|
}
|
||||||
|
|
||||||
# Get the transcode details
|
# Get the transcode details
|
||||||
if session.getElementsByTagName('TranscodeSession'):
|
if session.getElementsByTagName('TranscodeSession'):
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue