Add missing parameter to set background for videos

This commit is contained in:
Martin Müller 2018-06-15 23:24:54 +02:00
parent 1c24c0dc1a
commit e85c755dab

View File

@ -79,7 +79,7 @@ def index(sound=None, text=None, video=None):
else:
urls = subprocess.check_output(["youtube-dl", "-g", "-f", "mp4", video]).decode().split("\n")
for url in urls:
player.OMXPlayer(url)
player.OMXPlayer(url, args=["-b"])
killvideo = request.args.get("killvideo")