Rockbox open source high quality audio player as a Music Player Daemon
mpris rockbox mpd libadwaita audio rust zig deno
2
fork

Configure Feed

Select the types of activity you want to include in your feed.

tools: More fixes for relese voice script.

...Was broken for piper-based models

Change-Id: Ib1df918ecde69bff6b048f8dad7451399b93d05d

+14 -4
+14 -4
tools/release/voices.pl
··· 84 84 next if ($builds{$b}{voice}); # no variants 85 85 86 86 for my $v (&allvoices) { 87 - # print " runone $b $v ($voices{$v}->{lang} via $voices{$v}->{defengine})\n"; 88 - runone($b, $v, $voices{$v}->{lang}, $voices{$v}->{defengine}, 89 - "-1", $voices{$v}->{engines}->{$voices{$v}->{defengine}}); 90 - } 87 + my %voice = %{$voices{$v}}; 88 + 89 + my $engine = $voice{"defengine"}; 90 + my ($opts, $vf); 91 + if ($engine eq 'piper') { 92 + $vf = $voice{"engines"}->{$engine}; 93 + $opts = ""; 94 + } else { 95 + $vf = -1; 96 + $opts = $voice{"engines"}->{$engine}; 97 + } 98 + # print " runone $b $v ($voice{lang} via $engine)\n"; 99 + runone($b, $v, $voice{"lang"}, $engine, $vf, $opts); 91 100 } 101 + }