Discussion:
[SlimDevices: SqueezeCenter] C-3PO plugin, a trnscoding helper.
marcoc1712
2016-03-07 20:21:08 UTC
Permalink
Hi,

Last year I released squeezelite in a modified version called 1.8.2
(R2), that always inspects the pcm file headers to detect the real
sample rate, depth and endianness, enabling the server side decoding to
pcm and upsampling.

This was previously impossible due to LMS always send 44100 as sample
rate information for an upsampled pcm stream, so we needed to upsample
then convert back in flac on the server, receive the stream (and convert
it to pcm) on the client side and play it, or let squeezelite upsample
it.

Since that time, Squeezelite-R2 (so called for mnemonics) has been
included in Daphile and Audiolinux and is used by other people in
Debian, Win and macOsx systems. Here you could get more information
about squeezelite-R2 and download it:
https://github.com/marcoc1712/squeezelite-R2/releases.

Squeezelite-R2 make possible to stream upsampled pcm startinf from any
format in the server (and even remote stream services, like Qobuz), but
as a long term squeezebox server user I missed a tool to handle this
task n the server in an easier way than using convert.conf files and
file type conversion settings.

That's why I've released C-3PO plugin, that automate those tasks, simply
using two settings pages.

Here the first (general):

20088

and here the player specific:

20089

I hope options are self explanatory, but I will comment them in details
in next posts.

To install C-3PO plugn, just add
http://www.marcoc1712.it/downloads/repository.xml to your Plugin sources
in the Server, Settings, Plugins page, then restart the server. when
requested.

Thanks,

Marco.


+-------------------------------------------------------------------+
|Filename: c3po_2.jpg |
|Download: http://forums.slimdevices.com/attachment.php?attachmentid=20089|
+-------------------------------------------------------------------+


____________________________________________________________
SB+, Klimo Merlino + Kent Gold, Monitor Audio Studio 20 Gold SE+, Klimo
reference and DIS Interconnect.
------------------------------------------------------------------------
marcoc1712's Profile: http://forums.slimdevices.com/member.php?userid=34842
View this thread: http://forums.slimdevices.com/showthread.php?t=105309
marcoc1712
2016-03-07 20:48:05 UTC
Permalink
Please remmber that C-3PO is not adding any functionality or capability
to LMS, other than a better integrated interface over File type
conversions and custom-convert.conf file, but everything it does was
already here before.

Or better, almost everything, one is new: the capability to program the
runtime conversion based on the characteristics (i.e sample rate) of the
track being played.

To archive that, C-3PO has to know:

a. witch input formats has to be converted
b. to what output format.

c. If and when to resample.
d. to what sample rate.

Since is usimg SOX to perform resample, it also ned to know parameters
to use.

Use the page in Advanced settings for this.

NOTE:

Those parameters are valid for all and any player (unless you force them
by single player, see below) so be sure players are capable to play
streams so defined.

Pay particular attention to:

a. Output format: use WAV and AIFF only with Squeezelite-R2 compliant
players.
b. Bit-depth: must be lower or equal the player capability.
c. Additional effects: this is a 'free' text field, be sure to enter
only valid SOX effects.



____________________________________________________________
SB+, Klimo Merlino + Kent Gold, Monitor Audio Studio 20 Gold SE+, Klimo
reference and DIS Interconnect.
------------------------------------------------------------------------
marcoc1712's Profile: http://forums.slimdevices.com/member.php?userid=34842
View this thread: http://forums.slimdevices.com/showthread.php?t=105309
marcoc1712
2016-03-07 21:08:36 UTC
Permalink
Settings defined in the Advanced Setings page relay on specific Player
capabilities and preferences, that are defined in the Settings, Player,
C-3PO page:

20090

Default falues are derived form the player model capabilities, but you
could refine and restrict the selection.

Supported Sample Rates is used in conjunction with general settings to
define the target sample rate of the stream.

Supported codecs is unmodifiable, since depends on player model and
C-3PO capabilities, buf for every codec (format) you could enable or
disable:

a. transcoding to the general settings output format.
b. resampling

disabling both is same to disable C-3PO for that format.

You have two more capabilities:

c. seek
d. standard input

They are a little tricky, but correspond to the "T" and "I" capabilities
we used to use in convert.conf file. Firts is needed to seek inside a
stream (i.e to reach a track in a cue sheet), second is used by many
external source applications, like Qobuz plugin, or CDPlay or...

Too bad, LMS could not have seek and standard Input enabled toghether,
so we must choose. Since streaming services like Qobuz use flac and
people normallu use cue sheets with WAV, the default is to enable seek
for WAV and stdIn for Flac, but here you could change it.

Hope is cleare, but if you don't use .cue sheets or Qobuz, just don't
mind.

That's all is needed in normal scenarios.


+-------------------------------------------------------------------+
|Filename: c3po_2.jpg |
|Download: http://forums.slimdevices.com/attachment.php?attachmentid=20090|
+-------------------------------------------------------------------+


____________________________________________________________
SB+, Klimo Merlino + Kent Gold, Monitor Audio Studio 20 Gold SE+, Klimo
reference and DIS Interconnect.
------------------------------------------------------------------------
marcoc1712's Profile: http://forums.slimdevices.com/member.php?userid=34842
View this thread: http://forums.slimdevices.com/showthread.php?t=105309
marcoc1712
2016-03-07 21:21:01 UTC
Permalink
If you have very specific requirement and need different upsampling
methods for specific players, you should use general setting as intended
for 'normal' cases, then you could 'force' same settings but just for
the players you need.

to do this, just uncheck the Use global settings box and click "show":

20091

Tthen you have a private copy of the general settings to be used with
the specific player.


+-------------------------------------------------------------------+
|Filename: c3po_3.jpg |
|Download: http://forums.slimdevices.com/attachment.php?attachmentid=20091|
+-------------------------------------------------------------------+


____________________________________________________________
SB+, Klimo Merlino + Kent Gold, Monitor Audio Studio 20 Gold SE+, Klimo
reference and DIS Interconnect.
------------------------------------------------------------------------
marcoc1712's Profile: http://forums.slimdevices.com/member.php?userid=34842
View this thread: http://forums.slimdevices.com/showthread.php?t=105309
ralphy
2016-03-08 12:42:28 UTC
Permalink
marcoc1712 wrote:
> Since that time, Squeezelite-R2 (so called for mnemonics) has been
> included in Daphile and Audiolinux and is used by other people in
> Debian, Win and macOsx systems. Here you could get more information
> about squeezelite-R2 and download it:
> https://github.com/marcoc1712/squeezelite-R2/releases.
>
I've included this capability with my squeezelite builds 1.8.3-709 and
newer.
The feature is off by default, you need to add -W to the command line
options to enable it.

Code:
--------------------
-W Read format from wave and aiff file headers, ignore server parameters
--------------------

When you first asked me about the change I was reluctant to incorporate
it. However, I felt is was unfair not to add it after adding other
enhancements for picoreplayer.



Ralphy

*1*-Touch, *4*-Classics, *2*-Booms, *1*-Reverted UE Radio
'Squeezebox client builds'
(https://www.mediafire.com/folder/4q8dvq20iyz9e/Builds) 'donations'
(https://www.paypal.com/cgi-bin/webscr?cmd=_donations&business=LL5P6365KQEXN&lc=CA&item_name=Squeezebox%20client%20builds&currency_code=USD&bn=PP%2dDonationsBF%3abtn_donate_SM%2egif%3aNonHosted)
always appreciated.
------------------------------------------------------------------------
ralphy's Profile: http://forums.slimdevices.com/member.php?userid=3484
View this thread: http://forums.slimdevices.com/showthread.php?t=105309
marcoc1712
2016-03-08 13:57:31 UTC
Permalink
ralphy wrote:
> I've included this capability with my squeezelite builds 1.8.3-709 and
> newer.
> The feature is off by default, you need to add -W to the command line
> options to enable it.
> >
Code:
--------------------
> > -W Read format from wave and aiff file headers, ignore server parameters
--------------------
> >
> When you first asked me about the change I was reluctant to
> incorporate it. However, I felt is was unfair not to add it after
> adding other enhancements for picoreplayer.

Great! Is like that for ANY build? I'll add a notice in gitHub and
other places, that's was I intended asking you to have just one 'common'
repository.



____________________________________________________________
SB+, Klimo Merlino + Kent Gold, Monitor Audio Studio 20 Gold SE+, Klimo
reference and DIS Interconnect.
------------------------------------------------------------------------
marcoc1712's Profile: http://forums.slimdevices.com/member.php?userid=34842
View this thread: http://forums.slimdevices.com/showthread.php?t=105309
ralphy
2016-03-09 13:58:48 UTC
Permalink
marcoc1712 wrote:
> By the way, are You still using "squeezelite" both for model name and
> model type? I use "squeezelite-R2" in model name just to inform the
> server (C-3PO) that the player is enabled to receive upsampled pcm
> streams, just to avoid errors, but sure I could change, just let me know
> what to test to identify your versions (I think 1.8.3 is not enought,
> you never know if other branches use the same version code, that's why I
> introduced R2 identifier as Daphile use "daphile").
If the current builds works as you intended then checking for 1.8.3 in
the squeezelite firmware version should be enough.

The 1.8.3 version change was specifically for the -W option.



Ralphy

*1*-Touch, *4*-Classics, *2*-Booms, *1*-Reverted UE Radio
'Squeezebox client builds'
(https://www.mediafire.com/folder/4q8dvq20iyz9e/Builds) 'donations'
(https://www.paypal.com/cgi-bin/webscr?cmd=_donations&business=LL5P6365KQEXN&lc=CA&item_name=Squeezebox%20client%20builds&currency_code=USD&bn=PP%2dDonationsBF%3abtn_donate_SM%2egif%3aNonHosted)
always appreciated.
------------------------------------------------------------------------
ralphy's Profile: http://forums.slimdevices.com/member.php?userid=3484
View this thread: http://forums.slimdevices.com/showthread.php?t=105309
PasTim
2016-03-08 14:21:40 UTC
Permalink
Hi Marco,

All my files are stereo (a few mono) flacs, from 16/44100 to 24/192000.

For squeezelite-R2 I mostly use a Meridian Explorer DAC, and started it
using options -r 192000 -u hLE. The DAC indicates it's getting a
24/192000 feed - whether FLAC or PCM I don't know for sure, but I assume
flac when not running C-3PO. Using C-3PO I got crackling and all sorts,
even on 16/44100 tracks, whatever settings I tried. Today I tried
starting squeezelite using -u vHX and it seems to be working much better
with C-3PO. Is it possible that the squeezelite-R2 command line options
need to match C-3PO in some fashion?

Several player parameters never seem to stick. So, for instance, no
matter what I set 'Quality' to it always seems to be reset to 'High' for
this player. The same is true for the 'Resample' parameter. Why would
that be?



For squeeze2upnp I use 2 renderers. One will take flac or pcm to
24/192000, but I have no upsampling set, just conversion to pcm (no wav
header) so the server does the conversion work. For the other it seems
to prefer wav (ie pcm plus with a proper wav header) or flac, up to
24/96000. I got neither device to work at all with C-3PO.

I probably don't really need this plugin, but if you want me to test
things for your and other's benefits I'll happily do so.



LMS 7.9 on VortexBox Midi box, Xubuntu 14.04, FLACs 16->24 bit,
44.1->192kbps.
LMS plugin UPnP/DLNA Bridge to MF M1 CLiC (to 405/2 amp & ESLs) &
Marantz CR603 UPnP renderers.
Alternatively Minimserver & Upplay to same & to upmpdcli/mpd PC
renderers.
Squeezelite to Meridian USB Explorer DAC to PC speakers/headphones.
Wireless Xubuntu 15.10 laptop firefox/upplay or Android 'phone with
Squeeze-Commander/BubbleUPnP controls LMS/Minimserver.
Also a Touch with EDO, plus spare, unused.
------------------------------------------------------------------------
PasTim's Profile: http://forums.slimdevices.com/member.php?userid=41642
View this thread: http://forums.slimdevices.com/showthread.php?t=105309
marcoc1712
2016-03-08 17:45:45 UTC
Permalink
PasTim wrote:
> Hi Marco,
>
> All my files are stereo (a few mono) flacs, from 16/44100 to 24/192000.
>
> For squeezelite-R2 I mostly use a Meridian Explorer DAC, and started it
> using options -r 192000 -u hLE. The DAC indicates it's getting a
> 24/192000 feed - whether FLAC or PCM I don't know for sure, but I assume
> flac when not running C-3PO. Using C-3PO I got crackling and all sorts,
> even on 16/44100 tracks, whatever settings I tried. Today I tried
> starting squeezelite using -u vHX and it seems to be working much better
> with C-3PO. Is it possible that the squeezelite-R2 command line options
> need to match C-3PO in some fashion?.

Be aware that you should avoid to resample both on player and on server,
using C-3PO, you should NOT use -u options launching squeezelite
anymore.

Did you restarted the DAC after enabling C-3PO (and so changing the
output fomat)? that's probably why today, after a restart, things went
better.

Assuming you want to play everything at 192KHz/24bit, try this:

GENERAL SETTINGS:

Supported formats: be sure to select AT LEAST Flac.

Resample "Always"
Target sample rate "Max supported"
Output format "WAV"

bit-depth 24 (3).


Please leave all the others at default value.


PLAYER SETTINGS:

Select the Meridian Explorer DAC attached Squeezelite-R2 player, then
set:

Supported Sample Rates: be sure 192KHz is the maximum value checked for
the player, you could add ANY lower value but NOT higher, is important.

Enable Transcoding and Resampling for FLAC.
Live the others at Default values at the moment.

Please check the "use general settings" box and apply changes.


SQUEEZELITE-R2 COMMAND LINE:

here a sample and safe command line, but You could try to adjust buffers
(-b) if still get pop and clicks.

Squeezelite-R2 -o (what you normally use) -a 100:3:24:1 -b 8192:8192 -r
192000:192000

Pleas dont add -u option, the server is going to upsample to 192000Hz,
24 bit and decode to WAV.

Please restart the DAC and Squeezelite with the new command line and try
to play a flac 44100/16 or 192000/24 file, you should see squeezelite
rreceive WAV 192KHz/24bit in both case.

Forgot tio ask: are you using a wired network, correct? If not, be aware
that where flac 44.1/16 is using less than 1 Mb/s, Wav 192/24 is at
least 5 times the traffic, so be sure you have enougth bandwidth.

PasTim wrote:
>
> Several player parameters never seem to stick. So, for instance, no
> matter what I set 'Quality' to it always seems to be reset to 'High' for
> this player. The same is true for the 'Resample' parameter. Why would
> that be?.

Not sure to well understand. Do you mean that setting quality in the
general settings (or in the player setting after uncheking the use
general setting box) is not working? In that case are you sure to always
'apply' changes before leave the page?

Or you meant you don't see changes reflected to squeezelite? In that
case is correct, as said before, you should NOT use -u option in
squeezelite anymore.

Could you please better elaborate?

PasTim wrote:
>
> For squeeze2upnp I use 2 renderers. One will take flac or pcm to
> 24/192000, but I have no upsampling set, just conversion to pcm (no wav
> header) so the server does the conversion work. For the other it seems
> to prefer wav (ie pcm plus with a proper wav header) or flac, up to
> 24/96000. I got neither device to work at all with C-3PO.

Assuming your general settings are as explained before, to strictly
archive what you describe you have to:

a. select PLAYER ONE and:

Supported Sample Rates: be sure 192KHz is the only value checked.

Enable Transcoding for FLAC.
Disble Resampling for FLAC.

Live the others at Default values at the moment.
Please check the "use general settings" box and apply changes.

This way ONLY 192Khz flac files will be converted to WAV (there is no
support for raw PCM in LMS) and sent to Squeezelite, files with other
samplerate will be refused (seems to me is to strict, if you want to
allow any samplerate decode and playback but not resampling till 192KHz,
check as supported all samplerates starting from 44100 to 192Khz).

b. select PLAYER TWO and:

Supported Sample Rates: check ALL frequencies from 44100 to 96000, be
sure nothing higher.

Enable Transcoding for FLAC.
Enable Resampling for FLAC.

Live the others at Default values at the moment.
Please check the "use general settings" box and apply changes.


PasTim wrote:
>
> I probably don't really need this plugin

Is not clear to me how you today arrange to decode and upsamlìple, if in
LMS using custom-convert.conf file, you could find C-3PO usefull just
becouse is easier to use, if by the playrs, no, you don't need C-3PO at
all.

C-3PO is born to perform decode and upsampling SERVER SIDE, in order to
need and use really low power by the client.


PasTim wrote:
>
> but if you want me to test things for your and other's benefits I'll
> happily do so.

Tester are always welcome, but use of C-3PO make sense only in place of
custom-convert.conf file and "File Type" conversion settings on LMS. If
you are using them now, You'll probably find C-3PO easier and valuable,
if not you'll probably fint it difficult and useless, just becouse you
don't know how boring is using the others.

Hope is more clear now, please try the settings I've posed, then please
report if they works for you or not, or - if I misandestood - please
post here your actual custom-convert.conf file and I'll try to replicate
it in C-3PO settings.

Marco



____________________________________________________________
SB+, Klimo Merlino + Kent Gold, Monitor Audio Studio 20 Gold SE+, Klimo
reference and DIS Interconnect.
------------------------------------------------------------------------
marcoc1712's Profile: http://forums.slimdevices.com/member.php?userid=34842
View this thread: http://forums.slimdevices.com/showthread.php?t=105309
PasTim
2016-03-08 20:53:04 UTC
Permalink
marcoc1712 wrote:
> Be aware that you should avoid to resample both on player and on server,
> using C-3PO, you should NOT use -u options launching squeezelite
> anymore.
>
> Did you restarted the DAC after enabling C-3PO (and so changing the
> output fomat)? that's probably why today, after a restart, things went
> better.
>
> Assuming you want to play everything at 192KHz/24bit, try this:
>
> GENERAL SETTINGS:
>
> Supported formats: be sure to select AT LEAST Flac.
>
> Resample "Always"
> Target sample rate "Max supported"
> Output format "WAV"
>
> bit-depth 24 (3).
>
>
> Please leave all the others at default value.
>
>
> PLAYER SETTINGS:
>
> Select the Meridian Explorer DAC attached Squeezelite-R2 player, then
> set:
>
> Supported Sample Rates: be sure 192KHz is the maximum value checked for
> the player, you could add ANY lower value but NOT higher, is important.
>
> Enable Transcoding and Resampling for FLAC.
> Live the others at Default values at the moment.
>
> Please check the "use general settings" box and apply changes.
>
>
> SQUEEZELITE-R2 COMMAND LINE:
>
> here a sample and safe command line, but You could try to adjust buffers
> (-b) if still get pop and clicks.
>
> Squeezelite-R2 -o (what you normally use) -a 100:3:24:1 -b 8192:8192 -r
> 192000:192000
>
> Pleas dont add -u option, the server is going to upsample to 192000Hz,
> 24 bit and decode to WAV.
>
> Please restart the DAC and Squeezelite with the new command line and try
> to play a flac 44100/16 or 192000/24 file, you should see squeezelite
> rreceive WAV 192KHz/24bit in both case.
>
> Forgot tio ask: are you using a wired network, correct? If not, be aware
> that where flac 44.1/16 is using less than 1 Mb/s, Wav 192/24 is at
> least 5 times the traffic, so be sure you have enougth bandwidth.
>
>
>
> Not sure to well understand. Do you mean that setting quality in the
> general settings (or in the player setting after uncheking the use
> general setting box) is not working? In that case are you sure to always
> 'apply' changes before leave the page?
>
> Or you meant you don't see changes reflected to squeezelite? In that
> case is correct, as said before, you should NOT use -u option in
> squeezelite anymore.
>
> Could you please better elaborate?
>
>
>
> Assuming your general settings are as explained before, to strictly
> archive what you describe you have to:
>
> a. select PLAYER ONE and:
>
> Supported Sample Rates: be sure 192KHz is the only value checked.
>
> Enable Transcoding for FLAC.
> Disble Resampling for FLAC.
>
> Live the others at Default values at the moment.
> Please check the "use general settings" box and apply changes.
>
> This way ONLY 192Khz flac files will be converted to WAV (there is no
> support for raw PCM in LMS) and sent to Squeezelite, files with other
> samplerate will be refused (seems to me is to strict, if you want to
> allow any samplerate decode and playback but not resampling till 192KHz,
> check as supported all samplerates starting from 44100 to 192Khz).
>
> b. select PLAYER TWO and:
>
> Supported Sample Rates: check ALL frequencies from 44100 to 96000, be
> sure nothing higher.
>
> Enable Transcoding for FLAC.
> Enable Resampling for FLAC.
>
> Live the others at Default values at the moment.
> Please check the "use general settings" box and apply changes.
>
>
>
>
> Is not clear to me how you today arrange to decode and upsamlìple, if in
> LMS using custom-convert.conf file, you could find C-3PO usefull just
> becouse is easier to use, if by the playrs, no, you don't need C-3PO at
> all.
>
> C-3PO is born to perform decode and upsampling SERVER SIDE, in order to
> need and use really low power by the client.
>
>
>
>
> Tester are always welcome, but use of C-3PO make sense only in place of
> custom-convert.conf file and "File Type" conversion settings on LMS. If
> you are using them now, You'll probably find C-3PO easier and valuable,
> if not you'll probably fint it difficult and useless, just becouse you
> don't know how boring is using the others.
>
> Hope is more clear now, please try the settings I've posed, then please
> report if they works for you or not, or - if I misandestood - please
> post here your actual custom-convert.conf file and I'll try to replicate
> it in C-3PO settings.
>
> Marco
Thanks - that's a lot of information for me to process in one go.
Apologies if I haven't done what you asked, but some of what you ask
doesn't seem to work at all, notably changing specific settings.

When I said settings don't 'stick', I have a problem in that when I
change several of the player-specific settings, and apply, next time I
look at the settings they have reverted to what they were before. Until
I can rely on the changes I make, all my attempts will fail. I can't
even disable everything for some players, so I can't live with the
plugin at all (I just get noise using squeeze2upnp players).

I'm assuming that because my players are so different the general
settings are irrelevant. I do not understand when you seem to suggest
changing player-specific settings and then tick 'use general settings' -
surely if they are 'specific' they are not 'general'?

You say LMS doesn't support pcm. Well my understanding (using
squeeze2upnp) is that it does. Looking at the standard flac file type
settings, the option is convert to pcm, not to wav. In fact, as I
understand it, the developer of that plugin had to specifically add wav
headers for players that could not handle raw pcm.

As to not using the squeezelite options, I think it clarifies that I am
wasting your time - I'm just not getting where this is coming from or
going to - sorry - I am not very clever at this stuff. In my case
squeezelite and LMS are, usually, on the same machine. So I think it's
best if we just drop this conversation. You are better off testing with
someone who understands LMS, and audio, much better than I do and can
help you with what you are doing. I'm sure it's really good for some
situations, but I'm too dim to make it work. Sorry for wasting your
time.



LMS 7.9 on VortexBox Midi box, Xubuntu 14.04, FLACs 16->24 bit,
44.1->192kbps.
LMS plugin UPnP/DLNA Bridge to MF M1 CLiC (to 405/2 amp & ESLs) &
Marantz CR603 UPnP renderers.
Alternatively Minimserver & Upplay to same & to upmpdcli/mpd PC
renderers.
Squeezelite to Meridian USB Explorer DAC to PC speakers/headphones.
Wireless Xubuntu 15.10 laptop firefox/upplay or Android 'phone with
Squeeze-Commander/BubbleUPnP controls LMS/Minimserver.
Also a Touch with EDO, plus spare, unused.
------------------------------------------------------------------------
PasTim's Profile: http://forums.slimdevices.com/member.php?userid=41642
View this thread: http://forums.slimdevices.com/showthread.php?t=105309
marcoc1712
2016-03-08 22:25:00 UTC
Permalink
PasTim wrote:
> Thanks - that's a lot of information for me to process in one go.
> Apologies if I haven't done what you asked, but some of what you ask
> doesn't seem to work at all, notably changing specific settings.
>
> When I said settings don't 'stick', I have a problem in that when I
> change several of the player-specific settings, and apply, next time I
> look at the settings they have reverted to what they were before. Until
> I can rely on the changes I make, all my attempts will fail. I can't
> even disable everything for some players, so I can't live with the
> plugin at all (I just get noise using squeeze2upnp players).
>
> I'm assuming that because my players are so different the general
> settings are irrelevant. I do not understand when you seem to suggest
> changing player-specific settings and then tick 'use general settings' -
> surely if they are 'specific' they are not 'general'?
>
> You say LMS doesn't support pcm. Well my understanding (using
> squeeze2upnp) is that it does. Looking at the standard flac file type
> settings, the option is convert to pcm, not to wav. In fact, as I
> understand it, the developer of that plugin had to specifically add wav
> headers for players that could not handle raw pcm.
>
> As to not using the squeezelite options, I think it clarifies that I am
> wasting your time - I'm just not getting where this is coming from or
> going to - sorry - I am not very clever at this stuff. In my case
> squeezelite and LMS are, usually, on the same machine. So I think it's
> best if we just drop this conversation. You are better off testing with
> someone who understands LMS, and audio, much better than I do and can
> help you with what you are doing. I'm sure it's really good for some
> situations, but I'm too dim to make it work. Sorry for wasting your
> time.

Don't worry, you are welcome, but let me abuse a little more of yor
patient:

We have General settings and Player Specific Settings in different
pages.

For each player you could decide to use the general settings (normal
situation, as I was asking You to do) OR enable the capability to change
same settings that you have in 'general' but for the specific player.
This is done by unchecking the "use general settings" box. This is
normally not necessary, and it was not in my advice in the last post.


When you state: " I have a problem in that when I change several of the
player-specific settings, and apply, next time I look at the settings
they have reverted to what they were before." wich specific setting are
you referring?

Seems like a big bug, but I can't replicate it, could you please name
one specific setting that's broken that way?

---
FIY:

WAV vs PCM in LMS is a bit confusing. Sometime it name it PCM and
sometime WAV, but what is streamed is wav (or aiff), this is what I
realized and moved me to modify squeezelite. If it where raw pcm I had
no chance.

I'll have a look to the plugin you mention, sound strange to me, but if
it does what you say, for sure it could not work with upsampled
PCM/WAV/AIFF stream: what information is writing to the header? If it
trust LMS, is wrong, how is it guessing them? That, indeed, explain why
it does not work with C-3PO (and will not work with custom-convert.conf
too). To stream and decode WAV (or AIFF or PCM) you need the modified
version of squeezelite, that trust on the fact that the stream ALWAIS
contains a valid header and don't care what LMS reports.

The only other way is make LMS report the correct format info in the
steam information block sent to the player.

---

If you have squeezelite and LMS on the same machine, best is to use
"Local player plugin" and nothing more.

Regards, Marco.



____________________________________________________________
SB+, Klimo Merlino + Kent Gold, Monitor Audio Studio 20 Gold SE+, Klimo
reference and DIS Interconnect.
------------------------------------------------------------------------
marcoc1712's Profile: http://forums.slimdevices.com/member.php?userid=34842
View this thread: http://forums.slimdevices.com/showthread.php?t=105309
philippe_44
2016-03-09 04:50:29 UTC
Permalink
marcoc1712 wrote:
>
> WAV vs PCM in LMS is a bit confusing. Sometime it name it PCM and
> sometime WAV, but what is streamed is wav (or aiff), this is what I
> realized and moved me to modify squeezelite. If it where raw pcm I had
> no chance.
>
Did you change a protocol handler to do that ? Because, by default, when
the $formatbyte in the strm message is 'p', LMS sends raw PCM with no
header of any kind - just a blob of bytes. The SlimProto header of strm
contains information about sample size, rate, endianness so that the
player knows. One bug, as we discussed before, is that on transcoded
live streams, LMS sets rate and size @ 44.1/16 regardless and that does
not work very well :(



LMS 7.7.5 - 5xRadio, 3xBoom, 4xDuet, 1xTouch, 1 SB2. Sonos 2xPLAY:1,
PLAY:3, PLAY:5, Marantz NR1603, JBL OnBeat, XBMC, Foobar2000, XBoxOne,
JRiver 21, Chromecast Audio, Chromecast v1, Pi B2, Pi B+, 2xPi A+,
Odroid-C1, Cubie2
------------------------------------------------------------------------
philippe_44's Profile: http://forums.slimdevices.com/member.php?userid=17261
View this thread: http://forums.slimdevices.com/showthread.php?t=105309
marcoc1712
2016-03-09 11:18:03 UTC
Permalink
philippe_44 wrote:
> Did you change a protocol handler to do that ? Because, by default, when
> the $formatbyte in the strm message is 'p', LMS sends raw PCM with no
> header of any kind - just a blob of bytes. The SlimProto header of strm
> contains information about sample size, rate, endianness so that the
> player knows. One bug, as we discussed before, is that on transcoded
> live streams, LMS sets rate and size @ 44.1/16 regardless and that does
> not work very well :(

Nope, LMS is untouched.

You are right, but only when talking about 'native' (?) raw PCM.

When transcoding, in case of pcm output (and wav is handled exactly as
pcm) LMS try to look at the track/original file for sample rate to be
sent to players via strm message, using 44100 as default value if not
found (i.e. in case or remote streams), no matter if a resample took
place.

Here is the bug:

a. the transcoding command is a 'black box', LMS just know the incoming
(track, stream or file) and the outcoming (stream), no others. Somehow
correct.

b. When the outcoming stream is (raw) PCM it has no header, then we
could not inspect it. As a fault back we get sample rate from incoming
(or use default 44100/16 L). Debatable, I'll preffer at least
upsampling where disabled when output is (raw) pcm.

c. WAV is PCM, so we could not inspect the wav header to get sample
rate. That's WRONG and here is the confusion, WAV is PCM, but is not RAW
PCM.

Not brave enought to engage a fight to change this in LMS, where it
should be, but fortunally LMS streams the result of the transcoding
command as is, with header if wav, still using 'p' as format in the
strm message, then the workaround is to always 'transcode' to WAV or
AIFF i(i.e. with C-3PO) and let player inspect the header.

But, accordingly to slimproto, when the format is 'p' there should be no
header in the stream (WRONG ASSUMPTION, see point c) then all the
players but Squeezelite-R2 (and from now on ralphy versions used with
-W option) trust strm message about sample rate and forget the header,
resulting they could not play server side upsampled wav (or aiff)
streams.

Hope is clearer.



____________________________________________________________
SB+, Klimo Merlino + Kent Gold, Monitor Audio Studio 20 Gold SE+, Klimo
reference and DIS Interconnect.
------------------------------------------------------------------------
marcoc1712's Profile: http://forums.slimdevices.com/member.php?userid=34842
View this thread: http://forums.slimdevices.com/showthread.php?t=105309
PasTim
2016-03-09 11:52:20 UTC
Permalink
marcoc1712 wrote:
> Don't worry, you are welcome, but let me abuse a little more of yor
> patient:
>
> We have General settings and Player Specific Settings in different
> pages.
>
> For each player you could decide to use the general settings (normal
> situation, as I was asking You to do) OR enable the capability to change
> same settings that you have in 'general' but for the specific player.
> This is done by unchecking the "use general settings" box. This is
> normally not necessary, and it was not in my advice in the last post.
>
>
> When you state: " I have a problem in that when I change several of the
> player-specific settings, and apply, next time I look at the settings
> they have reverted to what they were before." wich specific setting are
> you referring?
>
> Seems like a big bug, but I can't replicate it, could you please name
> one specific setting that's broken that way?
>
>
> ---
>
> If you have squeezelite and LMS on the same machine, best is to use
> "Local player plugin" and nothing more.
>
> Regards, Marco.
I really don't understand. I have different players with different
needs, so I do not see how I can use the General Settings. Currently I
can't even get squeeze2upnp to work at all with C-3PO so need to try to
set player-specific settings. But they don't work either.

I did mention two parameters that did not work before, but I'll do so
again. With squeezelite-R2 (still started with -u because I can't use
C-3PO other than to check a few things for you and I don't want to have
to chop and change that setting every time), I proceed as follows. I go
to the player, make sure 'use global' is not ticked. I press
'show/hide' (I often have to do this twice to see the settings). I
select the Resample box and change the setting to, say ' Always' from
'Only when samplerate is not supported'. I save. The player settings
disappear so I have to press show/hide again (twice). The settings I
change has not taken effect. The same is true of Quality. I always get
'High' whatever I change it to. The 'Use Global' is still not ticked
(and in fact the general settings are different from this).



LMS 7.9 on VortexBox Midi box, Xubuntu 14.04, FLACs 16->24 bit,
44.1->192kbps.
LMS plugin UPnP/DLNA Bridge to MF M1 CLiC (to 405/2 amp & ESLs) &
Marantz CR603 UPnP renderers.
Alternatively Minimserver & Upplay to same & to upmpdcli/mpd PC
renderers.
Squeezelite to Meridian USB Explorer DAC to PC speakers/headphones.
Wireless Xubuntu 15.10 laptop firefox/upplay or Android 'phone with
Squeeze-Commander/BubbleUPnP controls LMS/Minimserver.
Also a Touch with EDO, plus spare, unused.
------------------------------------------------------------------------
PasTim's Profile: http://forums.slimdevices.com/member.php?userid=41642
View this thread: http://forums.slimdevices.com/showthread.php?t=105309
marcoc1712
2016-03-09 14:10:01 UTC
Permalink
PasTim wrote:
> Currently I can't even get squeeze2upnp to work at all with C-3PO so
> need to try to set player-specific settings. But they don't work
> either.
>
> Please read the conversation with philippe_44. The way it use
> squeezelite inside its bridges require raw pcm streams, that in LMS
> means no decoding + upsampling server side. No use for C-3PO (or others)
> in this case

PasTim wrote:
>
> I really don't understand. I have different players with different
> needs, so I do not see how I can use the General Settings.

In the scenario I figured out from your indications you don't need
specific player settings other than supported sample rates and choice to
resample or decode.

If this is the case, the values in general settings are valid for all
the players and you don't need to change them, checking the "use general
settings" box is an helper function that means exactly this.

Is like to normally have one single address for all the family but name
and age for each member. If and when one of them moves to another
location, you could specify a new address for him, but all the others
still share the same old one. Just aasier than ask you to fill the
address for each member.

p.s.

Considering what philippe_44 explained about his players needs, too bad
I think there is actually no way to feed them with a server side
upsampled and decoded stream, C-3PO or not.

PasTim wrote:
>
> I did mention two parameters that did not work before, but I'll do so
> again. With squeezelite-R2 (still started with -u because I can't use
> C-3PO other than to check a few things for you and I don't want to have
> to chop and change that setting every time), I proceed as follows. I go
> to the player, make sure 'use global' is not ticked. I press
> 'show/hide' (I often have to do this twice to see the settings). I
> select the Resample box and change the setting to, say ' Always' from
> 'Only when samplerate is not supported'. I save. The player settings
> disappear so I have to press show/hide again (twice). The settings I
> change has not taken effect. The same is true of Quality. I always get
> 'High' whatever I change it to. The 'Use Global' is still not ticked
> (and in fact the general settings are different from this).

Sorry, I did not realize you mentioned those specifically, so "Resample
when" and" Quality" are the broken settings. Symptoms are you could
change them once, but not anymore, or better, they always come back to
the old value after applying. Is that correct?

Is not like this in my installation, but I'll have a better look at
this. Thanks for your help.

I'm aware you sometime have to click twice the button to show/hide
parameters, I could not find a reliable solution yet, I'll keep
searching.



____________________________________________________________
SB+, Klimo Merlino + Kent Gold, Monitor Audio Studio 20 Gold SE+, Klimo
reference and DIS Interconnect.
------------------------------------------------------------------------
marcoc1712's Profile: http://forums.slimdevices.com/member.php?userid=34842
View this thread: http://forums.slimdevices.com/showthread.php?t=105309
PasTim
2016-03-09 15:12:53 UTC
Permalink
marcoc1712 wrote:
> In the scenario I figured out from your indications you don't need
> specific player settings other than supported sample rates and choice to
> resample or decode.
>
> If this is the case, the values in general settings are valid for all
> the players and you don't need to change them, checking the "use general
> settings" box is an helper function that means exactly this.
>
> Is like to normally have one single address for all the family but name
> and age for each member. If and when one of them moves to another
> location, you could specify a new address for him, but all the others
> still share the same old one. Just aasier than ask you to fill the
> address for each member.
I don't know if there's a language problem or I am being really stupid,
but I really do not understand. Sorry. If I could get C-3PO settings
that work on each device (which seems unlikely now) I will need
player-specific settings, so surely I can't tick the 'use general
settings'? If I set 'resample' in the general setting and nothing in
player-specific then surely it means resample for all players, which
won't work for me.

> Sorry, I did not realize you mentioned those specifically, so "Resample
> when" and" Quality" are the broken settings. Symptoms are you could
> change them once, but not anymore, or better, they always come back to
> the old value after applying. Is that correct?
>
> Is not like this in my installation, but I'll have a better look at
> this. Thanks for your help.
It may well apply to all the settings - I haven't tested them all.
Where are they stored? I could try editing in place.



LMS 7.9 on VortexBox Midi box, Xubuntu 14.04, FLACs 16->24 bit,
44.1->192kbps.
LMS plugin UPnP/DLNA Bridge to MF M1 CLiC (to 405/2 amp & ESLs) &
Marantz CR603 UPnP renderers.
Alternatively Minimserver & Upplay to same & to upmpdcli/mpd PC
renderers.
Squeezelite to Meridian USB Explorer DAC to PC speakers/headphones.
Wireless Xubuntu 15.10 laptop firefox/upplay or Android 'phone with
Squeeze-Commander/BubbleUPnP controls LMS/Minimserver.
Also a Touch with EDO, plus spare, unused.
------------------------------------------------------------------------
PasTim's Profile: http://forums.slimdevices.com/member.php?userid=41642
View this thread: http://forums.slimdevices.com/showthread.php?t=105309
marcoc1712
2016-03-09 19:55:09 UTC
Permalink
PasTim wrote:
> I don't know if there's a language problem or I am being really stupid,
> but I really do not understand. Sorry. If I could get C-3PO settings
> that work on each device (which seems unlikely now) I will need
> player-specific settings, so surely I can't tick the 'use general
> settings'? If I set 'resample' in the general setting and nothing in
> player-specific then surely it means resample for all players, which
> won't work for me.
>
> It may well apply to all the settings - I haven't tested them all.
> Where are they stored? I could try editing in place.

Sure is my fault with english, but this is what we have:

GENERAL SETTINGS:

Resaple when: "Always"
Resample to "max"

PLAYER SETTINGS:

PLAYER A:

SAMPE RATES: 44100, 48000, 88200, 96000

Enable Resample (FLAC) NO
Enable Decode (FLAC) NO

is exactly the same as setting "Resample when" at Never for that player
AND FLAC, you are STILL using general setting, BUT not upsampling nor
decoding for that player when input format is FLAC.

PLAYER B:

SAMPE RATES: 44100, 48000

Enable Resample (FLAC) YES
Enable Decode (FLAC) YES

Think is clear.


If, instead, you need to , say, use Ditering for player A and not for
all the others, you need to set

GENERAL SETTINGS:

...

Dithering NO.

PLAYER A:

Use general settings NO

SHOW ->

Use dithering YES

APPLY


FOR ALL OTHER PLAYERS:

Use general settings YES.

In Your scenario You don't need to change the resampling parameters, but
just enable or disable resampling and decoding and this could and should
be done using specific per codec settings for every player.

Settings are stored in C-3PO.prefs in the .../preference/plugins folder
(see info in settings) as c3po.pref I suggest you not to edi the file
directly.

As said before, I'havent had time to better check why settings are
broken for you, i suspect is related to the mac address, could you check
please if every player has its own mac address different than
00:00:00:00:00...?



____________________________________________________________
SB+, Klimo Merlino + Kent Gold, Monitor Audio Studio 20 Gold SE+, Klimo
reference and DIS Interconnect.
------------------------------------------------------------------------
marcoc1712's Profile: http://forums.slimdevices.com/member.php?userid=34842
View this thread: http://forums.slimdevices.com/showthread.php?t=105309
PasTim
2016-03-09 20:39:37 UTC
Permalink
marcoc1712 wrote:
> Sure is my fault with english, but this is what we have:
>
> GENERAL SETTINGS:
>
> Resaple when: "Always"
> Resample to "max"
>
> PLAYER SETTINGS:
>
> PLAYER A:
>
> SAMPE RATES: 44100, 48000, 88200, 96000
>
> Enable Resample (FLAC) NO
> Enable Decode (FLAC) NO
>
> is exactly the same as setting "Resample when" at Never for that player
> AND FLAC, you are STILL using general setting, BUT not upsampling nor
> decoding for that player when input format is FLAC.
>
Is 'Enable Resampling' TO the selected (possibly transcoded) output
formats or FROM the original formats? I assumed that it was FROM the
selected formats since further down you can select the single output
(TO) format. Enable Transcoding specifically says for the output format,
which seems to duplicate the setting below, which confuses me. There's
only one output format isn't there? I think it's obvious to me that
I've failed to understand what you are trying to achieve and why the
various parameters are as they are.

> As said before, I'havent had time to better check why settings are
> broken for you, i suspect is related to the mac address, could you check
> please if every player has its own mac address different than
> 00:00:00:00:00...?The MAC addresses are different for all. I did experiment briefly, just
now, with editing the prefs directly (as an experiment) and on doing so
the changes did remain as I set that way. It was the only way I could
get the settings to be under my control, but I know that's not a
sensible thing to do and won't do so in future.

I really must let this rest now, at least for a while. If it makes
sense to use it with squeeze2upnp in future I'll come back to it, but
until then it doesn't really serve a purpose for me as far as I can see,
and has got me confused and not a little frustrated at myself for being
that way. Again - apologies.



LMS 7.9 on VortexBox Midi box, Xubuntu 14.04, FLACs 16->24 bit,
44.1->192kbps.
LMS plugin UPnP/DLNA Bridge to MF M1 CLiC (to 405/2 amp & ESLs) &
Marantz CR603 UPnP renderers.
Alternatively Minimserver & Upplay to same & to upmpdcli/mpd PC
renderers.
Squeezelite to Meridian USB Explorer DAC to PC speakers/headphones.
Wireless Xubuntu 15.10 laptop firefox/upplay or Android 'phone with
Squeeze-Commander/BubbleUPnP controls LMS/Minimserver.
Also a Touch with EDO, plus spare, unused.
------------------------------------------------------------------------
PasTim's Profile: http://forums.slimdevices.com/member.php?userid=41642
View this thread: http://forums.slimdevices.com/showthread.php?t=105309
philippe_44
2016-03-09 21:19:09 UTC
Permalink
PasTim wrote:
> Is 'Enable Resampling' TO the selected (possibly transcoded) output
> formats or FROM the original formats? I assumed that it was FROM the
> selected formats since further down you can select the single output
> (TO) format. Enable Transcoding specifically says for the output format,
> which seems to duplicate the setting below, which confuses me. There's
> only one output format isn't there? I think it's obvious to me that
> I've failed to understand what you are trying to achieve and why the
> various parameters are as they are.
>
> The MAC addresses are different for all. I did experiment briefly, just
> now, with editing the prefs directly (as an experiment) and on doing so
> the changes did remain as I set that way. It was the only way I could
> get the settings to be under my control, but I know that's not a
> sensible thing to do and won't do so in future.
>
> I really must let this rest now, at least for a while. If it makes
> sense to use it with squeeze2upnp in future I'll come back to it, but
> until then it doesn't really serve a purpose for me as far as I can see,
> and has got me confused and not a little frustrated at myself for being
> that way. Again - apologies.

Hi Tim - I've not gone through the whole post in details, but is there
some specific goal you have ? I can work on making sq2u adaptation for
you if you want to



LMS 7.7.5 - 5xRadio, 3xBoom, 4xDuet, 1xTouch, 1 SB2. Sonos 2xPLAY:1,
PLAY:3, PLAY:5, Marantz NR1603, JBL OnBeat, XBMC, Foobar2000, XBoxOne,
JRiver 21, Chromecast Audio, Chromecast v1, Pi B2, Pi B+, 2xPi A+,
Odroid-C1, Cubie2
------------------------------------------------------------------------
philippe_44's Profile: http://forums.slimdevices.com/member.php?userid=17261
View this thread: http://forums.slimdevices.com/showthread.php?t=105309
PasTim
2016-03-09 22:53:18 UTC
Permalink
philippe_44 wrote:
> Hi Tim - I've not gone through the whole post in details, but is there
> some specific goal you have ? I can work on making sq2u adaptation for
> you if you want toHi philippe. No, not really. I started looking for a current version
of squeezelite (to make sure I could get one when googlecode goes away)
and was just trying this out at the same time. After a while I reckoned
that C-3PO would only work with upsampling for squeezelite (but am still
not sure why it wouldn't work with sq2u if upsampling to flac - if that
works). I then got into a muddle I never really got out of, and decided
that unless sq2u was fully compatible the exercise was mostly not worth
my while since most of my listening is through sq2u (for which still
many thanks). If sq2u and C-3PO were compatible, then I might use it to
upsample tracks as wav 24/192000 to my M1 CLiC renderer Of course it's
possible that wouldn't work due to some renderer limitation but I
believe it should (one never knows.....).

Having said that, I can't suggest it's worth your effort just for me to
play around with, unless others want something like it as well (putting
the processing load on the server, although increasing the network load
on the renderer). I'm also somewhat concerned that I might get other
issues using C-3PO. It seems to disable several transcodings, which
could give me other problems. For instance, my M1 CLiC isn't very happy
with aac, so I transcode that to flac (for use with the BBC iPlayer).



LMS 7.9 on VortexBox Midi box, Xubuntu 14.04, FLACs 16->24 bit,
44.1->192kbps.
LMS plugin UPnP/DLNA Bridge to MF M1 CLiC (to 405/2 amp & ESLs) &
Marantz CR603 UPnP renderers.
Alternatively Minimserver & Upplay to same & to upmpdcli/mpd PC
renderers.
Squeezelite to Meridian USB Explorer DAC to PC speakers/headphones.
Wireless Xubuntu 15.10 laptop firefox/upplay or Android 'phone with
Squeeze-Commander/BubbleUPnP controls LMS/Minimserver.
Also a Touch with EDO, plus spare, unused.
------------------------------------------------------------------------
PasTim's Profile: http://forums.slimdevices.com/member.php?userid=41642
View this thread: http://forums.slimdevices.com/showthread.php?t=105309
marcoc1712
2016-03-10 17:26:28 UTC
Permalink
PasTim wrote:
> Hi philippe. No, not really. I started looking for a current version
> of squeezelite (to make sure I could get one when googlecode goes away)
> and was just trying this out at the same time. After a while I reckoned
> that C-3PO would only work with upsampling for squeezelite (but am still
> not sure why it wouldn't work with sq2u if upsampling to flac - if that
> works). I then got into a muddle I never really got out of, and decided
> that unless sq2u was fully compatible the exercise was mostly not worth
> my while since most of my listening is through sq2u (for which still
> many thanks). If sq2u and C-3PO were compatible, then I might use it to
> upsample tracks as wav 24/192000 to my M1 CLiC renderer Of course it's
> possible that wouldn't work due to some renderer limitation but I
> believe it should (one never knows.....).
>
> Having said that, I can't suggest it's worth your effort just for me to
> play around with, unless others want something like it as well (putting
> the processing load on the server, although increasing the network load
> on the renderer). I'm also somewhat concerned that I might get other
> issues using C-3PO. It seems to disable several transcodings, which
> could give me other problems. For instance, my M1 CLiC isn't very happy
> with aac, so I transcode that to flac (for use with the BBC iPlayer).

Just two notes:

1. C-3PO isn't disabling anything, it just leave LMS handle Lossy codecs
'as usual', as if it was not there. You could arrange to decode aac to
flac via custom-convert.conf (or any other way you are used to) no
matter if C-3PO is installed or not.

I personally don't think is a valuable practice to upsample or decode
lossy formats, that's why is not in C-3PO, but this is up to you.

Anyway, adding support to other codecs in C-3PO it's feasible, if there
is a real needs I could think about it.

2. C-3PO could upsample and encode to flac (this is what is going to
happen: decode to pcm, upsample, encode pcm to flac) and in that case
LMS is also producing correct strm messages. Any player capable to play
flac at that output sample rate and bit depth could play that stream,
included 'normal' versions of squeezelite.

Was the 'normal' way we used to upsample server side before
squeezelite-R2.

I personally think is quite a waste of power (you then have your client
decode a much bigger stream to pcm, in order to play it), but is still
there.



____________________________________________________________
SB+, Klimo Merlino + Kent Gold, Monitor Audio Studio 20 Gold SE+, Klimo
reference and DIS Interconnect.
------------------------------------------------------------------------
marcoc1712's Profile: http://forums.slimdevices.com/member.php?userid=34842
View this thread: http://forums.slimdevices.com/showthread.php?t=105309
PasTim
2016-03-10 17:47:06 UTC
Permalink
marcoc1712 wrote:
> Just two notes:
>
> 1. C-3PO isn't disabling anything, it just leave LMS handle Lossy codecs
> 'as usual', as if it was not there. You could arrange to decode aac to
> flac via custom-convert.conf (or any other way you are used to) no
> matter if C-3PO is installed or not.
>
> I personally don't think is a valuable practice to upsample or decode
> lossy formats, that's why is not in C-3PO, but this is up to you.
>
> Anyway, adding support to other codecs in C-3PO it's feasible, if there
> is a real needs I could think about it.
>
>
I need to transcode aac to flac because my renderer hardly plays at all
with aac (it should work, but it doesn't properly). To do this I just
set the File Types in the Settings to support aac to flac transcoding,
and make sure that my renderer does not announce its ability to support
aac (I can do this with squeeze2upnp settings). I have no need to
tinker with custom-convert.conf for this to work. I think you are
saying this will still work.

>
> 2. C-3PO could upsample and encode to flac (this is what is going to
> happen: decode to pcm, upsample, encode pcm to flac) and in that case
> LMS is also producing correct strm messages. Any player capable to play
> flac at that output sample rate and bit depth could play that stream,
> included 'normal' versions of squeezelite.
>
> Was the 'normal' way we used to upsample server side before
> squeezelite-R2.
>
> I personally think is quite a waste of power (you then have your client
> decode a much bigger stream to pcm, in order to play it), but is still
> there.
I don't understand what you are referring to here. As I understand it,
and I think you said earlier, C-3PO doesn't upsample aac (or many others
codecs - that's fine with me). So when you say 'C-3PO could' do you
mean 'C-3PO might in the future', or 'C-3PO already can'? If it
'already can', how would I set that up?



LMS 7.9 on VortexBox Midi box, Xubuntu 14.04, FLACs 16->24 bit,
44.1->192kbps.
LMS plugin UPnP/DLNA Bridge to MF M1 CLiC (to 405/2 amp & ESLs) &
Marantz CR603 UPnP renderers.
Alternatively Minimserver & Upplay to same & to upmpdcli/mpd PC
renderers.
Squeezelite to Meridian USB Explorer DAC to PC speakers/headphones.
Wireless Xubuntu 15.10 laptop firefox/upplay or Android 'phone with
Squeeze-Commander/BubbleUPnP controls LMS/Minimserver.
Also a Touch with EDO, plus spare, unused.
------------------------------------------------------------------------
PasTim's Profile: http://forums.slimdevices.com/member.php?userid=41642
View this thread: http://forums.slimdevices.com/showthread.php?t=105309
marcoc1712
2016-03-10 22:40:46 UTC
Permalink
PasTim wrote:
>
>
>
> So the codecs listed next to Enable Resampling are the FROM codecs? ie
> only Resample for tracks that are already in the codecs listed on the
> same line?

You are asked to check the box UNDER each FROM codec to enable it (or
uncheck to disable) it's a table, each line header is a FROM CODEC, in
other words, a file format C-3PO could handle, eventually transcode and
serve to the player.

PasTim wrote:
>
> So the codecs listed next to Enable Transcoding are the FROM codecs? ie
> only Transcode for tracks that are already in the codecs listed on the
> same line? That's not how I read the information tip on the GUI, which
> may be one cause of my puzzlement.
>
> same as before
> Witch was confusing you? My bad English could easily be the cause.
> Please give me a better sentence and I'll replace.
>
> > PasTim wrote:
> >
> > I think I may now understand. Thanks. > >
>
> Good.
>
> > PasTim wrote:
> >
> > I need to transcode aac to flac because my renderer hardly plays at all
> > with aac (it should work, but it doesn't properly). To do this I just
> > set the File Types in the Settings to support aac to flac transcoding,
> > and make sure that my renderer does not announce its ability to support
> > aac (I can do this with squeeze2upnp settings). I have no need to
> > tinker with custom-convert.conf for this to work. I think you are
> > saying this will still work.> >
>
> Yes, it should and No, you don't need custom-convert.conf (or C-3PO)
> when not upsampling.


PasTim wrote:
>
> I don't understand what you are referring to here. As I understand it,
> and I think you said earlier, C-3PO doesn't upsample aac (or many others
> codecs - that's fine with me). So when you say 'C-3PO could' do you
> mean 'C-3PO might in the future', or 'C-3PO already can'? If it
> 'already can', how would I set that up?

No, it could not actually as for any lossy codec, but sure it could
encode to flac and upsample in the same process ANY of the supported
input codec (flac included). In this case, ANY player should play so
transcoded streams, no special needs for squeezelite-R2 or -W.

---

By the way, You helped me to found a bug that I've inserted in the last
version trying to solve the double click problem (...and not enough
tested...).

All the settings that where under control of the show/hide button where
broken when having two or more players active at same time, now I've
removed that button and added a new check box to show or hide those
settings. I know is not that elegant, but as far as I understand the
html dialect LMS is using here, is needed to avoid that problem.

To show or Hide as for use general settings or enable specific player
ones, you then have to set the check box and click apply. Hope is not
too confusing.

Thanks for your help in discovering this bug.

By the way, tonight I've had a try to the Ralphy squeezelite version
with -W option and is working like a charms.

Cheers, Marco.



____________________________________________________________
SB+, Klimo Merlino + Kent Gold, Monitor Audio Studio 20 Gold SE+, Klimo
reference and DIS Interconnect.
------------------------------------------------------------------------
marcoc1712's Profile: http://forums.slimdevices.com/member.php?userid=34842
View this thread: http://forums.slimdevices.com/showthread.php?t=105309
PasTim
2016-03-11 09:50:52 UTC
Permalink
Hi Marco,

I'm really glad you found that bug. It's now possible for me to test
individual settings easily and reliably. Previously I was not sure what
settings were being used, so got very confused.

For the 'Enable transcoding' setting, it would have helped me if the
information had said something like 'Enable transcoding from these
codecs to the output format selected below', and for 'Enable resampling'
something like 'Enable resampling from these codecs' would be clearer.

And to testing, it seems my system (Intel(R) Atom(TM) CPU D525 @
1.80GHz, 4 cores) isn't powerful enough to upsample from 16/44100 to
best WAV using squeezelite-R2 and a Meridian Explorer USB DAC which can
play 24/192000. I get 100% cpu from sox and squeezeboxserver and
crackles and pops. Upsampling to flac I got squeezelite-R2 to crash.


For my other UPnP players using squeeeze2upnp, upsampling to flac
doesn't work well for me. squeeze2upnp has some slightly complex logic
about how to pause and/or reposition tracks and this doesn't seem to
work when C-3PO is in the loop.

To conclude it's great that one can now test in a logical fashion and
try each option for each player to see what effect it has. But C-3PO is
not for my system as it is now.

Thanks for bearing with my slow understanding and queries. I do
appreciate it.



LMS 7.9 on VortexBox Midi box, Xubuntu 14.04, FLACs 16->24 bit,
44.1->192kbps.
LMS plugin UPnP/DLNA Bridge to MF M1 CLiC (to 405/2 amp & ESLs) &
Marantz CR603 UPnP renderers.
Alternatively Minimserver & Upplay to same & to upmpdcli/mpd PC
renderers.
Squeezelite to Meridian USB Explorer DAC to PC speakers/headphones.
Wireless Xubuntu 15.10 laptop firefox/upplay or Android 'phone with
Squeeze-Commander/BubbleUPnP controls LMS/Minimserver.
Also a Touch with EDO, plus spare, unused.
------------------------------------------------------------------------
PasTim's Profile: http://forums.slimdevices.com/member.php?userid=41642
View this thread: http://forums.slimdevices.com/showthread.php?t=105309
marcoc1712
2016-03-11 13:26:40 UTC
Permalink
PasTim wrote:
> Hi Marco,
>
> I'm really glad you found that bug. It's now possible for me to test
> individual settings easily and reliably. Previously I was not sure what
> settings were being used, so got very confused.
>
> For the 'Enable transcoding' setting, it would have helped me if the
> information had said something like 'Enable transcoding from these
> codecs to the output format selected below', and for 'Enable resampling'
> something like 'Enable resampling from these codecs' would be clearer.
>
> And to testing, it seems my system (Intel(R) Atom(TM) CPU D525 @
> 1.80GHz, 4 cores) isn't powerful enough to upsample from 16/44100 to
> best WAV using squeezelite-R2 and a Meridian Explorer USB DAC which can
> play 24/192000. I get 100% cpu from sox and squeezeboxserver and
> crackles and pops. Upsampling to flac I got squeezelite-R2 to crash.
>
>
> For my other UPnP players using squeeeze2upnp, upsampling to flac
> doesn't work well for me. squeeze2upnp has some slightly complex logic
> about how to pause and/or reposition tracks and this doesn't seem to
> work when C-3PO is in the loop.
>
> To conclude it's great that one can now test in a logical fashion and
> try each option for each player to see what effect it has. But C-3PO is
> not for my system as it is now.
>
> Thanks for bearing with my slow understanding and queries. I do
> appreciate it.

You are welcome,

About performance, Crackles and pops - if format is supported form your
DAC and you restarted it after changes - are symptom that you are asking
too much from your system, probably Atom is not adeguate for server
purpose, if upsampling. Firts things to try is increase the buffer size
in Squeezelite (with 192/24 wav a minimal setting is -b 16384:16384, but
if you have enough memory, you could even double them or more) and use
greater period size in alsa (lower period size = greater CPU usage).

I use an old AMD Dual core 6000+ 3GHz with 4 GB Ram, Ubuntu 15.04 and I
could esaily upsample form 44100 to 384Khz and decode form any codec to
WAV or AIFF, SOX is sometime using 50% of CPU, but never had a crash of
LMS.

Realy strange Squeezelite crash, if launched without -u, it should use
very, very low cpu (< 1%) and less than 50 Mb (depending on buffer
size). A lot of people use it on a Futro S450, that's a sempron Thin
Client, with 1 GB RAM with great results, I have an AlixBoard and an
Atom miniPc and never had a problem, works very well even on tiny ARM
devices.

Coul dyou please post the squeezelite-R2 command line and maybe its
log?

Thanks a lot.



____________________________________________________________
SB+, Klimo Merlino + Kent Gold, Monitor Audio Studio 20 Gold SE+, Klimo
reference and DIS Interconnect.
------------------------------------------------------------------------
marcoc1712's Profile: http://forums.slimdevices.com/member.php?userid=34842
View this thread: http://forums.slimdevices.com/showthread.php?t=105309
PasTim
2016-03-11 16:51:15 UTC
Permalink
marcoc1712 wrote:
> You are welcome,
>
> About performance, Crackles and pops - if your DAC is supporting the
> sent format and you restarted it after changes - are symptom that you
> are asking too much from your system, probably Atom is not adeguate for
> server purpose, when upsampling. Firts things to try is increase the
> buffer size in Squeezelite (with 192/24 wav a minimal setting is -b
> 16384:16384, but if you have enough memory, you could even double them
> or more) and use greater period size in alsa (lower period size =
> greater CPU usage).
>
> I use an old AMD Dual core 6000+ 3GHz with 4 GB Ram, Ubuntu 15.04 and I
> could esaily upsample form 44100 to 384Khz and decode form any codec to
> WAV or AIFF, SOX is sometime using 50% of CPU, but never had a crash of
> LMS.
>
> Realy strange Squeezelite crash, if launched without -u, it should use
> very, very low cpu (< 1%) and less than 50 Mb (depending on buffer
> size). A lot of people use it on a Futro S450, that's a sempron Thin
> Client, with 1 GB RAM with great results, I have an AlixBoard and an
> Atom miniPc and never had a problems, works very well even on tiny ARM
> devices.
>
> Could you please post the squeezelite-R2 command line and maybe its
> log?
>
> Thanks a lot.
I'm not going to try any more tests now, since I don't think I can get
this working well enough for all my devices at the same time.

The command line for squeezelite when using C-3PO is something like:

/home/me/bin/squeezelite-x86-64 -o hw:CARD=DAC,DEV=0 -a 60 -f
/var/log/squeezeboxserver/squeezelite.log -m 00:00:00:00:00:98 -n
VBslite -s localhost:3483 -r 192000-192000

When running without C-3PO I currently upsample flacs to squeezelite at
24/192000 and that's sufficient for my needs - I add -u vLX to get
this.

I'm afraid I have no log - Sorry.



LMS 7.9 on VortexBox Midi box, Xubuntu 14.04, FLACs 16->24 bit,
44.1->192kbps.
LMS plugin UPnP/DLNA Bridge to MF M1 CLiC (to 405/2 amp & ESLs) &
Marantz CR603 UPnP renderers.
Alternatively Minimserver & Upplay to same & to upmpdcli/mpd PC
renderers.
Squeezelite to Meridian USB Explorer DAC to PC speakers/headphones.
Wireless Xubuntu 15.10 laptop firefox/upplay or Android 'phone with
Squeeze-Commander/BubbleUPnP controls LMS/Minimserver.
Also a Touch with EDO, plus spare, unused.
------------------------------------------------------------------------
PasTim's Profile: http://forums.slimdevices.com/member.php?userid=41642
View this thread: http://forums.slimdevices.com/showthread.php?t=105309
mcduman
2017-05-09 10:56:03 UTC
Permalink
Hi Marco,

Thanks for the fantastic job. Just a quick question. The plug in works
fine in general. but when I am trying to convert flac to wav and
upsample to 24/88.2, my dac reads 16/88.2. In other words, I get 88.2kHz
but not 24 bit. Here is the command:

"/var/lib/squeezeboxserver/cache/InstalledPlugins/Plugins/C3PO/Bin/C-3PO"
-b -p "/var/lib/squeezeboxserver/prefs/plugin/C3PO.prefs" -l
"/var/log/squeezeboxserver/" -x "/usr/sbin"
"/tmp/C31494220047header.flc" --nodebuglog --noinfolog |
"/usr/share/squeezeboxserver/Bin/armhf-linux/flac" -dcs --totally-silent
-- - | "/usr/share/squeezeboxserver/Bin/armhf-linux/sox" -q -t wav - -t
wav -b 24 --buffer 8192 - rate -v -L -b 90.7 88200

The 24 bit part is in the command but the output is 16 bit.


------------------------------------------------------------------------
mcduman's Profile: http://forums.slimdevices.com/member.php?userid=66702
View this thread: http://forums.slimdevices.com/showthread.php?t=105309
marcoc1712
2017-05-09 12:28:54 UTC
Permalink
mcduman wrote:
> Hi Marco,
>
> Thanks for the fantastic job. Just a quick question. The plug in works
> fine in general. but when I am trying to convert flac to wav and
> upsample to 24/88.2, my dac reads 16/88.2. In other words, I get 88.2kHz
> but not 24 bit. Here is the command:
>
> "/var/lib/squeezeboxserver/cache/InstalledPlugins/Plugins/C3PO/Bin/C-3PO"
> -b -p "/var/lib/squeezeboxserver/prefs/plugin/C3PO.prefs" -l
> "/var/log/squeezeboxserver/" -x "/usr/sbin"
> "/tmp/C31494220047header.flc" --nodebuglog --noinfolog |
> "/usr/share/squeezeboxserver/Bin/armhf-linux/flac" -dcs --totally-silent
> -- - | "/usr/share/squeezeboxserver/Bin/armhf-linux/sox" -q -t wav - -t
> wav -b 24 --buffer 8192 - rate -v -L -b 90.7 88200
>
> The 24 bit part is in the command but the output is 16 bit.

Sox is exiting 24 bit for sure, probably is the player that convert back
(truncate) to 16.

Are you using squeezelite?

If so, please check alsa parameters (-a x:y:z:w) where z is the bit
depth, maybe is forced at 16 here? Please try with these values: -a
40:3:: (you could hange 40 and 3 as you like).

If not or if you get 16 bit anyway, probably you have an hardware limit,
make you sure you apply a Dither at 16 bit.



____________________________________________________________
SB+, Klimo Merlino + Kent Gold, Monitor Audio Studio 20 Gold SE+, Klimo
reference and DIS Interconnect.
------------------------------------------------------------------------
marcoc1712's Profile: http://forums.slimdevices.com/member.php?userid=34842
View this thread: http://forums.slimdevices.com/showthread.php?t=105309
mcduman
2017-05-10 07:06:08 UTC
Permalink
marcoc1712 wrote:
> Sox is exiting 24 bit for sure, probably is the player that convert back
> (truncate) to 16.
>
> Are you using squeezelite?
>
> If so, please check alsa parameters (-a x:y:z:w) where z is the bit
> depth, maybe is forced at 16 here? Please try with these values: -a
> 40:3:: (you could hange 40 and 3 as you like).
>
> If not or if you get 16 bit anyway, probably you have an hardware limit,
> make you sure you apply a Dither at 16 bit.

Hi Marco,

Yes squeezelite:

/usr/bin/squeezelite-armv6hf - o hw:CARD=sndrpihifiberry,DEV=0 -W -n
name -m xx xx xx xx xx xx -s 127.0.0.1 -a 80

this is a 24/192 hifiberry device.


------------------------------------------------------------------------
mcduman's Profile: http://forums.slimdevices.com/member.php?userid=66702
View this thread: http://forums.slimdevices.com/showthread.php?t=105309
marcoc1712
2017-05-10 10:38:23 UTC
Permalink
mcduman wrote:
> Hi Marco,
>
> Yes squeezelite:
>
> /usr/bin/squeezelite-armv6hf - o hw:CARD=sndrpihifiberry,DEV=0 -W -n
> name -m xx xx xx xx xx xx -s 127.0.0.1 -a 80
>
> this is a 24/192 hifiberry device.

Could you try to add alog to squeezelite, this way:


Code:
--------------------

/usr/bin/squeezelite-armv6hf - o hw:CARD=sndrpihifiberry,DEV=0 -W -n name -m xx xx xx xx xx xx -s 127.0.0.1 -a 80 -d stream=info -d all=info -f /var/log/squeezelite-R2.log (change the log file pathname as you like).

--------------------


then restart squeezelite, play a song then open the log and look for
lines like:


Code:
--------------------

...
_check_header:143 pcm size: 3 rate: 192000 chan: 2 bigendian: 0
...
alsa_open:406 opened device hw:CARD=J20 using format: S32_LE sample rate: 44100 mmap: 0
...

--------------------


Obviously values will be different.



____________________________________________________________
SB+, Klimo Merlino + Kent Gold, Monitor Audio Studio 20 Gold SE+, Klimo
reference and DIS Interconnect.
------------------------------------------------------------------------
marcoc1712's Profile: http://forums.slimdevices.com/member.php?userid=34842
View this thread: http://forums.slimdevices.com/showthread.php?t=105309
marcoc1712
2016-03-10 16:34:03 UTC
Permalink
PasTim wrote:
> Is 'Enable Resampling' TO the selected (possibly transcoded) output
> formats or FROM the original formats?

Is Resampling FROM the actual sample rate of the track being played
(unkown at the moment of settings) TO the sample rate calculated
runtime, considering the "Resample At" setting AND the ist of supported
sample rate. Take place only if Resample is enabled for the player AND
the format (codec) of that track.

Is Transcoding FROM the actual format of the track being played, always
TO the format selected in "Output format" setting. Take place only if
Transcoding is enabled for the player AND the format (codec) of that
track.

If you need player A always transcode to WAV and Player B always
transcode to Aiff, then you need to use specific player settings, if you
just need palyer B not to trascode, but mantain in output same codec
than in input, just disable transcoding for player B and all imput
codecs, no needs to specify "Output format" per player in this case.



____________________________________________________________
SB+, Klimo Merlino + Kent Gold, Monitor Audio Studio 20 Gold SE+, Klimo
reference and DIS Interconnect.
------------------------------------------------------------------------
marcoc1712's Profile: http://forums.slimdevices.com/member.php?userid=34842
View this thread: http://forums.slimdevices.com/showthread.php?t=105309
PasTim
2016-03-10 17:35:49 UTC
Permalink
marcoc1712 wrote:
> Is Resampling FROM the actual sample rate of the track being played
> (unkown at the moment of settings) TO the sample rate calculated
> runtime, considering the "Resample At" setting AND the ist of supported
> sample rate. Take place only if Resample is enabled for the player AND
> the format (codec) of that track.
>
So the codecs listed next to Enable Resampling are the FROM codecs? ie
only Resample for tracks that are already in the codecs listed on the
same line?
> Is Transcoding FROM the actual format of the track being played, always
> TO the format selected in "Output format" setting. Take place only if
> Transcoding is enabled for the player AND the format (codec) of that
> track.
So the codecs listed next to Enable Transcoding are the FROM codecs? ie
only Transcode for tracks that are already in the codecs listed on the
same line? That's not how I read the information tip on the GUI, which
may be one cause of my puzzlement.
> If you need player A always transcode to WAV and Player B always
> transcode to Aiff, then you need to use specific player settings, if you
> just need palyer B not to trascode, but mantain in output same codec
> than in input, just disable transcoding for player B and all imput
> codecs, no needs to specify "Output format" per player in this case.
I think I may now understand. Thanks.



LMS 7.9 on VortexBox Midi box, Xubuntu 14.04, FLACs 16->24 bit,
44.1->192kbps.
LMS plugin UPnP/DLNA Bridge to MF M1 CLiC (to 405/2 amp & ESLs) &
Marantz CR603 UPnP renderers.
Alternatively Minimserver & Upplay to same & to upmpdcli/mpd PC
renderers.
Squeezelite to Meridian USB Explorer DAC to PC speakers/headphones.
Wireless Xubuntu 15.10 laptop firefox/upplay or Android 'phone with
Squeeze-Commander/BubbleUPnP controls LMS/Minimserver.
Also a Touch with EDO, plus spare, unused.
------------------------------------------------------------------------
PasTim's Profile: http://forums.slimdevices.com/member.php?userid=41642
View this thread: http://forums.slimdevices.com/showthread.php?t=105309
PasTim
2016-03-09 14:12:58 UTC
Permalink
PasTim wrote:
> I really don't understand. I have different players with different
> needs, so I do not see how I can use the General Settings. Currently I
> can't even get squeeze2upnp to work at all with C-3PO so need to try to
> set player-specific settings. But they don't work either.
>
> I did mention two parameters that did not work before, but I'll do so
> again. With squeezelite-R2 (still started with -u because I can't use
> C-3PO other than to check a few things for you and I don't want to have
> to chop and change that setting every time), I proceed as follows. I go
> to the player, make sure 'use global' is not ticked. I press
> 'show/hide' (I often have to do this twice to see the settings). I
> select the Resample box and change the setting to, say ' Always' from
> 'Only when samplerate is not supported'. I save. The player settings
> disappear so I have to press show/hide again (twice). The settings I
> change has not taken effect. The same is true of Quality. I always get
> 'High' whatever I change it to. The 'Use Global' is still not ticked
> (and in fact the general settings are different from this).
I've tried again, same result. If I set the Global settings to avoid
any transcoding/resampling then I can (finally) get squeeze2upnp to
work, but I can't get squeezelite-R2 to work with that Global Setting
and the player-specific settings simply don't seems to ever stay as I
set them. As soon as I Apply, they go back to what they were. There
must be some sort of issue there.

You might want to notice that squeeze2upnp reports itself as being
squeezelite (this was to support ickStream if I remember correctly) so
C-3PO might be getting confused by having both compliant (R2) and
non-compliant players.



LMS 7.9 on VortexBox Midi box, Xubuntu 14.04, FLACs 16->24 bit,
44.1->192kbps.
LMS plugin UPnP/DLNA Bridge to MF M1 CLiC (to 405/2 amp & ESLs) &
Marantz CR603 UPnP renderers.
Alternatively Minimserver & Upplay to same & to upmpdcli/mpd PC
renderers.
Squeezelite to Meridian USB Explorer DAC to PC speakers/headphones.
Wireless Xubuntu 15.10 laptop firefox/upplay or Android 'phone with
Squeeze-Commander/BubbleUPnP controls LMS/Minimserver.
Also a Touch with EDO, plus spare, unused.
------------------------------------------------------------------------
PasTim's Profile: http://forums.slimdevices.com/member.php?userid=41642
View this thread: http://forums.slimdevices.com/showthread.php?t=105309
marcoc1712
2016-03-09 19:31:25 UTC
Permalink
PasTim wrote:
> I've tried again, same result. If I set the Global settings to avoid
> any transcoding/resampling then I can (finally) get squeeze2upnp to
> work, but I can't get squeezelite-R2 to work with that Global Setting .

That's correct.

PasTim wrote:
>
> and the player-specific settings simply don't seems to ever stay as I
> set them. As soon as I Apply, they go back to what they were. There
> must be some sort of issue there.

All the players has its own different mac address correct? The key for
settings is the player id (mac address).

PasTim wrote:
>
> You might want to notice that squeeze2upnp reports itself as being
> squeezelite (this was to support ickStream if I remember correctly) so
> C-3PO might be getting confused by having both compliant (R2) and
> non-compliant players.

No, it should not, it should instead give you a warning if you choose
to resample and decode to pcm, as only squeezelite is (was) capable to
handle this situation,

This afternoon I had a problem and I'll have no time to check this
untill tomorrow. Let me try to simulate your scenario and see what's
happening.



____________________________________________________________
SB+, Klimo Merlino + Kent Gold, Monitor Audio Studio 20 Gold SE+, Klimo
reference and DIS Interconnect.
------------------------------------------------------------------------
marcoc1712's Profile: http://forums.slimdevices.com/member.php?userid=34842
View this thread: http://forums.slimdevices.com/showthread.php?t=105309
philippe_44
2016-03-09 11:35:35 UTC
Permalink
I think it is, let me try - you create systematically transcoding rules
where, contrary to the build-in ones, you do not ask the transcoder to
output raw PCM (eg the -p option -I think- of flac), you ask it to
output wav or aif (which are PCM with a header) and LMS bravely output
the transcoded result as a blob so you end up in a stream with a wav/aif
header that you decode at the other end, but you need a compatible
player. This is a clever trick but my bridges (upnp, chromecast,
AirPlay) use a very heavily modified version of squeezelite that expects
PCM as raw, hence I guess the confusion with PasTim



LMS 7.7.5 - 5xRadio, 3xBoom, 4xDuet, 1xTouch, 1 SB2. Sonos 2xPLAY:1,
PLAY:3, PLAY:5, Marantz NR1603, JBL OnBeat, XBMC, Foobar2000, XBoxOne,
JRiver 21, Chromecast Audio, Chromecast v1, Pi B2, Pi B+, 2xPi A+,
Odroid-C1, Cubie2
------------------------------------------------------------------------
philippe_44's Profile: http://forums.slimdevices.com/member.php?userid=17261
View this thread: http://forums.slimdevices.com/showthread.php?t=105309
marcoc1712
2016-03-09 13:18:57 UTC
Permalink
philippe_44 wrote:
> I think it is, let me try - you create systematically transcoding rules
> where, contrary to the build-in ones, you do not ask the transcoder to
> output raw PCM (eg the -p option -I think- of flac), you ask it to
> output wav or aif (which are PCM with a header) and LMS bravely output
> the transcoded result as a blob so you end up in a stream with a wav/aif
> header that you decode at the other end, but you need a compatible
> player. This is a clever trick but my bridges (upnp, chromecast,
> AirPlay) use a very heavily modified version of squeezelite that expects
> PCM as raw, hence I guess the confusion with PasTim

Yep, I supposed was like that. But this is not me, is LMS.

Without C-3PO you should define same rules in custom-convert.conf
obtaining same result, then still needing a modfied version of
squeezelite.

Is not clear to me what are you referring with "the -p option -I think-
of flac", if you are referring to flac.exe transcoding command, I use
something equivalent to:

flc pcm squeezelite *
# FT:{START=--skip=%t}U:{END=--until=%v}
[flac] -dcs $START$ $END$ -- $FILE$ |[sox] -q -t wav - -t wav -r 192000
-c 2 -3 -s -L - gain -3 rate -v


where SOX upsampling parameters hare there if you ask to upsample,
othervise the pipe end just before, with FLAC decoding to WAV (I use
flac in this case becouse seek capaility is required, if not, I'll use
just SOX).

Is still not clear to meif, how and where you upsample.

To bad your bridges needs raw pcm, this way they could not receive
server side upsampled and decoded streams. Those little devices have too
low horse power for heavy upsampling but far enought to just receiveplay
back hi res streams. Squeezelite-R2 is aimed to power this kind of
devices and let use them in high quality systems instead of noisy, power
hungry big computers.

Maybe we could work on this, please ask if you'd like to.



____________________________________________________________
SB+, Klimo Merlino + Kent Gold, Monitor Audio Studio 20 Gold SE+, Klimo
reference and DIS Interconnect.
------------------------------------------------------------------------
marcoc1712's Profile: http://forums.slimdevices.com/member.php?userid=34842
View this thread: http://forums.slimdevices.com/showthread.php?t=105309
philippe_44
2016-03-09 15:14:03 UTC
Permalink
Just a note: squeeze2upnp assumes that when receiving 'pcm' data, they
are in the default LMS mode, i.e. no header. If a transcoding rule
forces a wav or aiff header to be added, then it will fail.


Envoyé de mon iPad en utilisant Tapatalk



LMS 7.7.5 - 5xRadio, 3xBoom, 4xDuet, 1xTouch, 1 SB2. Sonos 2xPLAY:1,
PLAY:3, PLAY:5, Marantz NR1603, JBL OnBeat, XBMC, Foobar2000, XBoxOne,
JRiver 21, Chromecast Audio, Chromecast v1, Pi B2, Pi B+, 2xPi A+,
Odroid-C1, Cubie2
------------------------------------------------------------------------
philippe_44's Profile: http://forums.slimdevices.com/member.php?userid=17261
View this thread: http://forums.slimdevices.com/showthread.php?t=105309
marcoc1712
2016-03-09 20:08:52 UTC
Permalink
philippe_44 wrote:
> Just a note: squeeze2upnp assumes that when receiving 'pcm' data, they
> are in the default LMS mode, i.e. no header. If a transcoding rule
> forces a wav or aiff header to be added, then it will fail.
>
> Envoyé de mon iPad en utilisant Tapatalk

I assume that, as for all other players, is going to work only when STRM
and 'real' format is the same, adding a sonore "click" at the beginning,
when trying to play the header as a chunk of audio data, in other
situations result is impredictable (pops, clicks, with noise, slow
motion, fast forward...).

That's why C-3PO spots a warning message when the detected player is not
Squeezelite-R2 compliant and decode to wav/aiff is selected togheter
with resampling. Please consider that the same is going to happen (but
without any warning message) if using custom-convert.conf decoding and
upasmpling commands.



____________________________________________________________
SB+, Klimo Merlino + Kent Gold, Monitor Audio Studio 20 Gold SE+, Klimo
reference and DIS Interconnect.
------------------------------------------------------------------------
marcoc1712's Profile: http://forums.slimdevices.com/member.php?userid=34842
View this thread: http://forums.slimdevices.com/showthread.php?t=105309
marcoc1712
2017-05-12 10:57:01 UTC
Permalink
mcduman wrote:
> Hi Marco,
>
> Here is the output streaming flac from Tidal.
>
> [06:10:51.874206] _check_header:80 WAVE
> [06:10:51.874818] _check_header:104 header: fmt len: 40
> [06:10:51.874862] _check_header:142 pcm size: 3 rate: 88200 chan: 2
> bigendian: 0
> [06:10:51.874905] _check_header:104 header: fact len: 4
> [06:10:51.874946] _check_header:104 header: data len: 187696692
> [06:10:51.874988] pcm_decode:205 setting track_start
> [06:10:51.884073] _output_frames:62 start buffer frames: 19101
> [06:10:51.884181] _output_frames:147 track start sample rate: 88200
> replay_gain: 0
> [06:10:51.894261] output_thread:621 open output device:
> hw:CARD=sndrpihifiberry,DEV=0
> [06:10:51.894529] alsa_open:338 opening device at: 88200
> [06:10:51.895160] alsa_open:389 opened device
> hw:CARD=sndrpihifiberry,DEV=0 using format: S32_LE sample rate: 88200
> mmap: 1
> [06:10:51.895271] alsa_open:468 buffer: 80 period: 4 -> buffer size:
> 7056 period size: 1764
> [06:11:16.003087] decode_flush:227 decode flush
> [06:11:16.003296] output_flush:424 flush output buffer
> [06:11:17.628183] decode_flush:227 decode flush
> [06:11:17.628429] output_flush:424 flush output buffer

From what i see:

a. Squeezelite is receiving a 88200 Hz, 24 bit (size 3) stream form
C-3PO. ( pcm size: 3 rate: 88200 chan: 2 bigendian: 0 )
b. The ooutput device was opened DIRECTLY (hw) at 32bit, 88200 Hz using
mmap. ( opened device hw:CARD=sndrpihifiberry,DEV=0 using format: S32_LE
sample rate: 88200 mmap: 1 )

Is your DAC still receiving a 16bit stream? If this is the case, I'll
ask to the dac support service.

Out of curiosity, how could you say is 16 bit?



____________________________________________________________
SB+, Klimo Merlino + Kent Gold, Monitor Audio Studio 20 Gold SE+, Klimo
reference and DIS Interconnect.
------------------------------------------------------------------------
marcoc1712's Profile: http://forums.slimdevices.com/member.php?userid=34842
View this thread: http://forums.slimdevices.com/showthread.php?t=105309
mcduman
2017-05-12 11:51:56 UTC
Permalink
marcoc1712 wrote:
> From what i see:
>
> a. Squeezelite is receiving a 88200 Hz, 24 bit (size 3) stream form
> C-3PO. ( pcm size: 3 rate: 88200 chan: 2 bigendian: 0 )
> b. The ooutput device was opened DIRECTLY (hw) at 32bit, 88200 Hz using
> mmap. ( opened device hw:CARD=sndrpihifiberry,DEV=0 using format: S32_LE
> sample rate: 88200 mmap: 1 )
>
> Is your DAC still receiving a 16bit stream? If this is the case, I'll
> ask to the dac support service.
>
> Out of curiosity, how could you say is 16 bit?

I have a ps audio directstream dac and it reports the sample rate & bit
depth on its screen. i will bring this issue up in their forums. thanks
for your assistance.


------------------------------------------------------------------------
mcduman's Profile: http://forums.slimdevices.com/member.php?userid=66702
View this thread: http://forums.slimdevices.com/showthread.php?t=105309
mcduman
2017-05-14 08:45:22 UTC
Permalink
mcduman wrote:
> I have a ps audio directstream dac and it reports the sample rate & bit
> depth on its screen. i will bring this issue up in their forums. thanks
> for your assistance.

here is the response from the designer of the dac (DS)

QUOTE

-"The DS is reporting the number of bits that are changing. i.e. if it
reads 16 bits then the bottom 8 bits are always zero on each input
sample. In general displays of sample rate and bit rate on players
either describe the size of the samples in the input files or the size
of the samples at the last stage of processing, but they arenÂ’t looking
at the actual data in the samples like the DS is.
Either the upsampler isnÂ’t really calculating a full 24 bits per sample
or thereÂ’s some configuration parameter that causing only 16 bits to be
sent to the DAC."-

UNQUOTE

So, what SoX is doing is adding 8 zeros to the end which effectively is
again 16 bits.


------------------------------------------------------------------------
mcduman's Profile: http://forums.slimdevices.com/member.php?userid=66702
View this thread: http://forums.slimdevices.com/showthread.php?t=105309
marcoc1712
2017-05-14 10:40:30 UTC
Permalink
mcduman wrote:
> here is the response from the designer of the dac (DS)
>
> QUOTE
> -"The DS is reporting the number of bits that are changing. i.e. if it
> reads 16 bits then the bottom 8 bits are always zero on each input
> sample. In general displays of sample rate and bit rate on players
> either describe the size of the samples in the input files or the size
> of the samples at the last stage of processing, but they aren&#8217;t
> looking at the actual data in the samples like the DS is.
> Either the upsampler isn&#8217;t really calculating a full 24 bits per
> sample or there&#8217;s some configuration parameter that causing only
> 16 bits to be sent to the DAC."-
>
> UNQUOTE
> So, what SoX is doing is adding 8 zeros to the end which effectively is
> again 16 bits.

If no other processing is required Yes, the only thing it should do
when converting form 16 to 24 bit is add 8 zeroes, but SOX works
internally at 32 bit, so if any DSP is involved, the new values will
have 32 bit precision, when writing the output SOX will truncate at the
most significant bytes required by the user.

So is really depending on what you ask SOX to do. To be sure, try to
apply i.e. some gain reduction and you 'll see what happen.

By the way, other 8 zeroes are added from squeezelite, just becouse your
sound card require 32_LÂŁ format.



____________________________________________________________
SB+, Klimo Merlino + Kent Gold, Monitor Audio Studio 20 Gold SE+, Klimo
reference and DIS Interconnect.
------------------------------------------------------------------------
marcoc1712's Profile: http://forums.slimdevices.com/member.php?userid=34842
View this thread: http://forums.slimdevices.com/showthread.php?t=105309
marcoc1712
2017-05-14 11:32:43 UTC
Permalink
mcduman wrote:
> here is the response from the designer of the dac (DS)
>
> QUOTE
>
> -"The DS is reporting the number of bits that are changing. i.e. if it
> reads 16 bits then the bottom 8 bits are always zero on each input
> sample. In general displays of sample rate and bit rate on players
> either describe the size of the samples in the input files or the size
> of the samples at the last stage of processing, but they arenÂ’t looking
> at the actual data in the samples like the DS is.
> Either the upsampler isnÂ’t really calculating a full 24 bits per sample
> or thereÂ’s some configuration parameter that causing only 16 bits to be
> sent to the DAC."-
>
> UNQUOTE
>
> So, what SoX is doing is adding 8 zeros to the end which effectively is
> again 16 bits.

If no other processing is required Yes, the only thing it should do
when converting form 16 to 24 bit is add 8 zeroes, but SOX works
internally at 32 bit, so if any DSP is involved, the new values will
have 32 bit precision, when writing the output SOX will truncate at the
most significant bytes required by the user.

So is really depending on what you ask SOX to do. To be sure, try to
apply i.e. some gain reduction and you 'll see what happen.

By the way, other 8 zeroes are added from squeezelite, just becouse your
sound card require 32_LÂŁ format.

EDIT: have a look here: https://github.com/raspberrypi/linux/issues/494



____________________________________________________________
SB+, Klimo Merlino + Kent Gold, Monitor Audio Studio 20 Gold SE+, Klimo
reference and DIS Interconnect.
------------------------------------------------------------------------
marcoc1712's Profile: http://forums.slimdevices.com/member.php?userid=34842
View this thread: http://forums.slimdevices.com/showthread.php?t=105309
PasTim
2017-07-02 11:44:15 UTC
Permalink
I had trouble with this plugin being present and using other plugins,
such as "Castbridge", even though I have turned off support for those
players in C-3PO (in the player settings). I don't understand what was
happening, and didn't see anything obvious on logs, but I was getting
white noise on my Chromecast device (TV) and the "UPnP bridge" plugin
failed to play at all on one of my UPnP renderers. Removing this plugin
fixed the problem straight away.

I don't really need this plugin, I was just experimenting with it, so
for me it's no great loss. You may, however, want to take a look at
whether there are side-effects of this plugin being installed and other
squeezelite-based plugins.



LMS 7.9.1 on VortexBox Midi box, Xubuntu 17.04, FLACs 16->24 bit,
44.1->192kbps. Touch & EDO. 2nd Touch standard.
LMS plugin UPnP/DLNA Bridge to MF M1 CLiC (to A308CR amp & ESLs) &
Marantz CR603 UPnP renderers.
Alternatively Minimserver & Upplay to same & to upmpdcli/mpd PC
renderers.
Squeezelite to Meridian USB Explorer DAC to PC speakers/headphones.
Wireless Xubuntu 17.04 laptop firefox/upplay or Android 'phone with
Squeeze-Commander/BubbleUPnP controls LMS/Minimserver.
------------------------------------------------------------------------
PasTim's Profile: http://forums.slimdevices.com/member.php?userid=41642
View this thread: http://forums.slimdevices.com/showthread.php?t=105309
marcoc1712
2017-07-02 14:07:57 UTC
Permalink
PasTim wrote:
> I had trouble with this plugin being present and using other plugins,
> such as "Castbridge", even though I have turned off support for those
> players in C-3PO (in the player settings). I don't understand what was
> happening, and didn't see anything obvious on logs, but I was getting
> white noise on my Chromecast device (TV) and the "UPnP bridge" plugin
> failed to play at all on one of my UPnP renderers. Removing this plugin
> fixed the problem straight away.
>
> I don't really need this plugin, I was just experimenting with it, so
> for me it's no great loss. You may, however, want to take a look at
> whether there are side-effects of this plugin being installed and other
> squeezelite-based plugins.

C-3PO works in two ways:

a. as a Transcoder, invoked instead of SOX, Flac and others (in this
case you see C-3PO in the commmand line)
b. as an helper to build the command line, but then SOX, FLAC,... are
used at runtime.

No parts of LMS is replaced, so there is no way 'side effects' could
take place outside the command line itself. What is probalbly going on
here is that first enabling then disabling C-3PO could easily move to a
different File Type/convert setting.

Could you please post the 'LAST EXECUTED COMMAND' as presented in the
players settings when you experiment problems? Or, even better, the
"RESULTING COMMANDS" table? I know other people are using UPNP plugin
with no probs. To help me understand the problem, you should compare the
'tokenized command' issued when the plugin is disabled with the one
resulting when the plugin is enabled.


Tanks.

Marco



____________________________________________________________
SB+, Klimo Merlino + Kent Gold, Monitor Audio Studio 20 Gold SE+, Klimo
reference and DIS Interconnect.
------------------------------------------------------------------------
marcoc1712's Profile: http://forums.slimdevices.com/member.php?userid=34842
View this thread: http://forums.slimdevices.com/showthread.php?t=105309
PasTim
2017-07-02 20:43:37 UTC
Permalink
marcoc1712 wrote:
> C-3PO works in two ways:
>
> a. as a Transcoder, invoked instead of SOX, Flac and others (in this
> case you see C-3PO in the commmand line)
> b. as an helper to build the command line, but then SOX, FLAC,... are
> used at runtime.
>
> No parts of LMS is replaced, so there is no way 'side effects' could
> take place outside the command line itself. What is probalbly going on
> here is that first enabling then disabling C-3PO could easily move to a
> different File Type/convert setting.
>
> Could you please post the 'LAST EXECUTED COMMAND' as presented in the
> players settings when you experiment problems? Or, even better, the
> "RESULTING COMMANDS" table? I know other people are using UPNP plugin
> with no probs. To help me understand the problem, you should compare the
> 'tokenized command' issued when the plugin is disabled with the one
> resulting when the plugin is enabled.
>
>
> Tanks.
>
> Marco
Well, naturally, having raised the issue I can't get it to go wrong now.
I guess I did something silly, although I don't see what it can have
been. Never mind. C-3PO is back installed and all is well. I am just
left scratching my head. :)

If it goes wrong again (unlikely I guess) I will record the information
you requested.

Thanks for your attention and apologies for wasting your time.



LMS 7.9.1 on VortexBox Midi box, Xubuntu 17.04, FLACs 16->24 bit,
44.1->192kbps. Touch & EDO. 2nd Touch standard.
LMS plugin UPnP/DLNA Bridge to MF M1 CLiC (to A308CR amp & ESLs) &
Marantz CR603 UPnP renderers.
Alternatively Minimserver & Upplay to same & to upmpdcli/mpd PC
renderers.
Squeezelite to Meridian USB Explorer DAC to PC speakers/headphones.
Wireless Xubuntu 17.04 laptop firefox/upplay or Android 'phone with
Squeeze-Commander/BubbleUPnP controls LMS/Minimserver.
------------------------------------------------------------------------
PasTim's Profile: http://forums.slimdevices.com/member.php?userid=41642
View this thread: http://forums.slimdevices.com/showthread.php?t=105309
PasTim
2017-07-11 20:37:08 UTC
Permalink
I have found one peculiarity that has caused me some confusion. Without
C-3PO being installed I have a flac file table as per the 1st image.

After installing C-3PO it is as per the 2nd image. I have lost the flac
to flac (native) transcode, which I want to use much of the time.
Instead I get transcoding to aif for my Touch, which I don't want.

The flac to flac (Disabled) is a transcode I sometimes enable to use
with sox to convert stereo flacs to mono to play on a specific Touch
using headphones (I have poor hearing in one ear and this sometimes
helps).
The flac to flac (flac) transcode is for a specific UPnP player that
needs it with the UPnP Bridge. Neither player has C-3PO enabled (but
another squeezelite player does).


+-------------------------------------------------------------------+
|Filename: Screenshot from 2017-07-11 21-22-41.png |
|Download: http://forums.slimdevices.com/attachment.php?attachmentid=23094|
+-------------------------------------------------------------------+


LMS 7.9.1 on VortexBox Midi box, Xubuntu 17.04, FLACs 16->24 bit,
44.1->192kbps. Touch & EDO. 2nd Touch standard.
LMS plugin UPnP/DLNA Bridge to MF M1 CLiC (to A308CR amp & ESLs) &
Marantz CR603 UPnP renderers.
Alternatively Minimserver & Upplay to same & to upmpdcli/mpd PC
renderers.
Squeezelite to Meridian USB Explorer DAC to PC speakers/headphones.
Wireless Xubuntu 17.04 laptop firefox/upplay or Android 'phone with
Squeeze-Commander/BubbleUPnP controls LMS/Minimserver.
------------------------------------------------------------------------
PasTim's Profile: http://forums.slimdevices.com/member.php?userid=41642
View this thread: http://forums.slimdevices.com/showthread.php?t=105309
marcoc1712
2017-07-12 10:21:01 UTC
Permalink
The page "File Types Transcoding Table" inside the C-3PO player settings
shows same information as Fyle Types advanced settings page (the one you
posted) , but with the Id and model of the player printed in clear, so
it's easier understand what's going on.

Could you please post the situation BEFORE and AFTER enabling C-3PO for
the player you want to exit flac and not AIFF?

thanks a lot.


+-------------------------------------------------------------------+
|Filename: 2017-07-12.png |
|Download: http://forums.slimdevices.com/attachment.php?attachmentid=23098|
+-------------------------------------------------------------------+


____________________________________________________________
SB+, Klimo Merlino + Kent Gold, Monitor Audio Studio 20 Gold SE+, Klimo
reference and DIS Interconnect.
------------------------------------------------------------------------
marcoc1712's Profile: http://forums.slimdevices.com/member.php?userid=34842
View this thread: http://forums.slimdevices.com/showthread.php?t=105309
PasTim
2017-07-12 17:54:22 UTC
Permalink
marcoc1712 wrote:
> The page "File Types Transcoding Table" inside the C-3PO player settings
> shows same information as Fyle Types advanced settings page (the one you
> posted) , but with the Id and model of the player printed in clear, so
> it's easier understand what's going on.
>
> Could you please post the situation BEFORE and AFTER enabling C-3PO for
> the player you want to exit flac and not AIFF?
>
> thanks a lot.
Apologies, I've clearly not explained myself well enough.

Neither of the players in question ever have C-3PO enabled. The 2
pictures I posted are with and without the plugin being installed at
all. I can't show a picture of the C-3PO view of the translations when
C-3PO is not installed.



LMS 7.9.1 on VortexBox Midi box, Xubuntu 17.04, FLACs 16->24 bit,
44.1->192kbps. Touch & EDO. 2nd Touch standard.
LMS plugin UPnP/DLNA Bridge to MF M1 CLiC (to A308CR amp & ESLs) &
Marantz CR603 UPnP renderers.
Alternatively Minimserver & Upplay to same & to upmpdcli/mpd PC
renderers.
Squeezelite to Meridian USB Explorer DAC to PC speakers/headphones.
Wireless Xubuntu 17.04 laptop firefox/upplay or Android 'phone with
Squeeze-Commander/BubbleUPnP controls LMS/Minimserver.
------------------------------------------------------------------------
PasTim's Profile: http://forums.slimdevices.com/member.php?userid=41642
View this thread: http://forums.slimdevices.com/showthread.php?t=105309
marcoc1712
2017-07-13 09:16:51 UTC
Permalink
PasTim wrote:
> Apologies, I've clearly not explained myself well enough.
>
> Neither of the players in question ever have C-3PO enabled. The 2
> pictures I posted are with and without the plugin being installed at
> all. I can't show a picture of the C-3PO view of the translations when
> C-3PO is not installed.

I see, my fault, I was thinking C-3P0 was installed but disabled for
specific players.

Sorry for that.

BTW, I've found that you could not select anymore "Native" in File
Type advanced settings for a player with C-3P0 disabled when C-3PO is
installed. It's a bug i'm going to fix, thanks for your help, but i
could not understand what's wrong with AIFF conversion? Sems to me was
enabled also without C-3P0, wasn't it?



____________________________________________________________
SB+, Klimo Merlino + Kent Gold, Monitor Audio Studio 20 Gold SE+, Klimo
reference and DIS Interconnect.
------------------------------------------------------------------------
marcoc1712's Profile: http://forums.slimdevices.com/member.php?userid=34842
View this thread: http://forums.slimdevices.com/showthread.php?t=105309
PasTim
2017-07-13 11:53:30 UTC
Permalink
marcoc1712 wrote:
> I see, my fault, I was thinking C-3P0 was installed but disabled for
> specific players.
>
> Sorry for that.
>
> BTW, I've found that you could not select anymore "Native" in File
> Type advanced settings for a player with C-3P0 disabled when C-3PO is
> installed. It's a bug i'm going to fix, thanks for your help, but i
> could not understand what's wrong with AIFF conversion? Sems to me was
> enabled also without C-3P0, wasn't it?
Nothing wrong with flac to aiff apart from the fact I wasn't expecting
it and it isn't needed when native will do.

Glad to hear you've found a bug - I wondered if I was going crazy there
for a while! :)



LMS 7.9.1 on VortexBox Midi box, Xubuntu 17.04, FLACs 16->24 bit,
44.1->192kbps. Touch & EDO. 2nd Touch standard.
LMS plugin UPnP/DLNA Bridge to MF M1 CLiC (to A308CR amp & ESLs) &
Marantz CR603 UPnP renderers.
Alternatively Minimserver & Upplay to same & to upmpdcli/mpd PC
renderers.
Squeezelite to Meridian USB Explorer DAC to PC speakers/headphones.
Wireless Xubuntu 17.04 laptop firefox/upplay or Android 'phone with
Squeeze-Commander/BubbleUPnP controls LMS/Minimserver.
------------------------------------------------------------------------
PasTim's Profile: http://forums.slimdevices.com/member.php?userid=41642
View this thread: http://forums.slimdevices.com/showthread.php?t=105309
marcoc1712
2017-07-13 13:54:09 UTC
Permalink
PasTim wrote:
> Nothing wrong with flac to aiff apart from the fact I wasn't expecting
> it and it isn't needed when native will do.
>
> Glad to hear you've found a bug - I wondered if I was going crazy there
> for a while! :)

Not sure how to handle that.

If "Native" (or any transcoder) is enabled before install C-3PO for the
player, it will remain enabled and selectable after install (and
disable) of the plugin.

If somehow (i.e. altering convert.conf or via some plugins) the
transcoder is not enabled at install time, will become not selectable
after install (and disable)

I understand your needs to have native AND flac mono choice, but some
plugin does needs to have ONLY a specific line enabled, then I suggest
you to insert both lines adding the mac address of your touch, so they
will stay enabled after install.



____________________________________________________________
SB+, Klimo Merlino + Kent Gold, Monitor Audio Studio 20 Gold SE+, Klimo
reference and DIS Interconnect.
------------------------------------------------------------------------
marcoc1712's Profile: http://forums.slimdevices.com/member.php?userid=34842
View this thread: http://forums.slimdevices.com/showthread.php?t=105309
PasTim
2017-07-13 16:07:05 UTC
Permalink
marcoc1712 wrote:
> Not sure how to handle that.
>
> If "Native" (or any transcoder) is enabled before install C-3PO for the
> player, it will remain enabled and selectable after install (and
> disable) of the plugin.
>
> If somehow (i.e. altering convert.conf or via some plugins) the
> transcoder is not enabled at install time, will become not selectable
> after install (and disable)
>
> I understand your needs to have native AND flac mono choice, but some
> plugin does needs to have ONLY a specific line enabled, then I suggest
> you to insert both lines adding the mac address of your touch, so they
> will stay enabled after install.
I don't understand is why none of my various players can use "Native"
when C-3PO is installed.



LMS 7.9.1 on VortexBox Midi box, Xubuntu 17.04, FLACs 16->24 bit,
44.1->192kbps. Touch & EDO. 2nd Touch standard.
LMS plugin UPnP/DLNA Bridge to MF M1 CLiC (to A308CR amp & ESLs) &
Marantz CR603 UPnP renderers.
Alternatively Minimserver & Upplay to same & to upmpdcli/mpd PC
renderers.
Squeezelite to Meridian USB Explorer DAC to PC speakers/headphones.
Wireless Xubuntu 17.04 laptop firefox/upplay or Android 'phone with
Squeeze-Commander/BubbleUPnP controls LMS/Minimserver.
------------------------------------------------------------------------
PasTim's Profile: http://forums.slimdevices.com/member.php?userid=41642
View this thread: http://forums.slimdevices.com/showthread.php?t=105309
marcoc1712
2017-07-14 08:51:48 UTC
Permalink
PasTim wrote:
> I don't understand is why none of my various players can use "Native"
> when C-3PO is installed.

I can't reproduce that, shall I see your Custom-convert.conf and
convert.conf file?

thanks.



____________________________________________________________
SB+, Klimo Merlino + Kent Gold, Monitor Audio Studio 20 Gold SE+, Klimo
reference and DIS Interconnect.
------------------------------------------------------------------------
marcoc1712's Profile: http://forums.slimdevices.com/member.php?userid=34842
View this thread: http://forums.slimdevices.com/showthread.php?t=105309
PasTim
2017-07-14 09:40:35 UTC
Permalink
marcoc1712 wrote:
> I can't reproduce that, shall I see your Custom-convert.conf and
> convert.conf file?
>
> thanks.
This turns out to be a rather subtle 'feature'. Note that I'm only
playing flacs.

If I just have a local squeezelite, a UPnP player that has a specific
flac transcode set up, and my Touch powered up when I start LMS, I get
no 'native' flac to flac codec in the LMS file list. If I have another
device powered up, such as a UPnP player with no specific MAC-matching
entry in my custom-convert.conf file, the 'native' codec re-appears in
the file list!

So as I think you suggested, it's down to which devices have specific
flac transcodes set up.

For my Touch C-3PO reports:

Code:
--------------------

flc aif [flac] * 00:04:20:22:70:65
flc [DISABLED] * 00:04:20:22:70:65
mp3 [lame|flac] * 00:04:20:22:70:65
pcm [flac] * 00:04:20:22:70:65

--------------------

The DISABLED entry is there because I sometimes want to play in Mono and
that entry goes to SOX to convert to mono. Without C-3PO installed at
all it defaults back to native. With C-3PO installed it goes to AIF.

So I have now added an entry for flc to flc to be native for the Touch
MAC, but can't get it to work. It seems things get confused if I have
more than one entry for flc to flc. Never mind - I can manage without.
It's not your plugin's problem, it's my strange habits! Sorry for
taking up your time.



LMS 7.9.1 on VortexBox Midi box, Xubuntu 17.04, FLACs 16->24 bit,
44.1->192kbps. Touch & EDO. 2nd Touch standard.
LMS plugin UPnP/DLNA Bridge to MF M1 CLiC (to A308CR amp & ESLs) &
Marantz CR603 UPnP renderers.
Alternatively Minimserver & Upplay to same & to upmpdcli/mpd PC
renderers.
Squeezelite to Meridian USB Explorer DAC to PC speakers/headphones.
Wireless Xubuntu 17.04 laptop firefox/upplay or Android 'phone with
Squeeze-Commander/BubbleUPnP controls LMS/Minimserver.
------------------------------------------------------------------------
PasTim's Profile: http://forums.slimdevices.com/member.php?userid=41642
View this thread: http://forums.slimdevices.com/showthread.php?t=105309
weuw
2017-08-09 12:00:52 UTC
Permalink
Hello

I own a Dac Mojo which can play DSD256. I installed Squeezelite-R2 on my
Fedora laptop and I added the plugin C-3PO to LMS.
I start squeezelite-R2 with these args -a 40:3:: -f
/var/log/squeezeboxserver/squeezelite.log -r 192000-192000

When I use the plug in settings I try to pick the DSD items, but it's
impossible.

What's the problem with DSD upsampling ?

Thanks for help.


------------------------------------------------------------------------
weuw's Profile: http://forums.slimdevices.com/member.php?userid=67233
View this thread: http://forums.slimdevices.com/showthread.php?t=105309
marcoc1712
2017-08-09 13:37:04 UTC
Permalink
weuw wrote:
> Hello
>
> I own a Dac Mojo which can play DSD256. I installed Squeezelite-R2 on my
> Fedora laptop and I added the plugin C-3PO to LMS.
> I start squeezelite-R2 with these args -a 40:3:: -f
> /var/log/squeezeboxserver/squeezelite.log -r 192000-192000 (or without
> -r).
>
> When I use the plug in settings I try to pick the DSD items, but it's
> impossible.
>
> What's the problem with DSD upsampling ?
>
> Thanks for help.

C-3PO needs a special version of SOX to handle DSD (see the plugin
settings page for informations or follow instructions here:
http://audiodigitale.eu/), also then be sure the squeezelite version you
are using is compiiled with DSD option.

Regards.

MArco



____________________________________________________________
SB+, Klimo Merlino + Kent Gold, Monitor Audio Studio 20 Gold SE+, Klimo
reference and DIS Interconnect.
------------------------------------------------------------------------
marcoc1712's Profile: http://forums.slimdevices.com/member.php?userid=34842
View this thread: http://forums.slimdevices.com/showthread.php?t=105309
weuw
2017-08-09 14:06:45 UTC
Permalink
marcoc1712 wrote:
> C-3PO needs a special version of SOX to handle DSD (see the plugin
> settings page for informations or follow instructions here:
> http://audiodigitale.eu/), also then be sure the squeezelite version you
> are using is compiiled with DSD option.
>
> Regards.
>
> MArco

Hi, thanks, how can I check that the versions I used are correct ?
:confused:


------------------------------------------------------------------------
weuw's Profile: http://forums.slimdevices.com/member.php?userid=67233
View this thread: http://forums.slimdevices.com/showthread.php?t=105309
weuw
2017-08-09 17:02:59 UTC
Permalink
weuw wrote:
> Hi, thanks, how can I check that the versions I used are correct ?
> :confused:

I re compiled sox to be sure. It's sox --version sox: SoX v14.4.2

squeelite-R2 : I don't know how to check if it is compiled with DSD, I
don't know how to put this parameter during compilation ?

Anyway still impossible to check DSD parameter in web plugin...


------------------------------------------------------------------------
weuw's Profile: http://forums.slimdevices.com/member.php?userid=67233
View this thread: http://forums.slimdevices.com/showthread.php?t=105309
marcoc1712
2017-08-10 10:10:34 UTC
Permalink
To check if SOX is the correct version, go to SETTINGS-> ADVANCED ->
C-3PO Transcoding Helper and you should see something like this:

23396

Please note "dsd capable" verison and be sure to check DSF and DFF
formats.

Then goto SETTINGS-> PLAYER, chose your player and C-3PO from the
select menues and you should have something like that:

23397

If dsf and dff are not in the OUTPUT FORMAT selector, then Squeezelite
is not DSD Capable.

Yo check if this is the case, open aterminal and run the command:

squeezelite-R2 -? (replacing Squeezelite -R2 with the actual pathname of
squeezelite) and you should see something like that:

23398

Please note DSD in the build options. To enable this option use -DDSD
when building.

Marco


+-------------------------------------------------------------------+
|Filename: 2017-08-10 (3).png |
|Download: http://forums.slimdevices.com/attachment.php?attachmentid=23398|
+-------------------------------------------------------------------+


____________________________________________________________
SB+, Klimo Merlino + Kent Gold, Monitor Audio Studio 20 Gold SE+, Klimo
reference and DIS Interconnect.
------------------------------------------------------------------------
marcoc1712's Profile: http://forums.slimdevices.com/member.php?userid=34842
View this thread: http://forums.slimdevices.com/showthread.php?t=105309
weuw
2017-08-10 16:12:54 UTC
Permalink
Please note DSD in the build options, if you miss it, please add -DDSD
option when building.


Thanks it works now with recompiling with DSD option.

Nice :)


------------------------------------------------------------------------
weuw's Profile: http://forums.slimdevices.com/member.php?userid=67233
View this thread: http://forums.slimdevices.com/showthread.php?t=105309
Learnincurve
2017-08-11 06:18:05 UTC
Permalink
Hi,

I had some problems playing the new(test) BBC Radio 3 flac streams
when C-3po plugin is enabled for the player. Everything else has been
playing fine up to now.

Even if I disable all the options for flac in the C-3po player-specific
settings table, the BBC stream doesn't play. It plays fine the moment I
disable C-3po for the player.

I'm not at my system right now and can't post any detail before this
evening, but if anyone has the chance to test and recommend some
settings I'd be really happy to hear what they are :)

BR.

--Marius--


------------------------------------------------------------------------
Learnincurve's Profile: http://forums.slimdevices.com/member.php?userid=64807
View this thread: http://forums.slimdevices.com/showthread.php?t=105309
marcoc1712
2017-08-11 10:51:26 UTC
Permalink
Learnincurve wrote:
> Hi,
>
> I had some problems playing the new(test) BBC Radio 3 flac streams
> when C-3po plugin is enabled for the player. Everything else has been
> playing fine up to now.
>
> Even if I disable all the options for flac in the C-3po player-specific
> settings table, the BBC stream doesn't play. It plays fine the moment I
> disable C-3po for the player.
>
> I'm not at my system right now and can't post any detail before this
> evening, but if anyone has the chance to test and recommend some
> settings I'd be really happy to hear what they are :)
>
> BR.
>
> --Marius--

First thing to try is Disable SEARCH (CUE files) and enable STDIN for
Flac, this is working with Qobuz plugin and others, but is a specific
workaround: LMS Transcoding process has some 'feature' that prevent you
to transcode remote streams, so maybe we need a different one.

What transcoding are you looking for? (conversion to what?
Resampling?...)

Are you aware of any Custom-convert.conf settings working in this
situation? If so, pleae post it and I'll try to replicate it in C-3PO
settings.



____________________________________________________________
SB+, Klimo Merlino + Kent Gold, Monitor Audio Studio 20 Gold SE+, Klimo
reference and DIS Interconnect.
------------------------------------------------------------------------
marcoc1712's Profile: http://forums.slimdevices.com/member.php?userid=34842
View this thread: http://forums.slimdevices.com/showthread.php?t=105309
Learnincurve
2017-08-11 11:24:40 UTC
Permalink
marcoc1712 wrote:
> First thing to try is Disable SEARCH (CUE files) and enable STDIN for
> Flac, this is working with Qobuz plugin and others, but is a specific
> workaround: LMS Transcoding process has some 'feature' that prevent you
> to transcode remote streams, so maybe we need a different one.
>
> What transcoding are you looking for? (conversion to what?
> Resampling?...)
>
> Are you aware of any Custom-convert.conf settings working in this
> situation? If so, pleae post it and I'll try to replicate it in C-3PO
> settings.
>
> Sorry but I'm located in Italy, I could not play flac from bbc (or
> better, at least I don't know how to do it).


Hi Marco and thanks very much for your reply.

I would be happy to play these streams without any transcoding at all,
but resampling from 48kHz to 96 would be an interesting option.

So far the only way I found to get the steam to play is to completely
disable C-3PO globally (for that instance of squeezelite-R2)

I'll be able to tell you more this evening,when I have logs and
interface in front of me.


------------------------------------------------------------------------
Learnincurve's Profile: http://forums.slimdevices.com/member.php?userid=64807
View this thread: http://forums.slimdevices.com/showthread.php?t=105309
Learnincurve
2017-08-11 18:53:47 UTC
Permalink
Hi again,

Now I have access to the system and logs.

I have enabled info logging for player.source, player.streaming,
player.streaming.direct and plugin.C3PO

First, here's what succesful playback looks like:

Here's the server log of a successful DASH-flac playback, with C-3PO
disabled:


Code:
--------------------
[17-08-11 20:50:00.3366] Slim::Player::StreamingController::resume (2136) fe:c6:a1:a2:3a:bffadein=undef
[17-08-11 20:50:00.3379] Slim::Player::StreamingController::_Stop (603) Song queue is now 0
[17-08-11 20:50:00.3381] Slim::Player::StreamingController::_setPlayingState (2357) new playing state STOPPED
[17-08-11 20:50:00.3384] Slim::Player::StreamingController::_setStreamingState (2366) new streaming state IDLE
[17-08-11 20:50:00.3386] Slim::Player::StreamingController::_Stream (1129) fe:c6:a1:a2:3a:bf: got song from params, song index 0
[17-08-11 20:50:00.3388] Slim::Player::StreamingController::_Stream (1203) Song queue is now 0
[17-08-11 20:50:00.3390] Slim::Player::StreamingController::_Stream (1206) fe:c6:a1:a2:3a:bf: preparing to stream song index 0
[17-08-11 20:50:00.3392] Slim::Player::Song::open (363) dashflac://vs-dash-ww-rd-live.bbcfmt.hs.llnwd.net/al/lossless/client_manifest.mpd|
[17-08-11 20:50:00.3395] Slim::Player::Song::open (387) seek=false time=0 canSeek=1
[17-08-11 20:50:00.3400] Slim::Player::TranscodingHelper::getConvertCommand2 (446) Matched: flc->flc via: -
[17-08-11 20:50:00.3402] Slim::Player::Song::open (408) Transcoder: streamMode=I, streamformat=flc
[17-08-11 20:50:00.3405] Slim::Player::Song::open (461) Opening stream (no direct streaming) using Plugins::BBCiPlayer::DASH [dashflac://vs-dash-ww-rd-live.bbcfmt.hs.llnwd.net/al/lossless/client_manifest.mpd|]
[17-08-11 20:50:00.3412] Slim::Player::Song::open (482) URL is a song (audio): dashflac://vs-dash-ww-rd-live.bbcfmt.hs.llnwd.net/al/lossless/client_manifest.mpd|, type=flc
[17-08-11 20:50:00.3420] Slim::Player::StreamingController::_Stream (1265) fe:c6:a1:a2:3a:bf: stream
[17-08-11 20:50:00.3429] Slim::Player::StreamingController::_Stream (1302) Song queue is now 0
[17-08-11 20:50:00.3432] Slim::Player::StreamingController::_setPlayingState (2357) new playing state BUFFERING
[17-08-11 20:50:00.3434] Slim::Player::StreamingController::_setStreamingState (2366) new streaming state STREAMING
[17-08-11 20:50:00.3439] Slim::Player::Source::playmode (96) fe:c6:a1:a2:3a:bf: Current playmode: play
[17-08-11 20:50:00.4429] Slim::Player::Squeezebox2::directHeaders (471) Processing headers for direct streaming:
HTTP/1.1 200 OK
Server: Logitech Media Server (7.9.1 - 1501791870)
Connection: close
Content-Type: audio/x-flac

[17-08-11 20:50:00.4681] Slim::Player::Player::_buffering (1140) Buffering... 0 / 261120
[17-08-11 20:50:00.7702] Slim::Player::Player::_buffering (1140) Buffering... 0 / 261120
[17-08-11 20:50:01.0717] Slim::Player::Player::_buffering (1140) Buffering... 0 / 261120
[17-08-11 20:50:01.2574] Slim::Player::StreamingController::playerBufferReady (2258) fe:c6:a1:a2:3a:bf
[17-08-11 20:50:01.2575] Slim::Player::StreamingController::_setPlayingState (2357) new playing state WAITING_TO_SYNC
[17-08-11 20:50:01.2579] Slim::Player::StreamingController::_setPlayingState (2357) new playing state PLAYING
[17-08-11 20:50:01.2580] Slim::Player::StreamingController::_Playing (361) Song 0 has now started playing
[17-08-11 20:50:01.2584] Slim::Player::StreamingController::_Playing (390) Song queue is now 0
[17-08-11 20:50:01.2607] Plugins::C3PO::Plugin::newSong (236) newSong request received from client fe:c6:a1:a2:3a:bf
[17-08-11 20:50:01.2614] Slim::Player::TranscodingHelper::getConvertCommand2 (446) Matched: flc->flc via: -
[17-08-11 20:50:01.2621] Slim::Utils::Misc::msg (1250) Warning: [20:50:01.2620] Use of uninitialized value in concatenation (.) or string at /var/lib/squeezeboxserver/cache/InstalledPlugins/Plugins/C3PO/Plugin.pm line 279.
[17-08-11 20:50:01.2623] Plugins::C3PO::Plugin::newSong (308)
At: 2017/08/11 20:50:01
Command:
-

Tokenized command:

[17-08-11 20:50:01.2656] Plugins::IckStreamPlugin::PlayerService::__ANON__ (1495) Error when sending playerStatusChanged for SqueezeLite-R2
[17-08-11 20:50:02.2598] Slim::Player::StreamingController::playerTrackStarted (2180) fe:c6:a1:a2:3a:bf
[17-08-11 20:50:02.2601] Slim::Player::StreamingController::_setPlayingState (2357) new playing state PLAYING
[17-08-11 20:50:02.2603] Slim::Player::StreamingController::_Playing (361) Song 0 has now started playing
[17-08-11 20:50:02.2608] Slim::Player::StreamingController::_Playing (390) Song queue is now 0
[17-08-11 20:50:02.2635] Plugins::C3PO::Plugin::newSong (236) newSong request received from client fe:c6:a1:a2:3a:bf
[17-08-11 20:50:02.2650] Slim::Player::TranscodingHelper::getConvertCommand2 (446) Matched: flc->flc via: -
[17-08-11 20:50:02.2672] Slim::Utils::Misc::msg (1250) Warning: [20:50:02.2668] Use of uninitialized value in concatenation (.) or string at /var/lib/squeezeboxserver/cache/InstalledPlugins/Plugins/C3PO/Plugin.pm line 279.
[17-08-11 20:50:02.2677] Plugins::C3PO::Plugin::newSong (308)
At: 2017/08/11 20:50:02
Command:
-

Tokenized command:

[17-08-11 20:50:02.2702] Plugins::IckStreamPlugin::PlayerService::__ANON__ (1495) Error when sending playerStatusChanged for SqueezeLite-R2
--------------------


and the squeezelite-R2 log with info level logging:


Code:
--------------------
[20:50:00.339674] decode_flush:190 decode flush
[20:50:00.339906] output_flush:423 flush output buffer
[20:50:00.344827] codec_open:218 codec open: 'f'
[20:50:00.344999] stream_sock:384 connecting to 192.168.253.80:9000
[20:50:00.345392] stream_sock:413 header: GET /stream.mp3?player=fe:c6:a1:a2:3a:bf HTTP/1.0


[20:50:00.443704] stream_thread:176 headers: len: 118
HTTP/1.1 200 OK
Server: Logitech Media Server (7.9.1 - 1501791870)
Connection: close
Content-Type: audio/x-flac


[20:50:01.307734] write_cb:116 setting track_start
[20:50:01.308472] _checkfade:281 fade mode: 2 duration: 0 track-start
[20:50:01.308897] _checkfade:290 fade IN: 0 frames
[20:50:01.314135] _output_frames:146 track start sample rate: 48000 replay_gain: 0
[20:50:01.324608] _output_frames:174 fade start reached
[20:50:01.324825] _output_frames:207 fade complete
[20:50:12.676089] decode_flush:190 decode flush
[20:50:12.676483] output_flush:423 flush output buffer

--------------------


------------------------------------------------------------------------
Learnincurve's Profile: http://forums.slimdevices.com/member.php?userid=64807
View this thread: http://forums.slimdevices.com/showthread.php?t=105309
Learnincurve
2017-08-11 19:08:41 UTC
Permalink
Now I disabled flac processing in C-3PO:
23411
23412

and tried again:

Server log:


Code:
--------------------

[17-08-11 21:04:15.9181] Slim::Player::StreamingController::resume (2136) fe:c6:a1:a2:3a:bffadein=undef
[17-08-11 21:04:15.9187] Slim::Player::StreamingController::_Stop (603) Song queue is now 0
[17-08-11 21:04:15.9188] Slim::Player::StreamingController::_setPlayingState (2357) new playing state STOPPED
[17-08-11 21:04:15.9190] Slim::Player::StreamingController::_setStreamingState (2366) new streaming state IDLE
[17-08-11 21:04:15.9191] Slim::Player::StreamingController::_Stream (1129) fe:c6:a1:a2:3a:bf: got song from params, song index 0
[17-08-11 21:04:15.9193] Slim::Player::StreamingController::_Stream (1203) Song queue is now 0
[17-08-11 21:04:15.9194] Slim::Player::StreamingController::_Stream (1206) fe:c6:a1:a2:3a:bf: preparing to stream song index 0
[17-08-11 21:04:15.9195] Slim::Player::Song::open (363) dashflac://vs-dash-ww-rd-live.bbcfmt.hs.llnwd.net/al/lossless/client_manifest.mpd|
[17-08-11 21:04:15.9198] Slim::Player::Song::open (387) seek=false time=0 canSeek=1
[17-08-11 21:04:15.9201] Slim::Player::TranscodingHelper::getConvertCommand2 (446) Matched: flc->flc via: [C-3PO] -c $CLIENTID$ -p "/var/lib/squeezeboxserver/prefs/plugin/C3PO.prefs" -l "/var/log/squeezeboxserver/" -x "/usr/sbin" -i flc -o flc $START$ $END$ $RESAMPLE$ $FILE$ --nodebuglog
[17-08-11 21:04:15.9203] Slim::Player::Song::open (408) Transcoder: streamMode=R, streamformat=flc
[17-08-11 21:04:15.9206] Slim::Player::TranscodingHelper::tokenizeConvertCommand2 (617) Using command for conversion: "/var/lib/squeezeboxserver/cache/InstalledPlugins/Plugins/C3PO/Bin/C-3PO" -c fe-c6-a1-a2-3a-bf -p "/var/lib/squeezeboxserver/prefs/plugin/C3PO.prefs" -l "/var/log/squeezeboxserver/" -x "/usr/sbin" -i flc -o flc "dashflac://vs-dash-ww-rd-live.bbcfmt.hs.llnwd.net/al/lossless/client_manifest.mpd|" --nodebuglog & |
[17-08-11 21:04:15.9208] Slim::Player::Song::open (558) Tokenized command: "/var/lib/squeezeboxserver/cache/InstalledPlugins/Plugins/C3PO/Bin/C-3PO" -c fe-c6-a1-a2-3a-bf -p "/var/lib/squeezeboxserver/prefs/plugin/C3PO.prefs" -l "/var/log/squeezeboxserver/" -x "/usr/sbin" -i flc -o flc "dashflac://vs-dash-ww-rd-live.bbcfmt.hs.llnwd.net/al/lossless/client_manifest.mpd|" --nodebuglog & |
[17-08-11 21:04:15.9279] Slim::Player::StreamingController::_Stream (1265) fe:c6:a1:a2:3a:bf: stream
[17-08-11 21:04:15.9288] Slim::Player::StreamingController::_Stream (1302) Song queue is now 0
[17-08-11 21:04:15.9291] Slim::Player::StreamingController::_setPlayingState (2357) new playing state BUFFERING
[17-08-11 21:04:15.9293] Slim::Player::StreamingController::_setStreamingState (2366) new streaming state STREAMING
[17-08-11 21:04:15.9298] Slim::Player::Source::playmode (96) fe:c6:a1:a2:3a:bf: Current playmode: play
[17-08-11 21:04:15.9390] Plugins::IckStreamPlugin::PlayerService::__ANON__ (1426) Error when sending playbackQueueChanged for SqueezeLite-R2
[17-08-11 21:04:15.9395] Plugins::IckStreamPlugin::PlayerService::__ANON__ (1495) Error when sending playerStatusChanged for SqueezeLite-R2
[17-08-11 21:04:15.9969] Slim::Player::Squeezebox2::directHeaders (471) Processing headers for direct streaming:
HTTP/1.1 200 OK
Server: Logitech Media Server (7.9.1 - 1501791870)
Connection: close
Content-Type: audio/x-flac

[17-08-11 21:04:16.0541] Slim::Player::Player::_buffering (1140) Buffering... 0 / 261120
[17-08-11 21:04:16.1209] Slim::Player::Source::_readNextChunk (373) end of file or error on socket, song pos: 430994374
[17-08-11 21:04:16.1211] Slim::Player::Source::_readNextChunk (378) fe:c6:a1:a2:3a:bf mark end of stream
[17-08-11 21:04:16.1213] Slim::Player::Source::_readNextChunk (386) Didn't stream any bytes for this song; mark it as failed
[17-08-11 21:04:16.1215] Slim::Player::StreamingController::playerStreamingFailed (2228) fe:c6:a1:a2:3a:bf
[17-08-11 21:04:16.1218] Slim::Player::StreamingController::_playersMessage (789) Problem: Can't open file for:: dashflac://vs-dash-ww-rd-live.bbcfmt.hs.llnwd.net/al/lossless/client_manifest.mpd|
[17-08-11 21:04:16.1227] Slim::Player::StreamingController::_Stop (603) Song queue is now 0
[17-08-11 21:04:16.1229] Slim::Player::StreamingController::_setPlayingState (2357) new playing state STOPPED
[17-08-11 21:04:16.1231] Slim::Player::StreamingController::_setStreamingState (2366) new streaming state IDLE
[17-08-11 21:04:16.1234] Slim::Player::StreamingController::_willRetry (1391) no retry data
[17-08-11 21:04:16.1239] Slim::Player::StreamingController::nextsong (882) The next song is number 0, was 0
--------------------


Player log:


Code:
--------------------
[21:04:15.916368] decode_flush:190 decode flush
[21:04:15.916603] output_flush:423 flush output buffer
[21:04:15.926295] codec_open:218 codec open: 'f'
[21:04:15.926526] stream_sock:384 connecting to 192.168.253.80:9000
[21:04:15.926996] stream_sock:413 header: GET /stream.mp3?player=fe:c6:a1:a2:3a:bf HTTP/1.0


[21:04:15.993237] stream_thread:176 headers: len: 118
HTTP/1.1 200 OK
Server: Logitech Media Server (7.9.1 - 1501791870)
Connection: close
Content-Type: audio/x-flac


[21:04:16.120194] decode_flush:190 decode flush
[21:04:16.120408] output_flush:423 flush output buffer
--------------------


+-------------------------------------------------------------------+
|Filename: C-3PO-settings-2.png |
|Download: http://forums.slimdevices.com/attachment.php?attachmentid=23412|
+-------------------------------------------------------------------+

------------------------------------------------------------------------
Learnincurve's Profile: http://forums.slimdevices.com/member.php?userid=64807
View this thread: http://forums.slimdevices.com/showthread.php?t=105309
Learnincurve
2017-08-11 19:14:40 UTC
Permalink
FILE TYPE TRANSCODING TABLE

In Out [Transcoder] Model Player Id











aac aac [Native] * *
flc [faad|flac] * *
mp3 [faad|lame] * *
pcm [faad] * *











aif aif [sox] * fe:c6:a1:a2:3a:bf











alc pcm [C-3PO] * fe:c6:a1:a2:3a:bf











ape flc [flac|mac] * *
mp3 [lame|mac] * *
pcm [mac] * *











cdplay flc [cdda2wav|flac] * *
mp3 [cdda2wav|lame] * *
pcm [cdda2wav] * *











dff dff [Native] * *
flc [dsdplay] * fe:c6:a1:a2:3a:bf











dsf dsf [Native] * *
flc [dsdplay] * fe:c6:a1:a2:3a:bf











flc flc [C-3PO] * fe:c6:a1:a2:3a:bf











mp3 mp3 [Native] * *











mp4 aac [Native] * *
flc [faad|flac] * *
mp3 [lame|faad] * *
pcm [faad] * *











mpc aif [UNAVAILABLE] * *
flc [UNAVAILABLE] * *
mp3 [UNAVAILABLE] * *
pcm [UNAVAILABLE] * *











ogf flc [flac] * *
ogf [Native] * *











ogg aif [sox] * *
flc [sox] * *
mp3 [lame|sox] * *
ogg [Native] * *
pcm [sox] * *











pcm pcm [Native] * *











sflc flc [Native] * *
pcm [Native] * *











sls aac [Native] * *
flc [UNAVAILABLE] * *
mp3 [UNAVAILABLE] * *
pcm [UNAVAILABLE] * *











spdr spdr [Native] * *











spt flc [spotty-x86_64|flac] * *
mp3 [spotty-x86_64|lame] * *
pcm [spotty-x86_64] * *











test test [Native] * *











wav pcm [sox] * fe:c6:a1:a2:3a:bf











wma flc [UNAVAILABLE] * *
mp3 [UNAVAILABLE] * *
pcm [UNAVAILABLE] * *
wma [Native] * *











wmal flc [UNAVAILABLE] * *
mp3 [UNAVAILABLE] * *
pcm [UNAVAILABLE] * *
wmal [Native] * *











wmap flc [UNAVAILABLE] * *
mp3 [UNAVAILABLE] * *
pcm [UNAVAILABLE] * *
wmap [Native] * *











wvp flc [sox|wvunpack] * *
mp3 [lame|wvunpack] * *
pcm [wvunpack] * *


------------------------------------------------------------------------
Learnincurve's Profile: http://forums.slimdevices.com/member.php?userid=64807
View this thread: http://forums.slimdevices.com/showthread.php?t=105309
Learnincurve
2017-08-11 19:20:54 UTC
Permalink
Here's the server-side file-type table:

23413
23414
23415


+-------------------------------------------------------------------+
|Filename: filetypes-3.png |
|Download: http://forums.slimdevices.com/attachment.php?attachmentid=23415|
+-------------------------------------------------------------------+

------------------------------------------------------------------------
Learnincurve's Profile: http://forums.slimdevices.com/member.php?userid=64807
View this thread: http://forums.slimdevices.com/showthread.php?t=105309
marcoc1712
2017-08-12 10:23:28 UTC
Permalink
Hi Learnincurve,


looking ibn the Log you posted with C-3PO disabled:

>
> [17-08-11 20:50:00.3390] Slim::Player::StreamingController::_Stream
> (1206) fe:c6:a1:a2:3a:bf: preparing to stream song index 0
> [17-08-11 20:50:00.3392] Slim::Player::Song::open (363)
> dashflac://vs-dash-ww-rd-live.bbcfmt.hs.llnwd.net/al/lossless/client_manifest.mpd|
> [17-08-11 20:50:00.3395] Slim::Player::Song::open (387) seek=false
> time=0 canSeek=1
> [17-08-11 20:50:00.3400]
> Slim::Player::TranscodingHelper::getConvertCommand2 (446) Matched:
> flc->flc via: -
> [17-08-11 20:50:00.3402] Slim::Player::Song::open (408) Transcoder:
> streamMode=I, streamformat=flc
> [17-08-11 20:50:00.3405] Slim::Player::Song::open (461) Opening stream
> (no direct streaming) using Plugins::BBCiPlayer::DASH
> [dashflac://vs-dash-ww-rd-live.bbcfmt.hs.llnwd.net/al/lossless/client_manifest.mpd|]
> [17-08-11 20:50:00.3412] Slim::Player::Song::open (482) URL is a song
> (audio):
> dashflac://vs-dash-ww-rd-live.bbcfmt.hs.llnwd.net/al/lossless/client_manifest.mpd|,
> type=flc
>

As I wrote the First thing to try is enable ONLY STDIN for Flac, all
other options disabled. NOt sure it wil resolve, but stream mode is 'I'
so you need it enabled for sure, the way you tried (should) work for
files and remote streams (F and R) but not when a plugin is feeding lms
via standard imput. That's an old story, caused by a 'feature' in
Transcoding Helper.

If it still does not work, then I'll need to look in the code and find
a way to force 'native' (-) transcoding for the specific player and
codec (...that is what you correctly expected C-3PO was already doing
with all the option disabled...).

Please let me know.



____________________________________________________________
SB+, Klimo Merlino + Kent Gold, Monitor Audio Studio 20 Gold SE+, Klimo
reference and DIS Interconnect.
------------------------------------------------------------------------
marcoc1712's Profile: http://forums.slimdevices.com/member.php?userid=34842
View this thread: http://forums.slimdevices.com/showthread.php?t=105309
Learnincurve
2017-08-12 15:01:17 UTC
Permalink
Enabled flac: Stdin only
23422

resulting flc commands:
flc flc * fe:c6:a1:a2:3a:bf


Code:
--------------------
# F noArgs, R noArgs, D RESAMPLE=-r %d, I noArgs

[flac] -dcs --totally-silent $START$ $END$ -- $FILE$ | [sox] -q -t wav - -t wav -b 32 --buffer 32768 --multi-threaded - gain -h rate -v -I -b 90.7 384000

--------------------



But I see this in the server log when Im try to display last executed
command:


Code:
--------------------
[17-08-12 16:58:34.8662] Slim::Player::TranscodingHelper::checkBin (275) couldn't find binary for: mppdec
[17-08-12 16:58:34.8670] Slim::Player::TranscodingHelper::checkBin (275) couldn't find binary for: mppdec
[17-08-12 16:58:34.8673] Slim::Player::TranscodingHelper::checkBin (275) couldn't find binary for: mppdec
[17-08-12 16:58:34.8675] Slim::Player::TranscodingHelper::checkBin (275) couldn't find binary for: mppdec
[17-08-12 16:58:34.8685] Slim::Player::TranscodingHelper::checkBin (275) couldn't find binary for: sls
[17-08-12 16:58:34.8688] Slim::Player::TranscodingHelper::checkBin (275) couldn't find binary for: sls
[17-08-12 16:58:34.8690] Slim::Player::TranscodingHelper::checkBin (275) couldn't find binary for: sls
[17-08-12 16:58:34.8699] Slim::Player::TranscodingHelper::checkBin (275) couldn't find binary for: wmadec
[17-08-12 16:58:34.8702] Slim::Player::TranscodingHelper::checkBin (275) couldn't find binary for: wmadec
...
[17-08-12 16:58:34.8722] Slim::Player::TranscodingHelper::checkBin (275) couldn't find binary for: wmadec
[17-08-12 16:58:34.8754] Slim::Player::TranscodingHelper::checkBin (275) couldn't find binary for: mppdec
...
[17-08-12 16:58:34.8763] Slim::Player::TranscodingHelper::checkBin (275) couldn't find binary for: mppdec
[17-08-12 16:58:34.8772] Slim::Player::TranscodingHelper::checkBin (275) couldn't find binary for: sls
[17-08-12 16:58:34.8775] Slim::Player::TranscodingHelper::checkBin (275) couldn't find binary for: sls
[17-08-12 16:58:34.8778] Slim::Player::TranscodingHelper::checkBin (275) couldn't find binary for: sls
...

--------------------



New server log:

Code:
--------------------
[17-08-12 16:51:43.1952] Slim::Player::StreamingController::play (2100) fe:c6:a1:a2:3a:bf
[17-08-12 16:51:43.1957] Slim::Player::StreamingController::_Stop (603) Song queue is now 0
[17-08-12 16:51:43.1960] Slim::Player::StreamingController::_setPlayingState (2357) new playing state STOPPED
[17-08-12 16:51:43.1962] Slim::Player::StreamingController::_setStreamingState (2366) new streaming state IDLE
[17-08-12 16:51:43.1967] Slim::Player::Song::new (108) index 0 -> iplayer://live?dashflac=http://vs-dash-ww-rd-live.bbcfmt.hs.llnwd.net/al/lossless/client_manifest.mpd&icon=http://radio-service-information.api.bbci.co.uk/logos/bbc_radio_three/600x600.png&radiovis=fm/ce1/c203/09100&onair=bbc_radio_three
[17-08-12 16:51:43.1973] Slim::Player::StreamingController::_setStreamingState (2366) new streaming state TRACKWAIT
[17-08-12 16:51:43.2007] Slim::Player::StreamingController::_playersMessage (789) Getting stream info...: iplayer://live?dashflac=http://vs-dash-ww-rd-live.bbcfmt.hs.llnwd.net/al/lossless/client_manifest.mpd&icon=http://radio-service-information.api.bbci.co.uk/logos/bbc_radio_three/600x600.png&radiovis=fm/ce1/c203/09100&onair=bbc_radio_three
[17-08-12 16:51:43.2017] Slim::Player::Song::getNextSong (229) iplayer://live?dashflac=http://vs-dash-ww-rd-live.bbcfmt.hs.llnwd.net/al/lossless/client_manifest.mpd&icon=http://radio-service-information.api.bbci.co.uk/logos/bbc_radio_three/600x600.png&radiovis=fm/ce1/c203/09100&onair=bbc_radio_three
[17-08-12 16:51:43.2019] Slim::Player::Song::getNextSong (251) scanning URL iplayer://live?dashflac=http://vs-dash-ww-rd-live.bbcfmt.hs.llnwd.net/al/lossless/client_manifest.mpd&icon=http://radio-service-information.api.bbci.co.uk/logos/bbc_radio_three/600x600.png&radiovis=fm/ce1/c203/09100&onair=bbc_radio_three
[17-08-12 16:51:43.2026] Slim::Player::Song::__ANON__ (297) Found a playlist
[17-08-12 16:51:43.2027] Slim::Player::Song::getNextSong (229) iplayer://live?dashflac=http://vs-dash-ww-rd-live.bbcfmt.hs.llnwd.net/al/lossless/client_manifest.mpd&icon=http://radio-service-information.api.bbci.co.uk/logos/bbc_radio_three/600x600.png&radiovis=fm/ce1/c203/09100&onair=bbc_radio_three
[17-08-12 16:51:43.2030] Slim::Player::Song::_getNextPlaylistTrack (218) Got next URL from playlist; track is: iplayer://live?dashflac=http://vs-dash-ww-rd-live.bbcfmt.hs.llnwd.net/al/lossless/client_manifest.mpd&type=dashflac
[17-08-12 16:51:43.2033] Slim::Player::Song::_getNextPlaylistTrack (218) Got next URL from playlist; track is: dashflac://vs-dash-ww-rd-live.bbcfmt.hs.llnwd.net/al/lossless/client_manifest.mpd|
[17-08-12 16:51:43.2035] Slim::Player::StreamingController::_nextTrackReady (737) fe:c6:a1:a2:3a:bf: nextTrack will be index 0
[17-08-12 16:51:43.2037] Slim::Player::StreamingController::_Stream (1203) Song queue is now 0
[17-08-12 16:51:43.2038] Slim::Player::StreamingController::_Stream (1206) fe:c6:a1:a2:3a:bf: preparing to stream song index 0
[17-08-12 16:51:43.2039] Slim::Player::Song::open (363) dashflac://vs-dash-ww-rd-live.bbcfmt.hs.llnwd.net/al/lossless/client_manifest.mpd|
[17-08-12 16:51:43.2042] Slim::Player::Song::open (387) seek=false time=0 canSeek=1
[17-08-12 16:51:43.2046] Slim::Player::TranscodingHelper::getConvertCommand2 (446) Matched: flc->flc via: [flac] -dcs --totally-silent $START$ $END$ -- $FILE$ | [sox] -q -t wav - -t wav -b 32 --buffer 32768 --multi-threaded - gain -h rate -v -I -b 90.7 384000
[17-08-12 16:51:43.2047] Slim::Player::Song::open (408) Transcoder: streamMode=I, streamformat=flc
[17-08-12 16:51:43.2049] Slim::Player::Song::open (461) Opening stream (no direct streaming) using Plugins::BBCiPlayer::DASH [dashflac://vs-dash-ww-rd-live.bbcfmt.hs.llnwd.net/al/lossless/client_manifest.mpd|]
[17-08-12 16:51:43.2059] Slim::Player::Song::open (482) URL is a song (audio): dashflac://vs-dash-ww-rd-live.bbcfmt.hs.llnwd.net/al/lossless/client_manifest.mpd|, type=flc
[17-08-12 16:51:43.2064] Slim::Player::TranscodingHelper::tokenizeConvertCommand2 (617) Using command for conversion: "/usr/share/squeezeboxserver/Bin/x86_64-linux/flac" -dcs --totally-silent -- - | "/usr/share/squeezeboxserver/Bin/x86_64-linux/sox" -q -t wav - -t wav -b 32 --buffer 32768 --multi-threaded - gain -h rate -v -I -b 90.7 384000
[17-08-12 16:51:43.2065] Slim::Player::Song::open (558) Tokenized command: "/usr/share/squeezeboxserver/Bin/x86_64-linux/flac" -dcs --totally-silent -- - | "/usr/share/squeezeboxserver/Bin/x86_64-linux/sox" -q -t wav - -t wav -b 32 --buffer 32768 --multi-threaded - gain -h rate -v -I -b 90.7 384000
[17-08-12 16:51:43.2183] Slim::Player::StreamingController::_Stream (1265) fe:c6:a1:a2:3a:bf: stream
[17-08-12 16:51:43.2199] Slim::Player::StreamingController::_Stream (1302) Song queue is now 0
[17-08-12 16:51:43.2204] Slim::Player::StreamingController::_setPlayingState (2357) new playing state BUFFERING
[17-08-12 16:51:43.2206] Slim::Player::StreamingController::_setStreamingState (2366) new streaming state STREAMING
[17-08-12 16:51:43.2676] Slim::Player::Squeezebox2::directHeaders (471) Processing headers for direct streaming:
HTTP/1.1 200 OK
Server: Logitech Media Server (7.9.1 - 1502265250)
Connection: close
Content-Type: audio/x-flac

[17-08-12 16:51:43.3449] Slim::Player::Player::_buffering (1140) Buffering... 0 / 261120
[17-08-12 16:51:43.6466] Slim::Player::Player::_buffering (1140) Buffering... 0 / 261120
[17-08-12 16:51:43.9480] Slim::Player::Player::_buffering (1140) Buffering... 0 / 261120
[17-08-12 16:51:44.0716] Slim::Player::Source::_readNextChunk (373) end of file or error on socket, song pos: 0
[17-08-12 16:51:44.0721] Slim::Player::Source::_readNextChunk (378) fe:c6:a1:a2:3a:bf mark end of stream
[17-08-12 16:51:44.0723] Slim::Player::Source::_readNextChunk (386) Didn't stream any bytes for this song; mark it as failed
[17-08-12 16:51:44.0725] Slim::Player::StreamingController::playerStreamingFailed (2228) fe:c6:a1:a2:3a:bf
[17-08-12 16:51:44.0728] Slim::Player::StreamingController::_playersMessage (789) Problem: Can't open file for:: dashflac://vs-dash-ww-rd-live.bbcfmt.hs.llnwd.net/al/lossless/client_manifest.mpd|
[17-08-12 16:51:44.0743] Slim::Player::StreamingController::_Stop (603) Song queue is now 0
[17-08-12 16:51:44.0746] Slim::Player::StreamingController::_setPlayingState (2357) new playing state STOPPED
[17-08-12 16:51:44.0749] Slim::Player::StreamingController::_setStreamingState (2366) new streaming state IDLE
[17-08-12 16:51:44.0753] Slim::Player::StreamingController::_willRetry (1391) no retry data
[17-08-12 16:51:44.0761] Slim::Player::StreamingController::nextsong (882) The next song is number 0, was 0
--------------------


+-------------------------------------------------------------------+
|Filename: New-settings-flac.png |
|Download: http://forums.slimdevices.com/attachment.php?attachmentid=23422|
+-------------------------------------------------------------------+

------------------------------------------------------------------------
Learnincurve's Profile: http://forums.slimdevices.com/member.php?userid=64807
View this thread: http://forums.slimdevices.com/showthread.php?t=105309
marcoc1712
2017-08-13 12:38:57 UTC
Permalink
Learnincurve wrote:
> Enabled flac: Stdin only
> 23422
>
> resulting flc commands:
> flc flc * fe:c6:a1:a2:3a:bf
>
> >
Code:
--------------------
> > # F noArgs, R noArgs, D RESAMPLE=-r %d, I noArgs
>
> [flac] -dcs --totally-silent $START$ $END$ -- $FILE$ | [sox] -q -t wav - -t wav -b 32 --buffer 32768 --multi-threaded - gain -h rate -v -I -b 90.7 384000
>
--------------------
> >
>
>
> But I see this in the server log when Im try to display last executed
> command:
>
> >
Code:
--------------------
> > [17-08-12 16:58:34.8662] Slim::Player::TranscodingHelper::checkBin (275) couldn't find binary for: mppdec
> [17-08-12 16:58:34.8670] Slim::Player::TranscodingHelper::checkBin (275) couldn't find binary for: mppdec
> [17-08-12 16:58:34.8673] Slim::Player::TranscodingHelper::checkBin (275) couldn't find binary for: mppdec
> [17-08-12 16:58:34.8675] Slim::Player::TranscodingHelper::checkBin (275) couldn't find binary for: mppdec
> [17-08-12 16:58:34.8685] Slim::Player::TranscodingHelper::checkBin (275) couldn't find binary for: sls
> [17-08-12 16:58:34.8688] Slim::Player::TranscodingHelper::checkBin (275) couldn't find binary for: sls
> [17-08-12 16:58:34.8690] Slim::Player::TranscodingHelper::checkBin (275) couldn't find binary for: sls
> [17-08-12 16:58:34.8699] Slim::Player::TranscodingHelper::checkBin (275) couldn't find binary for: wmadec
> [17-08-12 16:58:34.8702] Slim::Player::TranscodingHelper::checkBin (275) couldn't find binary for: wmadec
> ...
> [17-08-12 16:58:34.8722] Slim::Player::TranscodingHelper::checkBin (275) couldn't find binary for: wmadec
> [17-08-12 16:58:34.8754] Slim::Player::TranscodingHelper::checkBin (275) couldn't find binary for: mppdec
> ...
> [17-08-12 16:58:34.8763] Slim::Player::TranscodingHelper::checkBin (275) couldn't find binary for: mppdec
> [17-08-12 16:58:34.8772] Slim::Player::TranscodingHelper::checkBin (275) couldn't find binary for: sls
> [17-08-12 16:58:34.8775] Slim::Player::TranscodingHelper::checkBin (275) couldn't find binary for: sls
> [17-08-12 16:58:34.8778] Slim::Player::TranscodingHelper::checkBin (275) couldn't find binary for: sls
> ...
>
--------------------
> >
>
>
> New server log:
> >
Code:
--------------------
> > [17-08-12 16:51:43.1952] Slim::Player::StreamingController::play (2100) fe:c6:a1:a2:3a:bf
> [17-08-12 16:51:43.1957] Slim::Player::StreamingController::_Stop (603) Song queue is now 0
> [17-08-12 16:51:43.1960] Slim::Player::StreamingController::_setPlayingState (2357) new playing state STOPPED
> [17-08-12 16:51:43.1962] Slim::Player::StreamingController::_setStreamingState (2366) new streaming state IDLE
> [17-08-12 16:51:43.1967] Slim::Player::Song::new (108) index 0 -> iplayer://live?dashflac=http://vs-dash-ww-rd-live.bbcfmt.hs.llnwd.net/al/lossless/client_manifest.mpd&icon=http://radio-service-information.api.bbci.co.uk/logos/bbc_radio_three/600x600.png&radiovis=fm/ce1/c203/09100&onair=bbc_radio_three
> [17-08-12 16:51:43.1973] Slim::Player::StreamingController::_setStreamingState (2366) new streaming state TRACKWAIT
> [17-08-12 16:51:43.2007] Slim::Player::StreamingController::_playersMessage (789) Getting stream info...: iplayer://live?dashflac=http://vs-dash-ww-rd-live.bbcfmt.hs.llnwd.net/al/lossless/client_manifest.mpd&icon=http://radio-service-information.api.bbci.co.uk/logos/bbc_radio_three/600x600.png&radiovis=fm/ce1/c203/09100&onair=bbc_radio_three
> [17-08-12 16:51:43.2017] Slim::Player::Song::getNextSong (229) iplayer://live?dashflac=http://vs-dash-ww-rd-live.bbcfmt.hs.llnwd.net/al/lossless/client_manifest.mpd&icon=http://radio-service-information.api.bbci.co.uk/logos/bbc_radio_three/600x600.png&radiovis=fm/ce1/c203/09100&onair=bbc_radio_three
> [17-08-12 16:51:43.2019] Slim::Player::Song::getNextSong (251) scanning URL iplayer://live?dashflac=http://vs-dash-ww-rd-live.bbcfmt.hs.llnwd.net/al/lossless/client_manifest.mpd&icon=http://radio-service-information.api.bbci.co.uk/logos/bbc_radio_three/600x600.png&radiovis=fm/ce1/c203/09100&onair=bbc_radio_three
> [17-08-12 16:51:43.2026] Slim::Player::Song::__ANON__ (297) Found a playlist
> [17-08-12 16:51:43.2027] Slim::Player::Song::getNextSong (229) iplayer://live?dashflac=http://vs-dash-ww-rd-live.bbcfmt.hs.llnwd.net/al/lossless/client_manifest.mpd&icon=http://radio-service-information.api.bbci.co.uk/logos/bbc_radio_three/600x600.png&radiovis=fm/ce1/c203/09100&onair=bbc_radio_three
> [17-08-12 16:51:43.2030] Slim::Player::Song::_getNextPlaylistTrack (218) Got next URL from playlist; track is: iplayer://live?dashflac=http://vs-dash-ww-rd-live.bbcfmt.hs.llnwd.net/al/lossless/client_manifest.mpd&type=dashflac
> [17-08-12 16:51:43.2033] Slim::Player::Song::_getNextPlaylistTrack (218) Got next URL from playlist; track is: dashflac://vs-dash-ww-rd-live.bbcfmt.hs.llnwd.net/al/lossless/client_manifest.mpd|
> [17-08-12 16:51:43.2035] Slim::Player::StreamingController::_nextTrackReady (737) fe:c6:a1:a2:3a:bf: nextTrack will be index 0
> [17-08-12 16:51:43.2037] Slim::Player::StreamingController::_Stream (1203) Song queue is now 0
> [17-08-12 16:51:43.2038] Slim::Player::StreamingController::_Stream (1206) fe:c6:a1:a2:3a:bf: preparing to stream song index 0
> [17-08-12 16:51:43.2039] Slim::Player::Song::open (363) dashflac://vs-dash-ww-rd-live.bbcfmt.hs.llnwd.net/al/lossless/client_manifest.mpd|
> [17-08-12 16:51:43.2042] Slim::Player::Song::open (387) seek=false time=0 canSeek=1
> [17-08-12 16:51:43.2046] Slim::Player::TranscodingHelper::getConvertCommand2 (446) Matched: flc->flc via: [flac] -dcs --totally-silent $START$ $END$ -- $FILE$ | [sox] -q -t wav - -t wav -b 32 --buffer 32768 --multi-threaded - gain -h rate -v -I -b 90.7 384000
> [17-08-12 16:51:43.2047] Slim::Player::Song::open (408) Transcoder: streamMode=I, streamformat=flc
> [17-08-12 16:51:43.2049] Slim::Player::Song::open (461) Opening stream (no direct streaming) using Plugins::BBCiPlayer::DASH [dashflac://vs-dash-ww-rd-live.bbcfmt.hs.llnwd.net/al/lossless/client_manifest.mpd|]
> [17-08-12 16:51:43.2059] Slim::Player::Song::open (482) URL is a song (audio): dashflac://vs-dash-ww-rd-live.bbcfmt.hs.llnwd.net/al/lossless/client_manifest.mpd|, type=flc
> [17-08-12 16:51:43.2064] Slim::Player::TranscodingHelper::tokenizeConvertCommand2 (617) Using command for conversion: "/usr/share/squeezeboxserver/Bin/x86_64-linux/flac" -dcs --totally-silent -- - | "/usr/share/squeezeboxserver/Bin/x86_64-linux/sox" -q -t wav - -t wav -b 32 --buffer 32768 --multi-threaded - gain -h rate -v -I -b 90.7 384000
> [17-08-12 16:51:43.2065] Slim::Player::Song::open (558) Tokenized command: "/usr/share/squeezeboxserver/Bin/x86_64-linux/flac" -dcs --totally-silent -- - | "/usr/share/squeezeboxserver/Bin/x86_64-linux/sox" -q -t wav - -t wav -b 32 --buffer 32768 --multi-threaded - gain -h rate -v -I -b 90.7 384000
> [17-08-12 16:51:43.2183] Slim::Player::StreamingController::_Stream (1265) fe:c6:a1:a2:3a:bf: stream
> [17-08-12 16:51:43.2199] Slim::Player::StreamingController::_Stream (1302) Song queue is now 0
> [17-08-12 16:51:43.2204] Slim::Player::StreamingController::_setPlayingState (2357) new playing state BUFFERING
> [17-08-12 16:51:43.2206] Slim::Player::StreamingController::_setStreamingState (2366) new streaming state STREAMING
> [17-08-12 16:51:43.2676] Slim::Player::Squeezebox2::directHeaders (471) Processing headers for direct streaming:
> HTTP/1.1 200 OK
> Server: Logitech Media Server (7.9.1 - 1502265250)
> Connection: close
> Content-Type: audio/x-flac
>
> [17-08-12 16:51:43.3449] Slim::Player::Player::_buffering (1140) Buffering... 0 / 261120
> [17-08-12 16:51:43.6466] Slim::Player::Player::_buffering (1140) Buffering... 0 / 261120
> [17-08-12 16:51:43.9480] Slim::Player::Player::_buffering (1140) Buffering... 0 / 261120
> [17-08-12 16:51:44.0716] Slim::Player::Source::_readNextChunk (373) end of file or error on socket, song pos: 0
> [17-08-12 16:51:44.0721] Slim::Player::Source::_readNextChunk (378) fe:c6:a1:a2:3a:bf mark end of stream
> [17-08-12 16:51:44.0723] Slim::Player::Source::_readNextChunk (386) Didn't stream any bytes for this song; mark it as failed
> [17-08-12 16:51:44.0725] Slim::Player::StreamingController::playerStreamingFailed (2228) fe:c6:a1:a2:3a:bf
> [17-08-12 16:51:44.0728] Slim::Player::StreamingController::_playersMessage (789) Problem: Can't open file for:: dashflac://vs-dash-ww-rd-live.bbcfmt.hs.llnwd.net/al/lossless/client_manifest.mpd|
> [17-08-12 16:51:44.0743] Slim::Player::StreamingController::_Stop (603) Song queue is now 0
> [17-08-12 16:51:44.0746] Slim::Player::StreamingController::_setPlayingState (2357) new playing state STOPPED
> [17-08-12 16:51:44.0749] Slim::Player::StreamingController::_setStreamingState (2366) new streaming state IDLE
> [17-08-12 16:51:44.0753] Slim::Player::StreamingController::_willRetry (1391) no retry data
> [17-08-12 16:51:44.0761] Slim::Player::StreamingController::nextsong (882) The next song is number 0, was 0
--------------------
> >

Hi, first serie of error "couldn't find binary for:" is not becouse
C-3Po,l but some other convert.conf settings looking for those codecs.

Error "[17-08-12 16:51:44.0728]
Slim::Player::StreamingController::_playersMessage (789) Problem: Can't
open file for::
dashflac://vs-dash-ww-rd-live.bbcfmt.hs.llnwd.net/al/lossless/client_manifest.mpd|"
is the one fromLMS:

[17-08-12 16:51:43.2065] Slim::Player::Song::open (558) Tokenized
command: "/usr/share/squeezeboxserver/Bin/x86_64-linux/flac" -dcs
--totally-silent -- - |
"/usr/share/squeezeboxserver/Bin/x86_64-linux/sox" -q -t wav - -t wav
-b 32 --buffer 32768 --multi-threaded - gain -h rate -v -I -b 90.7
384000

C-3PO is wrong here becouse it try to convert and resample even if you
did not select the options, I'll correct this soon, tanks to point me
to this, but the real problem is LMS that reject a valid convert line
(try it in custom-convert.conf). Where are you running LMS Win or LInux?



____________________________________________________________
SB+, Klimo Merlino + Kent Gold, Monitor Audio Studio 20 Gold SE+, Klimo
reference and DIS Interconnect.
------------------------------------------------------------------------
marcoc1712's Profile: http://forums.slimdevices.com/member.php?userid=34842
View this thread: http://forums.slimdevices.com/showthread.php?t=105309
Learnincurve
2017-08-13 17:24:11 UTC
Permalink
marcoc1712 wrote:
> Hi, first serie of error "couldn't find binary for:" is not becouse
> C-3Po,l but some other convert.conf settings looking for those codecs.
>
> Error "[17-08-12 16:51:44.0728]
> Slim::Player::StreamingController::_playersMessage (789) Problem: Can't
> open file for::
> dashflac://vs-dash-ww-rd-live.bbcfmt.hs.llnwd.net/al/lossless/client_manifest.mpd|"
> is the one fromLMS:
>
> [17-08-12 16:51:43.2065] Slim::Player::Song::open (558) Tokenized
> command: "/usr/share/squeezeboxserver/Bin/x86_64-linux/flac" -dcs
> --totally-silent -- - |
> "/usr/share/squeezeboxserver/Bin/x86_64-linux/sox" -q -t wav - -t wav
> -b 32 --buffer 32768 --multi-threaded - gain -h rate -v -I -b 90.7
> 384000
>
> C-3PO is wrong here becouse it try to convert and resample even if you
> did not select the options, I'll correct this soon, tanks to point me
> to this, but the real problem is LMS that reject a valid convert line
> (try it in custom-convert.conf). Where are you running LMS Win or LInux?

Hi Marco,

Thanks very much for the pointers. I'm running in Linux and at the
moment have the folliwing convert.conf files:

# updatedb

# locate convert.conf
/etc/squeezeboxserver/convert.conf
/usr/share/perl5/Slim/Plugin/NetTest/custom-convert.conf
/var/lib/squeezeboxserver/cache/InstalledPlugins/Plugins/CDplayer/custom-convert.conf
/var/lib/squeezeboxserver/cache/InstalledPlugins/Plugins/Spotify/custom-convert.conf
/var/lib/squeezeboxserver/cache/InstalledPlugins/Plugins/Spotty/custom-convert.conf

As the custom files are specific, looking at the one in /etc

Here's where the missing codec errors come from:

Code:
--------------------

...
...
# specific combinations match before wildcards

mp4 mp3 * *
# FB:{BITRATE=--abr %B}T:{START=-j %s}U:{END=-e %u}
[faad] -q -w -f 1 $START$ $END$ $FILE$ | [lame] --silent -q $QUALITY$ $BITRATE$ - -

aac mp3 * *
# IFB:{BITRATE=--abr %B}
[faad] -q -w -f 1 $FILE$ | [lame] --silent -q $QUALITY$ $BITRATE$ - -

sls mp3 * *
# FB:{BITRATE=--abr %B}D:{RESAMPLE=--resample %D}
[sls] $FILE$ - -s | [lame] --silent -q $QUALITY$ $RESAMPLE$ $BITRATE$ - -

alc mp3 * *
# FB:{BITRATE=--abr %B}D:{RESAMPLE=--resample %D}T:{START=-j %s}U:{END=-e %u}
[faad] -q -w -f 1 $START$ $END$ $FILE$ | [lame] --silent -q $QUALITY$ $RESAMPLE$ $BITRATE$ - -

ogg mp3 * *
# IFB:{BITRATE=--abr %B}D:{RESAMPLE=--resample %D}
[sox] -q -t ogg $FILE$ -t wav - | [lame] --silent -q $QUALITY$ $RESAMPLE$ $BITRATE$ - -

wav mp3 * *
# IFB:{BITRATE=--abr %B}D:{RESAMPLE=--resample %D}
[lame] --silent -q $QUALITY$ $RESAMPLE$ $BITRATE$ $FILE$ -

aif mp3 * *
# IFB:{BITRATE=--abr %B}D:{RESAMPLE=--resample %D}
[lame] --silent -q $QUALITY$ $RESAMPLE$ $BITRATE$ $FILE$ -

flc mp3 * *
# FB:{BITRATE=--abr %B}T:{START=--skip=%t}U:{END=--until=%v}D:{RESAMPLE=--resample %D}
[flac] -dcs $START$ $END$ -- $FILE$ | [lame] --silent -q $QUALITY$ $RESAMPLE$ $BITRATE$ - -

wma mp3 * *
# F:{PATH=%f}R:{PATH=%F}B:{BITRATE=--abr %B}D:{RESAMPLE=--resample %D}
[wmadec] -w $PATH$ | [lame] --silent -q $QUALITY$ $RESAMPLE$ $BITRATE$ - -

wmal mp3 * *
# F:{PATH=%f}R:{PATH=%F}B:{BITRATE=--abr %B}D:{RESAMPLE=--resample %D}
[wmadec] -w $PATH$ | [lame] --silent -q $QUALITY$ $RESAMPLE$ $BITRATE$ - -

wmap mp3 * *
# F:{PATH=%f}R:{PATH=%F}B:{BITRATE=--abr %B}D:{RESAMPLE=--resample %D}
[wmadec] -w $PATH$ | [lame] --silent -q $QUALITY$ $RESAMPLE$ $BITRATE$ - -

mpc mp3 * *
# IRB:{BITRATE=--abr %B}D:{RESAMPLE=--resample %D}
[mppdec] --silent --prev --gain 3 - - | [lame] --silent -q $QUALITY$ $RESAMPLE$ $BITRATE$ - -

ape mp3 * *
# FB:{BITRATE=--abr %B}D:{RESAMPLE=--resample %D}
[mac] $FILE$ - -d | [lame] --silent -q $QUALITY$ $RESAMPLE$ $BITRATE$ - -

wvp mp3 * *
# FB:{BITRATE=--abr %B}T:{START=--skip=%t}U:{END=--until=%v}D:{RESAMPLE=--resample %D}
[wvunpack] $FILE$ -wq $START$ $END$ -o - | [lame] --silent -q $QUALITY$ $RESAMPLE$ $BITRATE$ - -

mp3 mp3 * *
-
# Non-mp3 starts here
aif aif * *
-

wav pcm * *
-

flc pcm * *
# FT:{START=--skip=%t}U:{END=--until=%v}
[flac] -dcs --force-raw-format --endian=little --sign=signed $START$ $END$ -- $FILE$

flc aif * *
# FT:{START=--skip=%t}U:{END=--until=%v}
[flac] -dcs --force-raw-format --endian=big --sign=signed $START$ $END$ -- $FILE$

ogf ogf * *
-

ogf flc * *
[flac] --ogg -dcs -- $FILE$ | [flac] -cs --ignore-chunk-sizes --totally-silent --compression-level-0 -

ogg ogg * *
-

ogg aif * *
[sox] -q -t ogg $FILE$ -t raw -r 44100 -c 2 -2 -s $-x$ -

ogg pcm * *
[sox] -q -t ogg $FILE$ -t raw -r 44100 -c 2 -2 -s -

wma pcm * *
# F:{PATH=%f}R:{PATH=%F}
[wmadec] -r 44100 -b 16 -n 2 $PATH$

wmal pcm * *
# F:{PATH=%f}R:{PATH=%F}
[wmadec] -r 44100 -b 16 -n 2 $PATH$

wmap pcm * *
# F:{PATH=%f}R:{PATH=%F}
[wmadec] -r 44100 -b 16 -n 2 $PATH$

mpc pcm * *
# IR
[mppdec] --raw-le --silent --prev --gain 2 - -

ape pcm * *
# F
[mac] $FILE$ - -d

mpc aif * *
# IR
[mppdec] --raw-be --silent --prev --gain 2 - -

alc pcm * *
# FT:{START=-j %s}U:{END=-e %u}
[faad] -q -w -f 2 $START$ $END$ $FILE$

wvp pcm * *
# FT:{START=--skip=%t}U:{END=--until=%v}
[wvunpack] $FILE$ -rq $START$ $END$ -o -

mp4 pcm * *
# FT:{START=-j %s}U:{END=-e %u}
[faad] -q -w -f 2 -b 1 $START$ $END$ $FILE$

aac pcm * *
# IF
[faad] -q -w -f 2 -b 1 $FILE$

sls pcm * *
# F
[sls] $FILE$ - -r -s

wma wma * *
-

wmal wmal * *
-

wmap wmap * *
-

# FLAC output starts here

#mp3 flc * *
# [lame] --mp3input --decode -t --silent $FILE$ - | [flac] -cs --totally-silent --compression-level-0 -

flc flc * *
-

aif flc * *
# FT:{START=--skip=%t}U:{END=--until=%v}D:{RESAMPLE=-r %d}
[flac] -cs --totally-silent --compression-level-0 $START$ $END$ -- $FILE$ | [sox] -q -t flac - -t flac -C 0 $RESAMPLE$ -

wav flc * *
# FT:{START=--skip=%t}U:{END=--until=%v}D:{RESAMPLE=-r %d}
[flac] -cs --totally-silent --compression-level-0 $START$ $END$ -- $FILE$ | [sox] -q -t flac - -t flac -C 0 $RESAMPLE$ -

ogg flc * *
# IFRD:{RESAMPLE=-r %d}
[sox] -t ogg $FILE$ -t flac -C 0 $RESAMPLE$ -

wma flc * *
# F:{PATH=%f}R:{PATH=%F}
[wmadec] -w $PATH$ | [flac] -cs --totally-silent --compression-level-0 -

wmal flc * *
# F:{PATH=%f}R:{PATH=%F}
[wmadec] -w $PATH$ | [flac] -cs --totally-silent --compression-level-0 -

wmap flc * *
# F:{PATH=%f}R:{PATH=%F}
[wmadec] -w $PATH$ | [flac] -cs --totally-silent --compression-level-0 -

mpc flc * *
# IR
[mppdec] --silent --prev --gain 2 - - | [flac] -cs --totally-silent --compression-level-0 -

ape flc * *
# F
[mac] $FILE$ - -d | [flac] -cs --totally-silent --compression-level-0 -
mp4 flc * *
# FT:{START=-j %s}U:{END=-e %u}
[faad] -q -w -f 1 $START$ $END$ $FILE$ | [flac] -cs --totally-silent --compression-level-0 --ignore-chunk-sizes -

aac flc * *
# IF
[faad] -q -w -f 1 $FILE$ | [flac] -cs --totally-silent --compression-level-0 --ignore-chunk-sizes -

sls flc * *
# FD:{RESAMPLE=-r %d}
[sls] $FILE$ - -s | [sox] -q -t wav - -t flac -C 0 $RESAMPLE$ -

alc flc * *
# FT:{START=-j %s}U:{END=-e %u}D:{RESAMPLE=-r %d}
[faad] -q -w -f 1 $START$ $END$ $FILE$ | [sox] -q -t wav - -t flac -C 0 $RESAMPLE$ -

wvp flc * *
# FT:{START=--skip=%t}U:{END=--until=%v}D:{RESAMPLE=-r %d}
[wvunpack] $FILE$ -wq $START$ $END$ -o - | [sox] -q -t wav - -t flac -C 0 $RESAMPLE$ -

# AAC & ALAC output start here

aac aac * *
-

mp4 aac * *
-

sls aac * *
-

alc alc * *
-

# special case for smart bitrates on mp3 input
mp3 mp3 transcode *
# IFB:{BITRATE=--abr %B}D:{RESAMPLE=--resample %D}
[lame] --silent -q $QUALITY$ $BITRATE$ $RESAMPLE$ --mp3input $FILE$ -

flc flc transcode *
# FT:{START=--skip=%t}U:{END=--until=%v}D:{RESAMPLE=-r %d}
[flac] -dcs $START$ $END$ -- $FILE$ | [sox] -q -t wav - -t flac -C 0 $RESAMPLE$ -

# This example transcodes MP3s to MP3s, if the target machine has the
# given MAC address. This rule will take precedence over the
# previous rule because it's more specific.
#mp3 mp3 squeezebox 00:02:dd:34:e9:62
# ./brute_filter $FILE$ -

spdr spdr * *
-

dsf dsf * *
# IFD
-

dff dff * *
# IFD
-
--------------------


------------------------------------------------------------------------
Learnincurve's Profile: http://forums.slimdevices.com/member.php?userid=64807
View this thread: http://forums.slimdevices.com/showthread.php?t=105309
Learnincurve
2017-08-14 12:56:15 UTC
Permalink
Stupid question here:

If I have a custom-convert.conf file in the plugin directory, does
that completely override C-3PO? I.e would C-3PO be ignored for that
plugin?


------------------------------------------------------------------------
Learnincurve's Profile: http://forums.slimdevices.com/member.php?userid=64807
View this thread: http://forums.slimdevices.com/showthread.php?t=105309
marcoc1712
2017-08-14 18:49:51 UTC
Permalink
Learnincurve wrote:
> Stupid question here:
>
> If I have a custom-convert.conf file in the plugin directory, does
> that completely override C-3PO? I.e would C-3PO be ignored for that
> plugin?

Inside LMS there is a 'table' with key:

IN format, OUT formar, SB Model, SB mac address.

Profiles are loaded by LMS in this order:

1. convert.conf,
2. custom_convert.conf in the server foder,
3. custom_convert.conf in plugins folder (don't know in witch order, I
assumme is alphabetical).

When a profile is found is replaced by the new one.

Then plugins (like C--3PO) could handle directly the table, loading,
deleting or replacing 'profiles'.

SO, answering your question, NO custom_convet.conf in ANY plugin folder
will not override C-3PO settings, BUT some other plugin could sure
replace profiles loaded by C-3PO (I know at least dsdplay does).

That's why you have the final resulting table exposed in C-3P0.



____________________________________________________________
SB+, Klimo Merlino + Kent Gold, Monitor Audio Studio 20 Gold SE+, Klimo
reference and DIS Interconnect.
------------------------------------------------------------------------
marcoc1712's Profile: http://forums.slimdevices.com/member.php?userid=34842
View this thread: http://forums.slimdevices.com/showthread.php?t=105309
Learnincurve
2017-08-16 12:48:01 UTC
Permalink
marcoc1712 wrote:
> Not stupid at all...
>
> Inside LMS there is a 'profiles table' with key:
>
> IN format, OUT formar, SB Model, SB mac address.
>
> Profiles are loaded by LMS in this order:
>
> 1. convert.conf,
> 2. custom_convert.conf in the server foder,
> 3. custom_convert.conf in plugins folder (don't know in witch order, I
> assume is alphabetical).
>
> When a profile is found is replaced by the new one.
>
> Then plugins (like C--3PO) could handle directly the table, loading,
> deleting or replacing 'profiles'.
>
> So, answering your question, no custom_convet.conf in any plugin folder
> will override C-3PO settings, BUT some plugin could sure replace
> profiles loaded by C-3PO (I know at least dsdplay does), depending on
> the order plugin are loaded by LMS.
>
> That's why you have the final resulting table exposed in C-3P0.

Excellent explanation! Thank you.

Still planning to mess around with custom-conf (plugins folders) when I
get time :)

BR.

--Marius--


------------------------------------------------------------------------
Learnincurve's Profile: http://forums.slimdevices.com/member.php?userid=64807
View this thread: http://forums.slimdevices.com/showthread.php?t=105309
weuw
2017-08-22 12:47:35 UTC
Permalink
Hello I have two questions today :)

I listen to Qobuz streaming flac with Fedora LMS and squeezelite-R2


- Beside I've installed normal squeezelite. In
/etc/sysconfig/squeezelite, we can set parameter for squeezelite
launching, are-they used by squeelite-R2 too ?


- In /etc/squeezeboxserver I created a custom-convert.conf with that
lines for Qobuz :

flc pcm * *
# IRFT:{START=--skip=%t}U:{END=--until=%v}
[flac] -dcs --force-raw-format --endian=little --sign=signed
$START$ $END$ -- $FILE$

It works but it doesn't upsample in DSD DOP on my DAC, how can I do to
upsample to DSD 64 with IRFT parameters ?



Thanks :)


------------------------------------------------------------------------
weuw's Profile: http://forums.slimdevices.com/member.php?userid=67233
View this thread: http://forums.slimdevices.com/showthread.php?t=105309
marcoc1712
2017-08-22 13:24:52 UTC
Permalink
weuw wrote:
> Hello I have two questions today :)
>
> I listen to Qobuz streaming flac with Fedora LMS and squeezelite-R2
>
> > > >
- Beside I've installed normal squeezelite. In
> /etc/sysconfig/squeezelite, we can set parameter for squeezelite
> launching, are-they used by squeelite-R2 too ?
>
>
- In /etc/squeezeboxserver I created a custom-convert.conf with that
> lines for Qobuz :
>
> flc pcm * *
> # IRFT:{START=--skip=%t}U:{END=--until=%v}
> [flac] -dcs --force-raw-format --endian=little --sign=signed
> $START$ $END$ -- $FILE$
>
> It works but it doesn't upsample in DSD DOP on my DAC, how can I do
> to upsample to DSD 64 with IRFT parameters ?
>
> > >
>
> Thanks :)

a. Squeezelite-R2 uses allmost the same parameters as squeezelite.
b. This is the C-3PO support thd, why would you use convert.conf
instead?

Anyway, Qobuz REQUIRE I and for that reason it does not allow T
capabilities, then your line is about flc to pcm (and without
upsampling), you need specifics rows for DSF and DFF with upsaming
parameters, if you want LMS to convet to DSD and upsample.



____________________________________________________________
SB+, Klimo Merlino + Kent Gold, Monitor Audio Studio 20 Gold SE+, Klimo
reference and DIS Interconnect.
------------------------------------------------------------------------
marcoc1712's Profile: http://forums.slimdevices.com/member.php?userid=34842
View this thread: http://forums.slimdevices.com/showthread.php?t=105309
weuw
2017-08-22 14:03:58 UTC
Permalink
marcoc1712 wrote:
> a. Squeezelite-R2 uses allmost the same parameters as squeezelite.
> b. This is the C-3PO support thd, why would you use convert.conf
> instead?
>
> Anyway, Qobuz REQUIRE I and for that reason it does not allow T
> capabilities, then your line is about flc to pcm (and without
> upsampling), you need specifics rows for DSF and DFF with upsaming
> parameters, if you want LMS to convet to DSD and upsample.

:confused: in fact I look for an example of these DFF / DSF upsampling
parameters in convert.conf, it's hard :(


------------------------------------------------------------------------
weuw's Profile: http://forums.slimdevices.com/member.php?userid=67233
View this thread: http://forums.slimdevices.com/showthread.php?t=105309
marcoc1712
2017-08-22 18:20:11 UTC
Permalink
weuw wrote:
> :confused: in fact I look for an example of these DFF / DSF upsampling
> parameters in convert.conf, it's hard :(

I spent quyte a long time to understand how lms transcoding works and
then I wrote C-3PO, sure is possible to reproduce its loigics with
convert,conf and file types, but...

Any way, here the line that C-3PO produces for flac to dsf conversion,
upsampling and filtering with SOX (remember you still need the modified
version of SOX AND a DSD capable squezelite):

flc dsf * *
# FRI
[flac] -dcs --totally-silent $START$ $END$ -- $FILE$ | [sox] -q -t wav -
-t dsf -b 1 --buffer 8192 - gain -h rate -v -L -t -b 99 -f 11289600 sdm
-f clans-6



____________________________________________________________
SB+, Klimo Merlino + Kent Gold, Monitor Audio Studio 20 Gold SE+, Klimo
reference and DIS Interconnect.
------------------------------------------------------------------------
marcoc1712's Profile: http://forums.slimdevices.com/member.php?userid=34842
View this thread: http://forums.slimdevices.com/showthread.php?t=105309
weuw
2017-08-22 19:53:23 UTC
Permalink
marcoc1712 wrote:
> I spent quite a long time to understand how lms transcoding works, then
> I wrote C-3PO. Sure is possible to reproduce the same logic with
> convert.conf and file types, but...
>
> Anyway, here the line that C-3PO produces for flac to dsf conversion,
> upsampling and filtering with SOX (remember you still need the modified
> version of SOX AND a DSD capable squeezelite):
>
> flc dsf * *
> # FRI
> [flac] -dcs --totally-silent $START$ $END$ -- $FILE$ | [sox] -q -t wav -
> -t dsf -b 1 --buffer 8192 - gain -h rate -v -L -t -b 99 -f 11289600 sdm
> -f clans-6

Well done, it works :)


------------------------------------------------------------------------
weuw's Profile: http://forums.slimdevices.com/member.php?userid=67233
View this thread: http://forums.slimdevices.com/showthread.php?t=105309
Ge Ba
2017-09-22 11:26:37 UTC
Permalink
Thank you, Marco, I will try asap and let you know!

Thanks also for the additional background, I just wondered but now I
understand.. great to see there are people like you making this
happening! [emoji2]

Sent from my E6653 using Tapatalk




------------------------------------------------------------------------
Ge Ba's Profile: http://forums.slimdevices.com/member.php?userid=66816
View this thread: http://forums.slimdevices.com/showthread.php?t=105309
Mnyb
2017-09-22 11:38:48 UTC
Permalink
Ge Ba wrote:
> Hi Marco,
>
> so it seems like your Plugin is the way to go for transcoding audio with
> LMS, for me in particular to transcode DSF to PCM/WAV for some of my
> players which cannot do DSD. :(
>
> I've installed LSM 7.9.1 on Synology DS 216play which has an enough
> powerful floating point calculating ARM CPU for transcoding - it already
> does it perfectly, with MinimServer utilising (as far as I understand)
> ffmpeg for the actual transcoding (why do you use SOX rather then
> FFMPEG? - just out of curiosity)
>
> I tried the DSDPlayer plugin to no success, but I would like to give it
> another try with C-3PO. Here's my LMS Info:
>
> Logitech Media Server Version: 7.9.1 - 1503129892 @ Sat Aug 19 09:00:13
> UTC 2017
> Hostname: DiskStation
> Server IP Address: 192.168.1.51
> Server HTTP Port Number: 9002
> Operating system: Synology DiskStation - EN - utf8
> Platform Architecture: armle-linux
> Perl Version: 5.24.0 - armle-linux
> Audio::Scan: 0.93
> Database Version: DBD::SQLite 1.34_01 (sqlite 3.7.7.1)
> Total Players Recognized: 4
>
> From another thread I learned, that Audio::Scan: 0.93 is too old and
> should be at least 0.94 -> I guess I will have to address this with
> Michael Herger.
>
> Apart from that, do I understand correctly that if I install C3-PO and
> replace SOX, I should be ready to go? :rolleyes:
>
> thanks so much,
> Ge

Hi there i do think the audio scan module should be 0.95 not 0.93 to
properly regognise DSD files ?
I dont think you have transcoding issues yet ?

I can use DSD play without C-3PO plugin ?



--------------------------------------------------------------------
Main hifi: Touch + CIA PS +MeridianG68J MeridianHD621 MeridianG98DH 2 x
MeridianDSP5200 MeridianDSP5200HC 2 xMeridianDSP3100 +Rel Stadium 3
sub.
Bedroom/Office: Boom
Kitchen: Touch + powered Fostex PM0.4
Misc use: Radio (with battery)
iPad1 with iPengHD & SqueezePad
(spares Touch, SB3, reciever ,controller )
server HP proliant micro server N36L with ClearOS Linux

http://people.xiph.org/~xiphmont/demo/neil-young.html
------------------------------------------------------------------------
Mnyb's Profile: http://forums.slimdevices.com/member.php?userid=4143
View this thread: http://forums.slimdevices.com/showthread.php?t=105309
Ge Ba
2017-09-22 11:46:33 UTC
Permalink
Mnyb wrote:
> Hi there i do think the audio scan module should be 0.95 not 0.93 to
> properly regognise DSD files ?
> I dont think you have transcoding issues yet ?
>
> I can use DSD play without C-3PO plugin ?Hi Mnyb, I have no options on the DSDplayer settings page, and also not
on the Filetypes page.

I will try to fix the Audio::Scan version first, I have another thread
opened for this here in the Forum.

Then I will try again DSDplayer, but I read somewhere it doesn't support
ARM cpus, and it seems C-3PO can do the same, and even more..?
If this comes down to the modified SOX, I will try and compare both.

Sent from my E6653 using Tapatalk




------------------------------------------------------------------------
Ge Ba's Profile: http://forums.slimdevices.com/member.php?userid=66816
View this thread: http://forums.slimdevices.com/showthread.php?t=105309
loz2103
2017-11-05 16:25:06 UTC
Permalink
Hi all,

I've just started using C-3PO, which seems excellent, so thanks.
However, I can't seem to find the log, which says it should be created
at /var/log/squeezeboxserver/C-3PO.log. I had a look at server.log and I
have this warning:

Slim::Utils::Misc::msg (1244) Warning: [08:40:04.1638] Use of
uninitialized value in concatenation (.) or string at
/var/lib/squeezeboxserver/cache/InstalledPlugins/Plugins/C3PO/Plugin.pm
line 274.

Not sure if this has anything to do with it or not.

I'm using lms 7.9.0.

Thanks in advance.


------------------------------------------------------------------------
loz2103's Profile: http://forums.slimdevices.com/member.php?userid=55887
View this thread: http://forums.slimdevices.com/showthread.php?t=105309
marcoc1712
2017-11-05 17:37:31 UTC
Permalink
loz2103 wrote:
> Hi all,
>
> I've just started using C-3PO, which seems excellent, so thanks.
> However, I can't seem to find the log, which says it should be created
> at /var/log/squeezeboxserver/C-3PO.log. I had a look at server.log and I
> have this warning:
>
> Slim::Utils::Misc::msg (1244) Warning: [08:40:04.1638] Use of
> uninitialized value in concatenation (.) or string at
> /var/lib/squeezeboxserver/cache/InstalledPlugins/Plugins/C3PO/Plugin.pm
> line 274.
>
> Not sure if this has anything to do with it or not.
>
> I'm using lms 7.9.0.
>
> Thanks in advance.

hi,

the warning in log file is there becuse I'm lazy... please forgive me!

Normally C-3PO share the same log file as LMS, only when is asked to run
as 'transcoder' - depending on settings and actual file characteristics
- it wrote in his own one. Remember to activate logging as usual.

To understand if C-3PO is running as transcoder or not, you could have a
look to the "file type transcoding table", looking for [C-3PO] appearing
as transcoder or not.

here flac is not uusing C-3PO as transcoder, all the others format
does.


Code:
--------------------


In Out [Transcoder] Model Player Id

...

aif aif [C-3PO] * 00:20:00:00:00:25
alc pcm [C-3PO] * 00:20:00:00:00:25

...

dff pcm [C-3PO] * 00:20:00:00:00:25
dsf pcm [C-3PO] * 00:20:00:00:00:25
...
flc pcm [sox|flac] * 00:20:00:00:00:25
...
wav pcm [C-3PO] * 00:20:00:00:00:25

...


--------------------


The "Last executed command" then will look like that:


Code:
--------------------

LAST EXECUTED COMMAND

At: 2017/11/05 18:17:54

Profile:

wav-pcm-*-00:20:00:00:00:25

Command:

[C-3PO] -c $CLIENTID$ -p "C:\ProgramData\Squeezebox\prefs\plugin\C3PO.prefs" -l "C:\\ProgramData\\Squeezebox\\logs" -x "F:/Sviluppo/slimserver" -i wav -o wav $START$ $END$ $RESAMPLE$ $FILE$ --nodebuglog

Tokenized command:

"F:\Sviluppo\slimserver\Plugins\C3PO\Bin\MSWin32-x86-multi-thread\C-3PO.exe" -c 00-20-00-00-00-25 -p "C:\ProgramData\Squeezebox\prefs\plugin\C3PO.prefs" -l "C:\\ProgramData\\Squeezebox\\logs" -x "F:/Sviluppo/slimserver" -i wav -o wav "F:\SVILUPPO\01 - SqueezeboxServer Plugins\musica campione\20_Sec\wav_16_044100.wav" --nodebuglog |

Trasformed by C-3PO in:

F":\Sviluppo\slimserver\Plugins\C3PO\Bin\MSWin32-x86-multi-thread\sox.exe" -q -t wav "F:\SVILUPPO\01 - SqueezeboxServer Plugins\musica campione\20_Sec\wav_16_044100.wav" -t wav -b 24 --buffer 65536 --multi-threaded - gain -h remix -m 1v0.95 2 rate -v -L -t -b 99 -f 176400 dither -f improved-e-weighted


--------------------


when normally you miss the "Trasformed by C-3PO in:" section.



____________________________________________________________
SB+, Klimo Merlino + Kent Gold, Monitor Audio Studio 20 Gold SE+, Klimo
reference and DIS Interconnect.
------------------------------------------------------------------------
marcoc1712's Profile: http://forums.slimdevices.com/member.php?userid=34842
View this thread: http://forums.slimdevices.com/showthread.php?t=105309
marcoc1712
2017-11-05 18:21:11 UTC
Permalink
Ge Ba wrote:
> Hi Mnyb, I have no options on the DSDplayer settings page, and also not
> on the Filetypes page.
>
> I will try to fix the Audio::Scan version first, I have another thread
> opened for this here in the Forum.
>
> Then I will try again DSDplayer, but I read somewhere it doesn't support
> ARM cpus, and it seems C-3PO can do the same, and even more..?
> If this comes down to the modified SOX, I will try and compare both.
>
> Sent from my E6653 using Tapatalk

Audioscan is used also by C-3PO, so it will not recognize DSD files with
that old version.

I understand you could not select DSDPLAY as the transcoder, but do you
see DSF and DFF types in the Filetypes page? If so, you could try to
use modified SOX directly from the custom-convert.conf file, if not
C-3PO.



____________________________________________________________
SB+, Klimo Merlino + Kent Gold, Monitor Audio Studio 20 Gold SE+, Klimo
reference and DIS Interconnect.
------------------------------------------------------------------------
marcoc1712's Profile: http://forums.slimdevices.com/member.php?userid=34842
View this thread: http://forums.slimdevices.com/showthread.php?t=105309
Ge Ba
2017-11-05 21:17:09 UTC
Permalink
Hi Marco,

marcoc1712 wrote:
> Audioscan is used also by C-3PO, so it will not recognize DSD files with
> that old version.
>
Fortunately this problem is solved now.

> I understand you could not select DSDPLAY as the transcoder, but do you
> see DSF and DFF types in the Filetypes page? If so, you could try to
> use modified SOX directly from the custom-convert.conf file, if not
> C-3PO.
Today I re-compiled the latest sox version, I have DFF and DSF in File
Types and also I can use DSDplayer to transcode Dsf to Flac.
However, I still have issues with buffering drop outs. DSDplayer gives
me very few options which do not solve this issue.

I was not able yet to get C-3PO to do the job either. Maybe I should try
to tweak the modified SOX directly from the custom-convert.conf file as
you said...

It's a little bit frustrating, as all this went with zero issues in
MinimServer.

Gerhard

Sent from my E6653 using Tapatalk




------------------------------------------------------------------------
Ge Ba's Profile: http://forums.slimdevices.com/member.php?userid=66816
View this thread: http://forums.slimdevices.com/showthread.php?t=105309
marcoc1712
2017-11-05 21:36:12 UTC
Permalink
Ge Ba wrote:
>
> ...
> I was not able yet to get C-3PO to do the job either. Maybe I should try
> to tweak the modified SOX directly from the custom-convert.conf file as
> you said...

At this point there should be no reason for C-3PO not to work, have you
got some error message?



____________________________________________________________
SB+, Klimo Merlino + Kent Gold, Monitor Audio Studio 20 Gold SE+, Klimo
reference and DIS Interconnect.
------------------------------------------------------------------------
marcoc1712's Profile: http://forums.slimdevices.com/member.php?userid=34842
View this thread: http://forums.slimdevices.com/showthread.php?t=105309
Ge Ba
2017-11-05 21:54:35 UTC
Permalink
marcoc1712 wrote:
> At this point there should be no reason for C-3PO not to work, have you
> got some error message?Let me try again this week and have a look at plugin C-3PO and
player.source logs. I looked in UPnP bridge streaming logs but nothing
special there.

Sent from my E6653 using Tapatalk




------------------------------------------------------------------------
Ge Ba's Profile: http://forums.slimdevices.com/member.php?userid=66816
View this thread: http://forums.slimdevices.com/showthread.php?t=105309
Ge Ba
2017-11-10 11:36:43 UTC
Permalink
marcoc1712 wrote:
> At this point there should be no reason for C-3PO not to work, have you
> got some error message?

You are right, itÂ’s working now, when I use dsf to compressed flac.
Transcode to pcm produces white noise though. Will do further testing!
Also have issues with Server Disconnects, but probably unrelated.




------------------------------------------------------------------------
Ge Ba's Profile: http://forums.slimdevices.com/member.php?userid=66816
View this thread: http://forums.slimdevices.com/showthread.php?t=105309
marcoc1712
2017-11-10 12:16:12 UTC
Permalink
Ge Ba wrote:
> Transcode to pcm produces white noise though.

Remember that in order to play transcoded/resampled pcm you need
squeezelite with R2 patch activated (Squeezelite-R2, Daphile or Ralphy
squeezelite with -W option activated), no 'real' SB could.



____________________________________________________________
SB+, Klimo Merlino + Kent Gold, Monitor Audio Studio 20 Gold SE+, Klimo
reference and DIS Interconnect.
------------------------------------------------------------------------
marcoc1712's Profile: http://forums.slimdevices.com/member.php?userid=34842
View this thread: http://forums.slimdevices.com/showthread.php?t=105309
Ge Ba
2017-11-10 12:23:10 UTC
Permalink
marcoc1712 wrote:
> Remember that in order to play transcoded/resampled pcm you need
> squeezelite with R2 patch activated (Squeezelite-R2, Daphile or Ralphy
> squeezelite with -W option activated), no 'real' SB could.

Ok. But what about the UPnP bridge plugin then?




------------------------------------------------------------------------
Ge Ba's Profile: http://forums.slimdevices.com/member.php?userid=66816
View this thread: http://forums.slimdevices.com/showthread.php?t=105309
marcoc1712
2017-11-10 20:30:19 UTC
Permalink
Ge Ba wrote:
> Ok. But what about the UPnP bridge plugin then?

I think it's a Squeezelite derived, born well before I released the R2
patch, so Ithink is not compliant. You maybe could ask Philippe44 to
refresh and include that patch.



____________________________________________________________
SB+, Klimo Merlino + Kent Gold, Monitor Audio Studio 20 Gold SE+, Klimo
reference and DIS Interconnect.
------------------------------------------------------------------------
marcoc1712's Profile: http://forums.slimdevices.com/member.php?userid=34842
View this thread: http://forums.slimdevices.com/showthread.php?t=105309
eduardoo
2017-11-14 12:01:54 UTC
Permalink
Thanks, Ge Ba and Marco.

Compiling would be way above my competency (and makes me regret not
doing computer science in school decades ago), and would probably not be
worth it for the occasional dsd files.

Perhaps slightly off topic, I read somewhere that I can actually fiddle
with the squeezelite on my sotm to make it think that it can't do dsd,
such that the dsdplayer options would be available in lms (now there's
none for this player). Any idea how that's done?

Thanks again!


------------------------------------------------------------------------
eduardoo's Profile: http://forums.slimdevices.com/member.php?userid=25850
View this thread: http://forums.slimdevices.com/showthread.php?t=105309
Ge Ba
2017-11-14 08:44:36 UTC
Permalink
eduardoo wrote:
>
> What am I missing? Thanks.

Hi Eduardoo,

hope you don't mind me answering on this one. Seems you are on a similar
path like me, just with QNAP rather than Synology..

Here's my 2 cents:
99% sure you will need to compile sox on the NAS itself, UNLESS you find
somebody who did this already before you and is willing to hand you the
compiled binary (or you know people at QNAP who would do..?)
Couple of months ago I decided to install a development environment on
my NAS. It all went well, just took me a hell of a lot of time to get
everything running (including LMS) and finally compile sox for DSD. I'm
not a Linux Pro, just regular user.
NAS just aren't made for people doing their own tweaking and fine
tuning.
Pis are.
But just for the occasional DSD file? There are easier solutions.

@marco
The one huge question remains, why is there this separate fork of sox,
why don't do they merge mansr adjustments into the main stream sox?
For audiophiles, this situation is a disaster.

Sent from my E6653 using Tapatalk



*Server:* LMS 7.9.1-166 Synology @ Sept 04 2017 on DS216Play. SOX mansr
ARMv7 & C-3PO. *Players:* SB Radio, Freecom MusicPal. Multiroom HiFi:
Denon AVR-X4000, AVM M30, Nubert NuLine/NuVero 5.1+2
------------------------------------------------------------------------
Ge Ba's Profile: http://forums.slimdevices.com/member.php?userid=66816
View this thread: http://forums.slimdevices.com/showthread.php?t=105309
marcoc1712
2017-11-14 11:20:55 UTC
Permalink
Ge Ba wrote:
>
> @marco
> The one huge question remains, why is there this separate fork of sox,
> why don't do they merge mansr adjustments into the main stream sox?
> For audiophiles, this situation is a disaster.
>
> Sent from my E6653 using Tapatalk

Sorry, but I'm not the one to ask this for, .

I'm quite sure mansr sent patches to sox mantainer, but you know how
requests coming from audiofiles are considered, perhaps you could 'vote'
for integration at SOX site, don't know.

FYI,

in a first time I forked SOX just becouse there were some bugs in it
(wav was limited in size) and I sent the patches to sox mantainer too,
but I've never got answer. Then, when I discovered the DSD capabilities
of the mansr fork, I integrated it in my version and sent patches to
mansr too. He immediatly accepted and integrated them, then now I'm with
him and I do not distribute my version of sox anymore.

Is how free software (should) work, you trade functionalities for
reliability, but you can.



____________________________________________________________
SB+, Klimo Merlino + Kent Gold, Monitor Audio Studio 20 Gold SE+, Klimo
reference and DIS Interconnect.
------------------------------------------------------------------------
marcoc1712's Profile: http://forums.slimdevices.com/member.php?userid=34842
View this thread: http://forums.slimdevices.com/showthread.php?t=105309
Ge Ba
2017-11-14 12:04:06 UTC
Permalink
marcoc1712 wrote:
> Sorry, but I'm not the one to ask this for, .
>
Hi Marco,

ItÂ’s 2017. Most producers have included DSD into their Equipment. Even
my phone plays DSD files now by standard!

I will open a ticket at their website and see what happens. But I saw no
commits to the original sox on github for the last two years or so, not
sure whatÂ’s going on.

your work is really appreciated, Marco.

Gerhard



*Server:* LMS 7.9.1-166 Synology @ Sept 04 2017 on DS216Play. SOX mansr
ARMv7 & C-3PO. *Players:* SB Radio, Freecom MusicPal. Multiroom HiFi:
Denon AVR-X4000, AVM M30, Nubert NuLine/NuVero 5.1+2
------------------------------------------------------------------------
Ge Ba's Profile: http://forums.slimdevices.com/member.php?userid=66816
View this thread: http://forums.slimdevices.com/showthread.php?t=105309
marcoc1712
2017-11-05 18:10:34 UTC
Permalink
Mnyb wrote:
> I can use DSD play without C-3PO plugin ?

Sure, if you just want to convert DSD to PCM is probably the way to go.



____________________________________________________________
SB+, Klimo Merlino + Kent Gold, Monitor Audio Studio 20 Gold SE+, Klimo
reference and DIS Interconnect.
------------------------------------------------------------------------
marcoc1712's Profile: http://forums.slimdevices.com/member.php?userid=34842
View this thread: http://forums.slimdevices.com/showthread.php?t=105309
Mnyb
2017-11-14 06:31:19 UTC
Permalink
marcoc1712 wrote:
> Sure, if you just want to convert DSD to PCM is probably the way to go.

Sorry missed your reply .

Yes I have only PCM equipment , meaning it's going to be DSD-PCM for the
rare music I cant find a PCM download for .



--------------------------------------------------------------------
Main hifi: Touch + CIA PS +MeridianG68J MeridianHD621 MeridianG98DH 2 x
MeridianDSP5200 MeridianDSP5200HC 2 xMeridianDSP3100 +Rel Stadium 3
sub.
Bedroom/Office: Boom
Kitchen: Touch + powered Fostex PM0.4
Misc use: Radio (with battery)
iPad1 with iPengHD & SqueezePad
(spares Touch, SB3, reciever ,controller )
server HP proliant micro server N36L with ClearOS Linux

http://people.xiph.org/~xiphmont/demo/neil-young.html
------------------------------------------------------------------------
Mnyb's Profile: http://forums.slimdevices.com/member.php?userid=4143
View this thread: http://forums.slimdevices.com/showthread.php?t=105309
Ge Ba
2017-11-14 08:14:31 UTC
Permalink
Mnyb wrote:
> Sorry missed your reply .
>
> Yes I have only PCM equipment , meaning it's going to be DSD-PCM for the
> rare music I cant find a PCM download for .This is what I would recommend for most users, if only DSD to PCM is
needed. Try with DSDplayer first, as it's more easy to configure and
probably fine in many cases.

However, in my experience, C-3PO provides a lot more options to
configure the transcoding (through how it involves sox). Therefore it's
been the only way for me to get continuous DSD to PCM transcoding to my
players using LSM.

For me, transcoding is an intermediate solution, until I've made it to a
reasonable streamer / DAC combination (not sure should I go for a brand
device or some Pi/derivate solution).


Sent from my E6653 using Tapatalk



*Server:* LMS 7.9.1-166 Synology @ Sept 04 2017 on DS216Play. SOX mansr
ARMv7 & C-3PO. *Players:* SB Radio, Freecom MusicPal. Multiroom HiFi:
Denon AVR-X4000, AVM M30, Nubert NuLine/NuVero 5.1+2
------------------------------------------------------------------------
Ge Ba's Profile: http://forums.slimdevices.com/member.php?userid=66816
View this thread: http://forums.slimdevices.com/showthread.php?t=105309
Loading...