diff options
author | Alexander Tomokhov <alexoundos@gmail.com> | 2024-05-21 00:26:33 +0400 |
---|---|---|
committer | Alexander Tomokhov <alexoundos@gmail.com> | 2024-05-21 00:29:56 +0400 |
commit | 992735db2203b32b2eaf516ca46b353c8dc9d4fa (patch) | |
tree | 56e5806481721370caa40f648ec909b140d93509 /nixos/tests/castopod.nix | |
parent | dddad8555c763b4a3ddfba728648a1456995b706 (diff) |
nixosTests.castopod: fix mp3 generation
Fix `--cbr` encoding mode.
Diffstat (limited to 'nixos/tests/castopod.nix')
-rw-r--r-- | nixos/tests/castopod.nix | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/nixos/tests/castopod.nix b/nixos/tests/castopod.nix index 9f167c1543408..57e035354d23e 100644 --- a/nixos/tests/castopod.nix +++ b/nixos/tests/castopod.nix @@ -208,7 +208,7 @@ import ./make-test-python.nix ({ pkgs, lib, ... }: text = '' out=/tmp/podcast.mp3 sox -n -r 48000 -t wav - synth ${targetPodcastDuration} sine 440 ` - `| lame --noreplaygain -cbr -q 9 -b 320 - $out + `| lame --noreplaygain --cbr -q 9 -b 320 - $out FILESIZE="$(stat -c%s $out)" [ "$FILESIZE" -gt 0 ] [ "$FILESIZE" -le "${toString targetPodcastSize}" ] |