mirror of
https://github.com/Tautulli/Tautulli.git
synced 2025-07-08 06:00:51 -07:00
Implemented info modal on History page.
Updated Datatables. Updated to match current PlexWatchWeb styling. Some code clean-up.
This commit is contained in:
parent
32c4379e7f
commit
f0864d3531
78 changed files with 8661 additions and 58207 deletions
|
@ -24,6 +24,8 @@ import time
|
|||
import sys
|
||||
import re
|
||||
import os
|
||||
import json
|
||||
import xmltodict
|
||||
|
||||
|
||||
def multikeysort(items, columns):
|
||||
|
@ -324,4 +326,14 @@ def cast_to_float(s):
|
|||
try:
|
||||
return float(s)
|
||||
except ValueError:
|
||||
return -1
|
||||
return -1
|
||||
|
||||
|
||||
def convert_xml_to_json(xml):
|
||||
o = xmltodict.parse(xml)
|
||||
return json.dumps(o)
|
||||
|
||||
|
||||
def convert_xml_to_dict(xml):
|
||||
o = xmltodict.parse(xml)
|
||||
return o
|
Loading…
Add table
Add a link
Reference in a new issue