halloween.py incl. videos
This commit is contained in:
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.
@@ -61,11 +61,7 @@ class MyServer(BaseHTTPRequestHandler):
|
|||||||
print('START ' + link + '\n')
|
print('START ' + link + '\n')
|
||||||
self.wfile.write(bytes("START " + videos[rnd_no], "utf-8"))
|
self.wfile.write(bytes("START " + videos[rnd_no], "utf-8"))
|
||||||
|
|
||||||
# os.system(cmd)
|
cmd = "mplayer -xineramascreen 2 -fs %s"%(link)
|
||||||
# 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)
|
|
||||||
self.player.vid_process = subprocess.Popen(["mplayer",link], stdout=subprocess.PIPE)
|
self.player.vid_process = subprocess.Popen(["mplayer",link], stdout=subprocess.PIPE)
|
||||||
else:
|
else:
|
||||||
print('RUNNING\n')
|
print('RUNNING\n')
|
||||||
Reference in New Issue
Block a user