Bug 15117 - Squeezebox server 7.4.1 does not save audio settings correctly on Transporter
: Squeezebox server 7.4.1 does not save audio settings correctly on Transporter
Status: CLOSED FIXED
Product: SB Transporter
Classification: Unclassified
Component: Setup
: 74
: Infrant ReadyNAS RAIDiator (SPARC)
: P3 major (vote)
: 7.5.0
Assigned To: Felix Mueller
:
Depends on:
Blocks:
  Show dependency treegraph
 
Reported: 2009-11-16 03:56 UTC by callesoroe
Modified: 2010-04-09 06:46 UTC (History)
3 users (show)

See Also:
Category: Bug


Attachments
logfile from squeezeboxserver (88.78 KB, text/plain)
2009-11-16 04:24 UTC, callesoroe
Details
with suggested settings (5.54 KB, text/plain)
2009-11-16 13:46 UTC, callesoroe
Details
With suggested settings (101.06 KB, text/plain)
2009-11-16 13:50 UTC, callesoroe
Details
don't read fxloop settings from the player, use server side prefs instead (848 bytes, application/octet-stream)
2009-11-26 02:43 UTC, Michael Herger
Details

Note You need to log in before you can comment on or make changes to this bug.
Description callesoroe 2009-11-16 03:56:05 UTC
Sean says that it is a bug, and then I believe it. List below from audiophile forum:

Quote:
Originally Posted by callesoroe  
I have a remote controlled outlet, which powers all my equipment off when I got to bed. Does this reset The Transporter. Because my settings regarding effect loop is disabled every day at startup, eventhough I have changed settings to active and saved them in the settings menu in Squeezebox server ??? 

Answer from Sean Adams:

Power cycling will NOT affect any settings saved internally in Transporter - those are only the network settings anyway. All the "interesting" settings that affect audio playback are maintained by the server/.

You may have found a bug in SqueezeCenter where it is not properly reinitializing the player when it connects.

By the way: The clockfunction to effectloops also goes back to Transporter is master, eventhoug I have saved that external is master. This happens every day and it nearly burned off my Martin Logan speakers, because I thougt that My Tact was master volume, but it has disabled this at startup and it started with 250W output from my amps!!!!!!!
Comment 1 callesoroe 2009-11-16 04:24:29 UTC
Created attachment 6311 [details]
logfile from squeezeboxserver

added log
Comment 2 James Richardson 2009-11-16 09:45:27 UTC
The attached log file does not contain useful information in regards to this error report

Please set the following to DEBUG, then produce another log file:

player.ui
prefs
server
Comment 3 callesoroe 2009-11-16 13:46:48 UTC
Created attachment 6315 [details]
with suggested settings

Here is n new log with the suggested settings. The error is there after every power on of The Transporter, so there is nothing temporary in this.
Comment 4 callesoroe 2009-11-16 13:50:20 UTC
Created attachment 6316 [details]
With suggested settings

Here is a log with the suggested settings for log. The error is there after every power off/on of the transporter, so it is not temporary.
Comment 5 callesoroe 2009-11-16 13:56:02 UTC
I think it is a major bug, though it can burn off your speakers.....
Comment 6 James Richardson 2009-11-16 14:01:10 UTC
Michael: Can you have a look at the attached log for any errors?  QA tested on Windows Vista / MAC OSx 10.5 but was unable to replicate the bug as reported.

This could be specific to ReadyNAS?
Comment 7 Michael Herger 2009-11-19 08:04:43 UTC
What particular settings/prefs are we talking about here? Something particular to the transporter?
Comment 8 callesoroe 2009-11-19 13:43:32 UTC
It is the settings regarding input to effectloop and clockfunction to effectloops.

When I change input to effectloop from Deactivated to AES/EBU and the setting clockfunction to effectloops from "synchronous Transporter Master" to 
"asynchronous Eksternal processor Master" and save this, then when The Transporter starts up again, the settings are NOT changed. They are back to effectloop disabled and synchronous.
Comment 9 callesoroe 2009-11-19 13:45:19 UTC
(In reply to comment #8)
> It is the settings regarding input to effectloop and clockfunction to
> effectloops.
> When I change input to effectloop from Deactivated to AES/EBU and the setting
> clockfunction to effectloops from "synchronous Transporter Master" to 
> "asynchronous Eksternal processor Master" and save this, then when The
> Transporter starts up again, the settings are NOT changed. They are back to
> effectloop disabled and synchronous.

And these settings are speciffic for Transporter
Comment 10 Michael Herger 2009-11-25 01:03:48 UTC
Felix - I think this is a firmware issue. It seems to be working perfectly fine eg. on server change. As long as you don't power cycle the device, fxloopSource and fxloopClock are carried along by the player. Changing those prefs on server A will result in them being changed on server B when switching. The prefs stored in the player take precedence over the locally (on the server) stored values.

But if you power cycle the transporter, these two prefs are reset to defaults. It looks as if the values were stored in the player's memory, but not written to some non-volatile memory or something.
Comment 11 Felix Mueller 2009-11-25 09:34:54 UTC
Some background: The two settings in question are _not_ stored in non-volatile memory (and never were) and therefore cannot survive a power cycle. They need to be reinitialized from the server upon reconnection.

Also see Sean's comment in the initial description where he actually states that.

I guess something changed on server's side which does not initialize those two values upon reconnection.
Comment 12 Michael Herger 2009-11-25 09:49:38 UTC
> I guess something changed on server's side which does not initialize  
> those two values upon reconnection.

It does, but only after querying the player's values first - which will  
reset the values. I guess this is needed in case somebody is using the  
player's firmware menu to select source etc.
Comment 13 Felix Mueller 2009-11-26 01:30:28 UTC
Ok, here is what I found. The following settings are handled by 'setd':

0 : Player Name (hostname)
1 : Digital Output Encoding (digital_encoding)
2 : World Clock On S/PDIF Outputs (world_clock_output)
3/4 : Power Off AUDIO (power_off_dac)
5 : Effects Loop Input (fxloop_input)
6 : Effects Loop Clock Mode (fxloop_clock_mode)

Now, of the above 'setd' settings only 0, 1, 2, 3 (4) are stored in non-volatile memory and only those can also be changed in Transporter firmware menu via 'Current Settings'.

The two settings in question 5 and 6 cannot be changed in 'Current Settings' and are not stored in non-volatile memory which makes sense to me as they cannot be used without streaming music. In other words the effects loop is only interesting when using with a server.

So my conclusion is that settings 5 and 6 should never be queried by the server, but just be set to whatever is stored on the server side.

BTW: 'Clock Source' is handled by a separate SlimProto command 'audc'.
Comment 14 callesoroe 2009-11-26 01:46:57 UTC
(In reply to comment #13)
> Ok, here is what I found. The following settings are handled by 'setd':
> 0 : Player Name (hostname)
> 1 : Digital Output Encoding (digital_encoding)
> 2 : World Clock On S/PDIF Outputs (world_clock_output)
> 3/4 : Power Off AUDIO (power_off_dac)
> 5 : Effects Loop Input (fxloop_input)
> 6 : Effects Loop Clock Mode (fxloop_clock_mode)
> Now, of the above 'setd' settings only 0, 1, 2, 3 (4) are stored in
> non-volatile memory and only those can also be changed in Transporter firmware
> menu via 'Current Settings'.
> The two settings in question 5 and 6 cannot be changed in 'Current Settings'
> and are not stored in non-volatile memory which makes sense to me as they
> cannot be used without streaming music. In other words the effects loop is only
> interesting when using with a server.
> So my conclusion is that settings 5 and 6 should never be queried by the
> server, but just be set to whatever is stored on the server side.
> BTW: 'Clock Source' is handled by a separate SlimProto command 'audc'.

It does not make sense, that you shall startup Squeezeboxserver web interface and change settings, before you can start playing music....... Remember that if you are running the effectloop, it is because your AMP's are connected to the Transporter. And if settings is reset then it blow out FULL VOLUME when it starts up!!! and may burn of your speakers.....
Comment 15 Felix Mueller 2009-11-26 01:56:03 UTC
Hi there

I think you misunderstood my comments. The idea is that the effect loop settings are restored _automatically_ as soon as Transporter connects to Squeezebox Server. There should be no need to go to the web interface and do that manually every time.

I hope this clarifies my earlier comments. Sorry for the confusion.

Felix
Comment 16 Michael Herger 2009-11-26 02:43:29 UTC
Created attachment 6341 [details]
don't read fxloop settings from the player, use server side prefs instead
Comment 17 SVN Bot 2009-11-26 23:23:20 UTC
 == Auto-comment from SVN commit #29493 to the slim repo by michael ==
 == https://svn.slimdevices.com/slim?view=revision&revision=29493 ==

Fixed Bug: 15117
Description: neither clockSource nor fxloop prefs are stored in the player. Set them from the server's prefs when connecting.
Comment 18 callesoroe 2009-12-22 13:50:10 UTC
Does this fix come in a nightly version??
Comment 19 callesoroe 2009-12-22 13:53:09 UTC
oh I can see the fix is there now in 7.5 nightly. Sorry for the prior comment.
Comment 20 Chris Owens 2010-04-08 17:25:57 UTC
This bug has been marked fixed in a released version of Squeezebox Server or the accompanying firmware or mysqueezebox.com release.

If you are still seeing this issue, please let us know!
Comment 21 callesoroe 2010-04-09 06:46:26 UTC
I can confirm that is has been fixed with 7.5   :)