youtube module time format tweak
This commit is contained in:
parent
956e4290cd
commit
d39b1fddbc
|
@ -30,6 +30,7 @@ class YouTube:
|
|||
m = round((m / 60 - h) * 60)
|
||||
return f"{h}h {m}m {s}s"
|
||||
elif h==0 and m==0 and s==0: return "LIVE"
|
||||
elif m==0 and s!=0: return f"{s}s"
|
||||
else:
|
||||
return f"{m}m {s}s"
|
||||
|
||||
|
|
Loading…
Reference in New Issue