forked from server/soundboard
Add missing parameter to set background for videos
This commit is contained in:
parent
1c24c0dc1a
commit
e85c755dab
@ -79,7 +79,7 @@ def index(sound=None, text=None, video=None):
|
|||||||
else:
|
else:
|
||||||
urls = subprocess.check_output(["youtube-dl", "-g", "-f", "mp4", video]).decode().split("\n")
|
urls = subprocess.check_output(["youtube-dl", "-g", "-f", "mp4", video]).decode().split("\n")
|
||||||
for url in urls:
|
for url in urls:
|
||||||
player.OMXPlayer(url)
|
player.OMXPlayer(url, args=["-b"])
|
||||||
|
|
||||||
killvideo = request.args.get("killvideo")
|
killvideo = request.args.get("killvideo")
|
||||||
|
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user