diff --git a/contrib/get_framesize.sh b/tests/test_framesize.liq similarity index 75% rename from contrib/get_framesize.sh rename to tests/test_framesize.liq index 7acebe83699f8c98a693e99c4edfa2ec485b5164..dc6c7fda9c2411b61435604c7c718ed14e80bd28 100755 --- a/contrib/get_framesize.sh +++ b/tests/test_framesize.liq @@ -1,8 +1,8 @@ -#!/bin/bash +#!/usr/bin/env liquidsoap # # Aura Engine (https://gitlab.servus.at/aura/engine) # -# Copyright (C) 2017-2020 - The Aura Engine Team. +# Copyright (C) 2017-now() - The Aura Engine Team. # # This program is free software: you can redistribute it and/or modify # it under the terms of the GNU Affero General Public License as published by @@ -18,4 +18,9 @@ # along with this program. If not, see <http://www.gnu.org/licenses/>. -liquidsoap -v --debug 'input.alsa(bufferize=false)' | grep "Could not set buffer size to 'frame.size'" \ No newline at end of file +set("init.allow_root", true) +set("log.file.path", "../logs/<script>.log") + +set("frame.audio.size", 0) +set("frame.video.framerate", 0) +input.alsa(bufferize=false) \ No newline at end of file