Implemented info modal on History page.

Updated Datatables.
Updated to match current PlexWatchWeb styling.
Some code clean-up.
This commit is contained in:
Tim 2015-06-13 20:21:21 +02:00
parent 32c4379e7f
commit f0864d3531
78 changed files with 8661 additions and 58207 deletions

View file

@ -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