Haha, some more learning and progress this morning...

I removed QLMS from my QNAP and checked all files are gone... which they
were.

Re-installed QLMS and as expected I had a "blank system" went through
the setup wizard as I normally would and once my library was scanned I
pulled my Boom over from my day-to-day LMS on pCP.
It had a volume setting of 50

So I went in search of where it got this from and sure enough it was in
Player.pm in a section called "our $defaultPrefs"...

our $defaultprefs = {
        'bass'                 => 50,
        'digitalvolumecontrol' => 1,
        'preampvolumecontrol'  => 0,
        'disabledirsets'       => [],
        'irmap'                => sub { slim::hardware::ir::defaultmapfile()
},
        'menuitem'             => [qw(
                now_playing
                browse_music
                radio
                plugin_my_apps_module_name
                plugin_app_gallery_module_name
                favorites
                global_search
                plugins
                settings
                squeezenetwork_connect
        )],
        'mp3silenceprelude'    => 0,
        'pitch'                => 100,
        'power'                => 1,
        'screensaver'          => 'screensaver',
        'idlesaver'            => 'nosaver',
        'offsaver'             => 'screensaver.datetime',
        'alarmsaver'           => 'screensaver.datetime',
        'screensavertimeout'   => 30,
        'syncpower'            => 0,
        'syncvolume'           => 0,
        'treble'               => 50,
        *'volume'               => 50,*
        'bufferthreshold'      => 255,  # kb
        'poweronresume'        => 'pauseoff-playon',
        'maintainsync'         => 1,
        'minsyncadjust'        => 30,   # ms
        'packetlatency'        => 2,    # ms
        'startdelay'           => 0,    # ms
        'playdelay'            => 0,    # ms
        'fadeinduration'       => 0,
};

I confirmed this by editing Player.pm and changing 50 to 75, pulled the
Boom back onto pCP LMS then stopping QLMS and deleting server.prefs

Restarting QLMS created a new server.prefs and I had to go back through
the setup wizard, once complete I pulled the Boom back onto QLMS and hey
presto! volume was set at 75.

I then verified server.prefs had 75 as volume level for that client,
changed the Boom volume to 20, again verified server.prefs had recorded
that change and stopped/restarted QLMS - as I'd previously seen, upon
restart the volume remained unchanged at 20.
This is slightly different behaviour to what you are seeing... in my
test I had to force the system to pick up the default value from
Player.pm by removing server.prefs... and then it's obvious that has
happened as you have to go back through the setup wizard, not so in your
case where it seems server.prefs is being updated with a volume level of
100 for that client.

One final test, last night I had a look in cache.db and couldn't see
anything related to volume in there, but to eliminate that as a possible
cause I stopped QLMS, deleted cache.db and then restarted QLMS and again
the Boom volume remained at 20.

So I'm pretty confident that the initial default setting for volume on a
player comes from Player.pm after that the volume value for each client
is maintained in server.prefs

You have something else at play here... what plugins do you have
installed?

Kev


------------------------------------------------------------------------
KeBul's Profile: http://forums.slimdevices.com/member.php?userid=32883
View this thread: http://forums.slimdevices.com/showthread.php?t=114991

_______________________________________________
Boom mailing list
[email protected]
http://lists.slimdevices.com/mailman/listinfo/boom

Reply via email to