Commit c4aa1c59 authored by Michael Murtaugh's avatar Michael Murtaugh

shell

parent 243f05b7
......@@ -15,7 +15,8 @@ socket.on("collage", function (d) {
player.kill();
player = null;
}
player = spawn('cvlc', ['--no-video-title-show', '--loop', 'collage/creatingcollage.mp4']);
// player = spawn('cvlc', ['--no-video-title-show', '--loop', 'collage/creatingcollage.mp4']);
player = spawn('scripts/play', ['collage/creatingcollage.mp4']);
console.log("Creating collage...");
});
socket.on("collagegif", function (d) {
......@@ -24,5 +25,5 @@ socket.on("collagegif", function (d) {
player.kill();
player = null;
}
player = spawn('cvlc', ['--no-video-title-show', '--loop', serverbase+"/"+d.src]);
player = spawn('scripts/playurl', [serverbase+"/"+d.src]);
});
#!/bin/bash
# cvlc --loop $1
killall omxplayer
omxplayer --loop $1
#!/bin/bash
wget $1 -o tmp.webm
omxplayer --loop tmp.webm
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment