cms.actions + website.actions; Sounds section; player: bug fix (ask for restart on live stream), actions; remove website.Sound (not really used): move chmod/public into programs.Sound
This commit is contained in:
6
website/utils.py
Normal file
6
website/utils.py
Normal file
@@ -0,0 +1,6 @@
|
||||
|
||||
def duration_to_str(duration):
|
||||
return duration.strftime(
|
||||
'%H:%M:%S' if duration.hour else '%M:%S'
|
||||
)
|
||||
|
||||
Reference in New Issue
Block a user