philippe_44 wrote:
> There was a bug in volume management when "trigger" was selected ...
> it's a complicated thing. Can you give a try to 0.3.2.2.1? If you want
> all LMS commands to be ignored, set <player_volume> to -1 and
> <volume_mode> to 0. I suspect that in your case the <player_volume> was
> set to 0
>
> The following parameters are needed to fine tune behavior: <volume_mode>
> (Mode), <player_volume> (Default), <volume_trigger> (Trigger),
> <volume_feedback> (Feedback)
>
> <volume_mode> (2) : defines if LMS volume commands shall be ignored
> (0), translated to AirPlay commands (2 = hardware) or gain shall be
> apply on samples (1= software)
> <player_volume> (-1) : volume that is set when a track starts and no
> LMS volume command has been received yet. When <volume_mode> is set to
> hardware, this value is used only once as obviously further LMS volume
> commands will be received. Set to -1 so that this value is ignored (only
> actual LMS volume commands, if allowed, will be used)
> <volume_trigger> (0) : wait for the AirPlay device to send it's volume
> status before issuing the first volume command. Some players need that
> otherwise they ignore volume commands. When <volume_mode> is software or
> ignore, the <player_volume> value will be sent (again) upon reception of
> player's status
> <volume_feedback> (1) : when a volume change is made directly on the
> AirPlay player (using its remote), this allows such change to be
> forwarded to LMS. When <volume_mode> is set to software, feedback is
> ignored as it would not make any sense.
>
> I wish there was a universal set of parameters, but I did not find any.
> In most of the cases, the default work, but obviously not always
I installed the development version 3.2.2.1. I tried without trigger,
and as soon as I touched the remote the volume went to max. I then
tried with trigger, and volume was at max straight away. The log for
the latter is below, showing my frantic attempts to reduce the volume.
Code:
--------------------
Starting Squeeze2raop:
/var/lib/squeezeboxserver/cache/InstalledPlugins/Plugins/RaopBridge/Bin/squeeze2raop-x86-64
-Z -I -f /var/log/squeezeboxserver/raopbridge.log -x
/var/lib/squeezeboxserver/prefs/raopbridge.xml
[10:00:24.410063] main:1406 Starting squeeze2raop version: v0.3.2.2.1 (Dec 12
2017 @ 13:02:05)
[10:00:24.411889] Start:1192 Binding to 10.99.55.10
[10:00:24.412074] StartActiveRemote:1125 DACP port: 42111
[10:00:39.435799] AddRaopDevice:840 [0x70e080]: adding renderer
(Marantz-M-CR603)
[10:00:39.437143] raopcl_create:698 [0x7fa6780010b0]: using PCM coding
[10:00:39.440269] output_raop_thread_init:126 [0x6b37c0]: init output raop
[10:00:39.440409] output_init_common:290 allocating 1764000
[10:00:39.442685] slimproto:822 squeezelite [0x6b37c0] <=> player [0x70e080]
[10:00:39.442866] slimproto:823 [0x6b37c0] connecting to 10.99.55.10:3483
[10:00:39.444894] slimproto:854 [0x6b37c0] connected
[10:00:39.445017] sendHELO:112 [0x6b37c0] cap:
Model=squeezelite,ModelName=SqueezeLite,AccuratePlayPoints=1,HasDigitalOut=1,MaxSampleRate=96000,flc,pcm,aif,aac,mp3
[10:00:39.449120] PlayerThread:512 [0x70e080]: processing off
[10:01:47.854561] PlayerThread:504 [0x70e080]: flushing ...
[10:01:47.862795] sq_callback:332 [0x70e080]: volume ignored 36
[10:01:47.865539] process_strm:233 [0x6b37c0] strm command s
[10:01:47.865666] process_strm:307 [0x6b37c0], strm s autostart: 1 transition
period: 10 transition type: 0 codec: f
[10:01:47.865953] sq_callback:348 [0x70e080]: codec:f, ch:255, s:255, r:255
[10:01:47.866095] PlayerThread:484 [0x70e080]: raop connecting ...
[10:01:47.866472] sq_callback:332 [0x70e080]: volume ignored 36
[10:01:47.866824] raopcl_connect:970 [0x7fa6780010b0]: local interface
10.99.55.10
[10:01:49.539058] PlayerThread:488 [0x70e080]: raop connected
[10:01:49.543677] raopcl_accept_frames:417 [0x7fa6780010b0]: begining to
stream hts:0 n:3722148109.2335066344
[10:01:49.543930] raopcl_accept_frames:425 [0x7fa6780010b0]: restarting w/o
pause n:3722148109.2335066344, hts:164146731630875
[10:01:49.554074] _output_frames:53 [0x6b37c0]: start buffer frames: 417792
[10:01:49.554130] _output_frames:100 [0x6b37c0]: track start sample rate:
44100 replay_gain: 0
[10:01:49.564440] output_raop_thread:99 [0x6b37c0]: track actual start
time:2706432457 (gap:-1588534839)
[10:01:49.664650] ActiveRemoteThread:1006 [0x70e080]: remote command
setproperty?dmcp.device-busy=0
[10:01:50.539489] cli_open_socket:194 [0x6b37c0]: opened CLI socket 20
[10:01:50.620607] PlayerThread:471 [0x70e080]: idx 0
artist:Various
album:Golden Classics - HMV Classics
title:The Holy City
genre:Classical; Classical Vocal
duration:292.293
size:0
cover:http://10.99.55.10:9000/music/-94284505259064/cover.jpg
[10:01:51.589774] ActiveRemoteThread:1006 [0x70e080]: remote command
setproperty?dmcp.device-volume=-144.000000
[10:01:51.589914] ActiveRemoteThread:1069 [0x70e080]: volume feedback 0
(-144.00)
[10:01:51.596411] sq_callback:332 [0x70e080]: volume ignored 0
[10:01:51.597198] sq_callback:332 [0x70e080]: volume ignored 0
[10:01:55.420980] ActiveRemoteThread:1006 [0x70e080]: remote command
setproperty?dmcp.device-volume=-0.625000
[10:01:55.421110] ActiveRemoteThread:1069 [0x70e080]: volume feedback 98
(-0.62)
[10:01:55.422798] sq_callback:332 [0x70e080]: volume ignored 98
[10:01:55.423627] sq_callback:332 [0x70e080]: volume ignored 98
[10:01:55.914044] ActiveRemoteThread:1006 [0x70e080]: remote command
setproperty?dmcp.device-volume=-1.250000
[10:01:55.914171] ActiveRemoteThread:1069 [0x70e080]: volume feedback 96
(-1.25)
[10:01:55.915989] sq_callback:332 [0x70e080]: volume ignored 96
[10:01:55.916699] sq_callback:332 [0x70e080]: volume ignored 96
[10:01:56.127750] ActiveRemoteThread:1006 [0x70e080]: remote command
setproperty?dmcp.device-volume=-3.750000
[10:01:56.127876] ActiveRemoteThread:1069 [0x70e080]: volume feedback 88
(-3.75)
[10:01:56.129660] sq_callback:332 [0x70e080]: volume ignored 88
[10:01:56.130456] sq_callback:332 [0x70e080]: volume ignored 88
[10:01:56.336639] ActiveRemoteThread:1006 [0x70e080]: remote command
setproperty?dmcp.device-volume=-6.250000
[10:01:56.336849] ActiveRemoteThread:1069 [0x70e080]: volume feedback 80
(-6.25)
[10:01:56.338583] sq_callback:332 [0x70e080]: volume ignored 80
[10:01:56.339407] sq_callback:332 [0x70e080]: volume ignored 80
[10:01:56.570002] ActiveRemoteThread:1006 [0x70e080]: remote command
setproperty?dmcp.device-volume=-9.375000
[10:01:56.570129] ActiveRemoteThread:1069 [0x70e080]: volume feedback 69
(-9.38)
[10:01:56.571846] sq_callback:332 [0x70e080]: volume ignored 69
[10:01:56.572648] sq_callback:332 [0x70e080]: volume ignored 69
[10:01:56.778966] ActiveRemoteThread:1006 [0x70e080]: remote command
setproperty?dmcp.device-volume=-11.875000
[10:01:56.779103] ActiveRemoteThread:1069 [0x70e080]: volume feedback 61
(-11.88)
[10:01:56.785733] sq_callback:332 [0x70e080]: volume ignored 61
[10:01:56.786294] sq_callback:332 [0x70e080]: volume ignored 61
[10:01:56.987914] ActiveRemoteThread:1006 [0x70e080]: remote command
setproperty?dmcp.device-volume=-14.375000
[10:01:56.988043] ActiveRemoteThread:1069 [0x70e080]: volume feedback 53
(-14.38)
[10:01:56.989890] sq_callback:332 [0x70e080]: volume ignored 53
[10:01:56.990647] sq_callback:332 [0x70e080]: volume ignored 53
[10:01:57.149216] ActiveRemoteThread:1006 [0x70e080]: remote command
setproperty?dmcp.device-volume=-16.875000
[10:01:57.149342] ActiveRemoteThread:1069 [0x70e080]: volume feedback 44
(-16.88)
[10:01:57.151138] sq_callback:332 [0x70e080]: volume ignored 44
[10:01:57.151953] sq_callback:332 [0x70e080]: volume ignored 44
[10:01:57.411666] ActiveRemoteThread:1006 [0x70e080]: remote command
setproperty?dmcp.device-volume=-20.000000
[10:01:57.411790] ActiveRemoteThread:1069 [0x70e080]: volume feedback 34
(-20.00)
[10:01:57.413580] sq_callback:332 [0x70e080]: volume ignored 34
[10:01:57.414390] sq_callback:332 [0x70e080]: volume ignored 34
....
--------------------
LMS 7.9.1 on VortexBox Midi box, Xubuntu 17.10, 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.10 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=105198
_______________________________________________
plugins mailing list
[email protected]
http://lists.slimdevices.com/mailman/listinfo/plugins