mikebrady / shairport-sync

AirPlay and AirPlay 2 audio player
Other
7.29k stars 574 forks source link

run_this_when_volume_is_set #867

Closed akarnaukh closed 5 years ago

akarnaukh commented 5 years ago

run_this_when_value_is_set = "/temp/voltest.sh"; There is no reaction, already tried everything I could. Someone tell me what you need, example. There is no volume control in the system. Even there are no errors in logs ((. The impression that it is simply ignored. Scripts are executed on connection and disconnection. Version 3.3.1-OpenSSL-Avahi-ALSA-soxr-metadata-sysconfdir:/etc

// General Settings general = { name = "Denon"; output_backend = "alsa"; mdns_backend = "avahi"; port = 5000; udp_port_base = 6001; udp_port_range = 10; ignore_volume_control = "yes"; volume_range_db = 80 ; volume_max_db = 0.0 ; run_this_when_volume_is_set = "/temp/voltest.sh "; playback_mode = "stereo"; alac_decoder = "hammerton"; }; sessioncontrol = { run_this_before_play_begins = "/bin/airplay.sh airstart"; run_this_after_play_ends = "/bin/airplay.sh"; }; alsa = { output_device = "default"; output_rate = "auto"; output_format = "auto"; }; metadata = { enabled = "yes"; include_cover_art = "no"; pipe_name = "/tmp/shairport-sync-metadata"; pipe_timeout = 5000; socket_address = "226.0.0.1"; socket_port = 5555; socket_msglength = 65000; };

akarnaukh commented 5 years ago

Sorry, that was me.... I have not deleted the previous version