mirror of
https://github.com/Tautulli/Tautulli.git
synced 2025-08-20 13:23:24 -07:00
Add user selection to history page
* Clean up buttons
This commit is contained in:
parent
c8b13ff5e1
commit
4d057a1c5e
12 changed files with 172 additions and 107 deletions
|
@ -959,20 +959,20 @@ class PmsConnect(object):
|
|||
if a.getElementsByTagName('Track'):
|
||||
session_data = a.getElementsByTagName('Track')
|
||||
session_type = 'track'
|
||||
for session in session_data:
|
||||
session_output = self.get_session_each(session_type, session)
|
||||
for session_ in session_data:
|
||||
session_output = self.get_session_each(session_type, session_)
|
||||
session_list.append(session_output)
|
||||
if a.getElementsByTagName('Video'):
|
||||
session_data = a.getElementsByTagName('Video')
|
||||
session_type = 'video'
|
||||
for session in session_data:
|
||||
session_output = self.get_session_each(session_type, session)
|
||||
for session_ in session_data:
|
||||
session_output = self.get_session_each(session_type, session_)
|
||||
session_list.append(session_output)
|
||||
if a.getElementsByTagName('Photo'):
|
||||
session_data = a.getElementsByTagName('Photo')
|
||||
session_type = 'photo'
|
||||
for session in session_data:
|
||||
session_output = self.get_session_each(session_type, session)
|
||||
for session_ in session_data:
|
||||
session_output = self.get_session_each(session_type, session_)
|
||||
session_list.append(session_output)
|
||||
|
||||
output = {'stream_count': helpers.get_xml_attr(xml_head[0], 'size'),
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue