halloween.py incl. videos

This commit is contained in:
2023-10-30 13:12:47 +01:00
parent 735bc1e8e0
commit 9a7c57b63a
10 changed files with 1 additions and 5 deletions
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
+1 -5
View File
@@ -61,11 +61,7 @@ class MyServer(BaseHTTPRequestHandler):
print('START ' + link + '\n')
self.wfile.write(bytes("START " + videos[rnd_no], "utf-8"))
# os.system(cmd)
# subprocess.check_call(cmd, shell=True)
# cmd = "vlc --qt-fullscreen-screennumber=1 -f %s"%(link)
cmd = "mplayer %s"%(link)
# cmd = "mplayer -xineramascreen 2 -fs %s"%(link)
cmd = "mplayer -xineramascreen 2 -fs %s"%(link)
self.player.vid_process = subprocess.Popen(["mplayer",link], stdout=subprocess.PIPE)
else:
print('RUNNING\n')