mirror of
https://github.com/Tautulli/Tautulli.git
synced 2025-07-08 06:00:51 -07:00
Stage three of notification rewrite. Page cache refresh required.
Watched notifications added with configurable cutoff percent. Styling fixes. Add information back to settings page for required restart on web interface changes. Use user_id on user link in activity pane. Added channels option to Pushbullet. Possible fix for text encoding issues in Plexwatch importer. Thread the notifications. Move most of the notification logic to the notification handler.
This commit is contained in:
parent
8a16fcfbb6
commit
b394ebc1a3
10 changed files with 194 additions and 65 deletions
|
@ -99,7 +99,7 @@ def latinToAscii(unicrap):
|
|||
pass
|
||||
else:
|
||||
r += str(i)
|
||||
return r
|
||||
return r.encode('utf-8')
|
||||
|
||||
|
||||
def convert_milliseconds(ms):
|
||||
|
@ -352,7 +352,7 @@ def convert_xml_to_dict(xml):
|
|||
|
||||
def get_percent(value1, value2):
|
||||
|
||||
if value1.isdigit() and value2.isdigit():
|
||||
if str(value1).isdigit() and str(value2).isdigit():
|
||||
value1 = cast_to_float(value1)
|
||||
value2 = cast_to_float(value2)
|
||||
else:
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue