Permalink
Browse files
Add \n to message output.
- Loading branch information...
Showing
with
1 addition
and
1 deletion.
-
+1
−1
album-watch.php
|
@@ -37,7 +37,7 @@ function do_file($path, $album, $user) |
|
|
if (!is_file($t)) {
|
|
|
echo 'ffmpeg -i "' . $path . '" -ss 0 -vframes 1 -f mjpeg -an "' . $t . '.in"' . "\n";
|
|
|
system('ffmpeg -i "' . $path . '" -ss 0 -vframes 1 -f mjpeg -an "' . $t . '.in" > /dev/null 2>&1');
|
|
|
- echo 'convert "jpg:' . $t . '.in" -resize 100x100 "jpg:' . $t . '"';
|
|
|
+ echo 'convert "jpg:' . $t . '.in" -resize 100x100 "jpg:' . $t . '"' . "\n";
|
|
|
system('convert "jpg:' . $t . '.in" -resize 100x100 "jpg:' . $t . '"');
|
|
|
unlink($t . '.in');
|
|
|
}
|
|
|
0 comments on commit
6354dca