...forse ce l'ho fatta.
codice:
[Thu Dec 17 00:30:46 2015] DEBUG: Pref File: /var/lib/squeezeboxserver/prefs/plugin/C3PO.prefs
[Thu Dec 17 00:30:46 2015] DEBUG: Prefs: {
"#outByteOrder" => undef,
"#useCueSheets" => undef,
C3POfolder => "/var/lib/squeezeboxserver/cache/InstalledPlugins/Plugins/C3PO",
C3POwillStart => "pl",
"_client:00:16:e0:02:f0:d7" => {
"#outByteOrder" => undef,
"#useCueSheets" => undef,
"_ts_#outByteOrder" => "1450306811",
"_ts_#useCueSheets" => "1450306811",
_ts_aliasing => "1450301945",
_ts_bandwidth => "1450301945",
_ts_codecs => "1450306811",
_ts_dither => "1450301945",
_ts_enableSeek => "1450306811",
_ts_gain => "1450301945",
_ts_id => "1450301945",
_ts_macaddress => "1450301945",
"_ts_maxSupportedSamplerate" => "1450301945",
_ts_model => "1450301945",
_ts_modelName => "1450301945",
_ts_name => "1450301945",
_ts_outBitDepth => "1450302477",
_ts_outChannels => "1450301945",
_ts_outCodec => "1450306695",
_ts_outEncoding => "1450301945",
_ts_phase => "1450301945",
_ts_quality => "1450301945",
_ts_resampleTo => "1450306695",
_ts_resampleWhen => "1450301945",
_ts_sampleRates => "1450306811",
"_ts_useGlogalSettings" => "1450301945",
_version => 0,
aliasing => "on",
bandwidth => 907,
codecs => {
aac => undef,
aif => "on",
dff => undef,
dsf => undef,
flc => "on",
mp3 => undef,
ogg => undef,
pcm => "on",
wav => "on",
},
dither => "on",
enableSeek => {
aac => undef,
aif => "on",
dff => undef,
dsf => undef,
flc => "on",
mp3 => undef,
ogg => undef,
pcm => "on",
wav => "on",
},
gain => 3,
id => "00:16:e0:02:f0:d7",
macaddress => "00:16:e0:02:f0:d7",
"maxSupportedSamplerate" => 384_000,
model => "squeezelite",
modelName => "SqueezeLite",
name => "spmc",
outBitDepth => 4,
outChannels => 2,
outCodec => "wav",
outEncoding => "s",
phase => "M",
quality => "v",
resampleTo => "S",
resampleWhen => "A",
sampleRates => {
8000 => "on",
11025 => "on",
12000 => "on",
16000 => "on",
22050 => "on",
24000 => "on",
32000 => "on",
44100 => "on",
48000 => "on",
88200 => "on",
96000 => "on",
176400 => "on",
192000 => "on",
352800 => "on",
384000 => "on",
705600 => 0,
768000 => 0,
},
useGlogalSettings => "on",
},
"_ts_#outByteOrder" => "1450308637",
"_ts_#useCueSheets" => "1450308637",
_ts_C3POfolder => "1450301944",
_ts_C3POwillStart => "1450301944",
_ts_aliasing => "1450301944",
_ts_bandwidth => "1450301944",
_ts_dither => "1450301944",
_ts_gain => "1450301944",
_ts_logFolder => "1450301944",
_ts_outBitDepth => "1450302477",
_ts_outChannels => "1450301944",
_ts_outCodec => "1450306526",
_ts_outEncoding => "1450301944",
_ts_pathToC3PO_exe => "1450305806",
_ts_pathToC3PO_pl => "1450301944",
_ts_pathToFFmpeg => "1450301944",
_ts_pathToFaad => "1450301944",
_ts_pathToFlac => "1450301944",
"_ts_pathToHeaderRestorer_exe" => "1450305806",
"_ts_pathToHeaderRestorer_pl" => "1450301944",
_ts_pathToPerl => "1450301944",
_ts_pathToSox => "1450301944",
_ts_phase => "1450301944",
_ts_quality => "1450301944",
_ts_resampleTo => "1450308632",
_ts_resampleWhen => "1450307845",
_ts_serverFolder => "1450301944",
_version => 0,
aliasing => "on",
bandwidth => 907,
dither => "on",
gain => 3,
logFolder => "/var/log/squeezeboxserver/",
outBitDepth => 4,
outChannels => 2,
outCodec => "wav",
outEncoding => "s",
pathToC3PO_exe => undef,
pathToC3PO_pl => "/var/lib/squeezeboxserver/cache/InstalledPlugins/Plugins/C3PO/C-3PO.pl",
pathToFFmpeg => "/usr/bin/ffmpeg",
pathToFaad => "/usr/share/squeezeboxserver/Bin/x86_64-linux/faad",
pathToFlac => "/usr/share/squeezeboxserver/Bin/x86_64-linux/flac",
"pathToHeaderRestorer_exe" => undef,
"pathToHeaderRestorer_pl" => "/var/lib/squeezeboxserver/cache/InstalledPlugins/Plugins/C3PO/HeaderRestorer.pl",
pathToPerl => "/usr/bin/perl",
pathToSox => "/usr/share/squeezeboxserver/Bin/x86_64-linux/sox",
phase => "M",
quality => "v",
resampleTo => "X",
resampleWhen => "A",
serverFolder => "/usr/sbin",
}
[Thu Dec 17 00:30:46 2015] DEBUG: clientId: 00-16-e0-02-f0-d7
[Thu Dec 17 00:30:46 2015] DEBUG: client: _client:00:16:e0:02:f0:d7
[Thu Dec 17 00:30:46 2015] DEBUG: server foder: /usr/sbin
[Thu Dec 17 00:30:46 2015] DEBUG: Start buildCommand
[Thu Dec 17 00:30:46 2015] DEBUG: testfile: /home/data/audio/music/Jazz & Co/Anouar Brahem, John Surman, Dave Holland (1998) Thimar [ecm 1641]/01 Badhra.flac
[Thu Dec 17 00:30:46 2015] DEBUG: AudioScan: {
info => {
audio_md5 => "9bb92001339bda1ef63c0204e5ab89ea",
audio_offset => 5108,
audio_size => 32_946_539,
bitrate => 516_605,
bits_per_sample => 16,
channels => 2,
file_size => 32_951_647,
jenkins_hash => "2241066192",
maximum_blocksize => 4608,
maximum_framesize => 11_762,
minimum_blocksize => 4608,
minimum_framesize => 14,
samplerate => 44_100,
song_length_ms => 510_200,
total_samples => 22_499_820,
},
tags => {
ALBUM => "Thimar",
ARTIST => ["Anouar Brahem", "John Surman", "Dave Holland"],
DATE => 1998,
GENRE => "Jazz",
TITLE => "Badhra",
TRACKNUMBER => "01",
TRACKTOTAL => 11,
VENDOR => "reference libFLAC 1.1.0 20030126",
},
}
[Thu Dec 17 00:30:46 2015] DEBUG: file samplerate: 44100
[Thu Dec 17 00:30:46 2015] DEBUG: samplerate is supported
[Thu Dec 17 00:30:46 2015] DEBUG: Max syncrounus sample rate : 352800
[Thu Dec 17 00:30:46 2015] DEBUG: Target Sample rate : 384000
[Thu Dec 17 00:30:46 2015] DEBUG: willResample ? 1
[Thu Dec 17 00:30:46 2015] DEBUG: Start splitTranscodeAndResample
[Thu Dec 17 00:30:46 2015] DEBUG: Start split_
[Thu Dec 17 00:30:46 2015] DEBUG: $inCodec flc
[Thu Dec 17 00:30:46 2015] DEBUG: $commandString "/usr/share/squeezeboxserver/Bin/x86_64-linux/flac" -dcs --totally-silent -- "/home/data/audio/music/Jazz & Co/Anouar Brahem, John Surman, Dave Holland (1998) Thimar [ecm 1641]/01 Badhra.flac"
[Thu Dec 17 00:30:46 2015] DEBUG: Command: "/usr/share/squeezeboxserver/Bin/x86_64-linux/flac" -dcs --totally-silent -- "/home/data/audio/music/Jazz & Co/Anouar Brahem, John Surman, Dave Holland (1998) Thimar [ecm 1641]/01 Badhra.flac"
[Thu Dec 17 00:30:46 2015] DEBUG: Resample; "/usr/share/squeezeboxserver/Bin/x86_64-linux/sox" -q -t wav - -t wav -r 384000 -c 2 -4 -s - gain -3 rate -v -M -a -b 90.7 384000
[Thu Dec 17 00:30:46 2015] DEBUG: transcode command: "/usr/share/squeezeboxserver/Bin/x86_64-linux/flac" -dcs --totally-silent -- "/home/data/audio/music/Jazz & Co/Anouar Brahem, John Surman, Dave Holland (1998) Thimar [ecm 1641]/01 Badhra.flac" | "/usr/share/squeezeboxserver/Bin/x86_64-linux/sox" -q -t wav - -t wav -r 384000 -c 2 -4 -s - gain -3 rate -v -M -a -b 90.7 384000
[Thu Dec 17 00:30:46 2015] DEBUG: built command: "/usr/share/squeezeboxserver/Bin/x86_64-linux/flac" -dcs --totally-silent -- "/home/data/audio/music/Jazz & Co/Anouar Brahem, John Surman, Dave Holland (1998) Thimar [ecm 1641]/01 Badhra.flac" | "/usr/share/squeezeboxserver/Bin/x86_64-linux/sox" -q -t wav - -t wav -r 384000 -c 2 -4 -s - gain -3 rate -v -M -a -b 90.7 384000
[Thu Dec 17 00:30:46 2015] INFO: Command is: "/usr/share/squeezeboxserver/Bin/x86_64-linux/flac" -dcs --totally-silent -- "/home/data/audio/music/Jazz & Co/Anouar Brahem, John Surman, Dave Holland (1998) Thimar [ecm 1641]/01 Badhra.flac" | "/usr/share/squeezeboxserver/Bin/x86_64-linux/sox" -q -t wav - -t wav -r 384000 -c 2 -4 -s - gain -3 rate -v -M -a -b 90.7 384000
(l'ho già detto che odio LMS e le interfacce web?! una intera serata a combatterci... ma quanto si sarebbe fatto prima a copiare un banalissimo file di configurazione e via?!?)