I am using the custom-convert.conf for the BruteFirDRC Plugin. I got one
problem with the new syntax. I need to add the bitrate to the command
line so that flac files with different bitrates can be transcoded
correctly, but it looks like only the first occurence of a variable is
replaced. I am using the BITRATE two times but only the first one is
replaced.
flc flc * 00:04:20:06:b4:65
# F:{BITRATE=%d}
[flac] -dcs --force-raw-format --endian=little --sign=signed --
$FILE$ | /usr/share/squeezecenter/Plugins/BrutefirDrc/brutefirwrapper
00:04:20:06:b4:65
/etc/squeezecenter/BrutefirDrc/settings/filter-00_04_20_06_b4_65
$BITRATE$ | [flac] -cs -0 --totally-silent --endian=little
--sign=signed --channels=2 --bps=24 --sample-rate=$BITRATE$ -
debug output from server.log (the last BITRATE at the end is not
replaced):
[08-12-12 17:23:46.1510] Slim::Player::TranscodingHelper::checkBin
(237) Found command: [flac] -dcs --force-raw-format --endian=little
--sign=signed -- $FILE$ |
/usr/share/squeezecenter/Plugins/BrutefirDrc/brutefirwrapper
00:04:20:06:b4:65
/etc/squeezecenter/BrutefirDrc/settings/filter-00_04_20_06_b4_65
$BITRATE$ | [flac] -cs -0 --totally-silent --endian=little
--sign=signed --channels=2 --bps=24 --sample-rate=$BITRATE$ -
[08-12-12 17:23:46.1513]
Slim::Player::TranscodingHelper::getConvertCommand2 (454) Matched:
flc->flc via: [flac] -dcs --force-raw-format --endian=little
--sign=signed -- $FILE$ |
/usr/share/squeezecenter/Plugins/BrutefirDrc/brutefirwrapper
00:04:20:06:b4:65
/etc/squeezecenter/BrutefirDrc/settings/filter-00_04_20_06_b4_65
$BITRATE$ | [flac] -cs -0 --totally-silent --endian=little
--sign=signed --channels=2 --bps=24 --sample-rate=$BITRATE$ -
[08-12-12 17:23:46.1515] Slim::Player::Song::open (340) Transcoder:
streamMode=F, streamformat=flc
[08-12-12 17:23:46.1526]
Slim::Player::TranscodingHelper::tokenizeConvertCommand2 (557) Using
command for conversion: "/usr/bin/flac" -dcs --force-raw-format
--endian=little --sign=signed --
"/music/slimserver/flac/Bands/Agalloch/The_White/02.Birch_Black.flac" |
/usr/share/squeezecenter/Plugins/BrutefirDrc/brutefirwrapper
00:04:20:06:b4:65
/etc/squeezecenter/BrutefirDrc/settings/filter-00_04_20_06_b4_65 44100
| "/usr/bin/flac" -cs -0 --totally-silent --endian=little --sign=signed
--channels=2 --bps=24 --sample-rate=$BITRATE$ -
[08-12-12 17:23:46.1528] Slim::Player::Song::open (457) Tokenized
command "/usr/bin/flac" -dcs --force-raw-format --endian=little
--sign=signed --
"/music/slimserver/flac/Bands/Agalloch/The_White/02.Birch_Black.flac
" | /usr/share/squeezecenter/Plugins/BrutefirDrc/brutefirwrapper
00:04:20:06:b4:65
/etc/squeezecenter/BrutefirDrc/settings/filter-00_04_20_06_b4_65 44100
| "/usr/bin/flac" -cs -0 --totally-silent --endian=little --sign=signed
--channels=2 --bps=24 --sample-rate=$BITRATE$ -
[08-12-12 17:23:46.2558] Slim::Player::SongStreamController::new (32)
live=1
Do I miss something or is this a bug? With SqueezeCenter 7.2.x I used
the RATE and the variable was replaced n-times.
Regards Klaas
--
Klaas
Creator of *BrutefirDrc* see http://klaasprause.com/brutefirdrc
Hardware:
Squeezebox v3 with digital out tweaking and custom power supply, Tact
TDA2200 Digital Amplifier, MBL 311-D Speaker
------------------------------------------------------------------------
Klaas's Profile: http://forums.slimdevices.com/member.php?userid=8026
View this thread: http://forums.slimdevices.com/showthread.php?t=54331
_______________________________________________
beta mailing list
[email protected]
http://lists.slimdevices.com/lists/listinfo/beta