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:
bkfox
2016-07-08 01:17:02 +02:00
parent e971f3f0b5
commit 88a5a9556e
19 changed files with 456 additions and 173 deletions

6
website/utils.py Normal file
View File

@@ -0,0 +1,6 @@
def duration_to_str(duration):
return duration.strftime(
'%H:%M:%S' if duration.hour else '%M:%S'
)