Add metadata parameters to notification string options.

Add SxE to notification title if type is episode.
This commit is contained in:
Tim 2015-07-27 22:29:34 +02:00
parent abc90e1252
commit 824d4dfea2
6 changed files with 82 additions and 54 deletions

View file

@ -99,7 +99,7 @@ def latinToAscii(unicrap):
pass
else:
r += str(i)
return r.encode('utf-8')
return r
def convert_milliseconds(ms):
@ -115,7 +115,7 @@ def convert_milliseconds(ms):
def convert_milliseconds_to_minutes(ms):
if ms.isdigit():
if str(ms).isdigit():
seconds = float(ms) / 1000
minutes = round(seconds / 60, 0)