No volume control via phone when streaming Tidal from phone app

Hi,
I managed to get Tidal Connect going on my Raspberry Pi 4B under Volumio which is attached to an iFi Zen DAC V2 via USB.
Everything works fine apart from the volume rocker of my Samsung Galaxy S24 Ultra having no effect when I try to change the playback volume.
In Volumio choosing Hardware, Software or None under Mixer Type won't make any difference. I still have to change the volume via the Zen DAC's knob.
Thanks for your effort!
Kind regards,
Matt

Hello Matt, can you post the output of the following command:
cd $HOME/tidal-connect
docker-compose logs

So we can check what happened during startup.
Also post the output of these command:
cat $HOME/tidal-connect/.env
and
cat /proc/asound/cards

Hi,
sure... docker compose logs
Attaching to tidal-connect
tidal-connect    | Tidal Connect - https://github.com/GioF71/tidal-connect.git -                                                                                entrypoint.sh version 0.1.3
tidal-connect    | FRIENDLY_NAME=Couch
tidal-connect    | MODEL_NAME=Raspberry Pi
tidal-connect    | MQA_CODEC=yes
tidal-connect    | MQA_PASSTHROUGH=false
tidal-connect    | CARD_NAME=Audio
tidal-connect    | CARD_INDEX=
tidal-connect    | CARD_DEVICE=
tidal-connect    | File [asound.conf] has not been provided
tidal-connect    | File /etc/asound.conf does not exist.
tidal-connect    | Entering write_asound_if_needed ...
tidal-connect    | Specified CARD_NAME=[Audio]
tidal-connect    | Skipping audio device [b1] at index [0]
tidal-connect    | Skipping audio device [b1] at index [0]
tidal-connect    | Skipping audio device [Headphones] at index [1]
tidal-connect    | Found audio device [Audio] as index [5]
tidal-connect    | Entering write_audio_config with card_index=[5] ...
tidal-connect    | Creating sound configuration file (card_index=[5], softvol=[y                                                                                es]) ...
tidal-connect    | check_master=[numid=7,iface=MIXER,name='SoftMaster']
tidal-connect    | Cannot enable softvolume, a Master control already exists for                                                                                the device at index [5]
tidal-connect    | Building asound.conf without softvolume ...
tidal-connect    | Sound configuration file created
tidal-connect    | Completed write_audio_config
tidal-connect    | Completed write_asound_if_needed.
tidal-connect    | pcm.!default {
tidal-connect    |   type plug
tidal-connect    |   slave.pcm {
tidal-connect    |     type hw
tidal-connect    |     card 5
tidal-connect    |   }
tidal-connect    | }
tidal-connect    | PLAYBACK_DEVICE=[default]
tidal-connect    | Starting Speaker Application in Background (TMUX)
tidal-connect    | Sleeping for a while (3 seconds)...
tidal-connect    | ENABLE_GENERATED_TONE=[yes]
tidal-connect    | Generated tone is enabled
tidal-connect    | Trying a short tone ...
tidal-connect    | Playing WAVE '/assets/audio/short-low-tone.wav' : Signed 16 b                                                                                it Little Endian, Rate 44100 Hz, Stereo
tidal-connect    | tone_played=[1]
tidal-connect    | Starting TIDAL Connect ...
tidal-connect    | STARTING TidalConnect services, version: 1.1.3
tidal-connect    | ALSA lib confmisc.c:1281:(snd_func_refer) Unable to find defi                                                                                nition 'cards.bcm2835_hdmi.pcm.front.0:CARD=0'
tidal-connect    | ALSA lib conf.c:4528:(_snd_config_evaluate) function snd_func                                                                                _refer returned error: No such file or directory
tidal-connect    | ALSA lib conf.c:5007:(snd_config_expand) Evaluate error: No s                                                                                uch file or directory
tidal-connect    | ALSA lib pcm.c:2495:(snd_pcm_open_noupdate) Unknown PCM front
tidal-connect    | ALSA lib pcm.c:2495:(snd_pcm_open_noupdate) Unknown PCM cards                                                                                .pcm.rear
tidal-connect    | ALSA lib pcm.c:2495:(snd_pcm_open_noupdate) Unknown PCM cards                                                                                .pcm.center_lfe
tidal-connect    | ALSA lib pcm.c:2495:(snd_pcm_open_noupdate) Unknown PCM cards                                                                                .pcm.side
tidal-connect    | ALSA lib confmisc.c:1281:(snd_func_refer) Unable to find defi                                                                                nition 'cards.bcm2835_hdmi.pcm.surround51.0:CARD=0'
tidal-connect    | ALSA lib conf.c:4528:(_snd_config_evaluate) function snd_func                                                                                _refer returned error: No such file or directory
tidal-connect    | ALSA lib conf.c:5007:(snd_config_expand) Evaluate error: No s                                                                                uch file or directory
tidal-connect    | ALSA lib pcm.c:2495:(snd_pcm_open_noupdate) Unknown PCM surro                                                                                und21
tidal-connect    | ALSA lib confmisc.c:1281:(snd_func_refer) Unable to find defi                                                                                nition 'cards.bcm2835_hdmi.pcm.surround51.0:CARD=0'
tidal-connect    | ALSA lib conf.c:4528:(_snd_config_evaluate) function snd_func                                                                                _refer returned error: No such file or directory
tidal-connect    | ALSA lib conf.c:5007:(snd_config_expand) Evaluate error: No s                                                                                uch file or directory
tidal-connect    | ALSA lib pcm.c:2495:(snd_pcm_open_noupdate) Unknown PCM surro                                                                                und21
tidal-connect    | ALSA lib confmisc.c:1281:(snd_func_refer) Unable to find defi                                                                                nition 'cards.bcm2835_hdmi.pcm.surround40.0:CARD=0'
tidal-connect    | ALSA lib conf.c:4528:(_snd_config_evaluate) function snd_func                                                                                _refer returned error: No such file or directory
tidal-connect    | ALSA lib conf.c:5007:(snd_config_expand) Evaluate error: No s                                                                                uch file or directory
tidal-connect    | ALSA lib pcm.c:2495:(snd_pcm_open_noupdate) Unknown PCM surro                                                                                und40
tidal-connect    | ALSA lib confmisc.c:1281:(snd_func_refer) Unable to find defi                                                                                nition 'cards.bcm2835_hdmi.pcm.surround51.0:CARD=0'
tidal-connect    | ALSA lib conf.c:4528:(_snd_config_evaluate) function snd_func                                                                                _refer returned error: No such file or directory
tidal-connect    | ALSA lib conf.c:5007:(snd_config_expand) Evaluate error: No s                                                                                uch file or directory
tidal-connect    | ALSA lib pcm.c:2495:(snd_pcm_open_noupdate) Unknown PCM surro                                                                                und41
tidal-connect    | ALSA lib confmisc.c:1281:(snd_func_refer) Unable to find defi                                                                                nition 'cards.bcm2835_hdmi.pcm.surround51.0:CARD=0'
tidal-connect    | ALSA lib conf.c:4528:(_snd_config_evaluate) function snd_func                                                                                _refer returned error: No such file or directory
tidal-connect    | ALSA lib conf.c:5007:(snd_config_expand) Evaluate error: No s                                                                                uch file or directory
tidal-connect    | ALSA lib pcm.c:2495:(snd_pcm_open_noupdate) Unknown PCM surro                                                                                und50
tidal-connect    | ALSA lib confmisc.c:1281:(snd_func_refer) Unable to find defi                                                                                nition 'cards.bcm2835_hdmi.pcm.surround51.0:CARD=0'
tidal-connect    | ALSA lib conf.c:4528:(_snd_config_evaluate) function snd_func                                                                                _refer returned error: No such file or directory
tidal-connect    | ALSA lib conf.c:5007:(snd_config_expand) Evaluate error: No s                                                                                uch file or directory
tidal-connect    | ALSA lib pcm.c:2495:(snd_pcm_open_noupdate) Unknown PCM surro                                                                                und51
tidal-connect    | ALSA lib confmisc.c:1281:(snd_func_refer) Unable to find defi                                                                                nition 'cards.bcm2835_hdmi.pcm.surround71.0:CARD=0'
tidal-connect    | ALSA lib conf.c:4528:(_snd_config_evaluate) function snd_func                                                                                _refer returned error: No such file or directory
tidal-connect    | ALSA lib conf.c:5007:(snd_config_expand) Evaluate error: No s                                                                                uch file or directory
tidal-connect    | ALSA lib pcm.c:2495:(snd_pcm_open_noupdate) Unknown PCM surro                                                                                und71
tidal-connect    | ALSA lib confmisc.c:1281:(snd_func_refer) Unable to find defi                                                                                nition 'cards.bcm2835_hdmi.pcm.iec958.0:CARD=0,AES0=4,AES1=130,AES2=0,AES3=2'
tidal-connect    | ALSA lib conf.c:4528:(_snd_config_evaluate) function snd_func                                                                                _refer returned error: No such file or directory
tidal-connect    | ALSA lib conf.c:5007:(snd_config_expand) Evaluate error: No s                                                                                uch file or directory
tidal-connect    | ALSA lib pcm.c:2495:(snd_pcm_open_noupdate) Unknown PCM iec95                                                                                8
tidal-connect    | ALSA lib confmisc.c:1281:(snd_func_refer) Unable to find defi                                                                                nition 'cards.bcm2835_hdmi.pcm.iec958.0:CARD=0,AES0=4,AES1=130,AES2=0,AES3=2'
tidal-connect    | ALSA lib conf.c:4528:(_snd_config_evaluate) function snd_func                                                                                _refer returned error: No such file or directory
tidal-connect    | ALSA lib conf.c:5007:(snd_config_expand) Evaluate error: No s                                                                                uch file or directory
tidal-connect    | ALSA lib pcm.c:2495:(snd_pcm_open_noupdate) Unknown PCM spdif
tidal-connect    | ALSA lib confmisc.c:1281:(snd_func_refer) Unable to find defi                                                                                nition 'cards.bcm2835_hdmi.pcm.iec958.0:CARD=0,AES0=4,AES1=130,AES2=0,AES3=2'
tidal-connect    | ALSA lib conf.c:4528:(_snd_config_evaluate) function snd_func                                                                                _refer returned error: No such file or directory
tidal-connect    | ALSA lib conf.c:5007:(snd_config_expand) Evaluate error: No s                                                                                uch file or directory
tidal-connect    | ALSA lib pcm.c:2495:(snd_pcm_open_noupdate) Unknown PCM spdif
tidal-connect    | ALSA lib pcm.c:2495:(snd_pcm_open_noupdate) Unknown PCM cards                                                                                .pcm.hdmi
tidal-connect    | ALSA lib pcm.c:2495:(snd_pcm_open_noupdate) Unknown PCM cards                                                                                .pcm.hdmi
tidal-connect    | ALSA lib pcm.c:2495:(snd_pcm_open_noupdate) Unknown PCM cards                                                                                .pcm.modem
tidal-connect    | ALSA lib pcm.c:2495:(snd_pcm_open_noupdate) Unknown PCM cards                                                                                .pcm.modem
tidal-connect    | ALSA lib pcm.c:2495:(snd_pcm_open_noupdate) Unknown PCM cards                                                                                .pcm.phoneline
tidal-connect    | ALSA lib pcm.c:2495:(snd_pcm_open_noupdate) Unknown PCM cards                                                                                .pcm.phoneline
tidal-connect    | Cannot connect to server socket err = No such file or directo                                                                                ry
tidal-connect    | Cannot connect to server request channel
tidal-connect    | jack server is not running or cannot be started
tidal-connect    | JackShmReadWritePtr::~JackShmReadWritePtr - Init not done for                                                                                -1, skipping unlock
tidal-connect    | JackShmReadWritePtr::~JackShmReadWritePtr - Init not done for                                                                                -1, skipping unlock
tidal-connect    | STARTED TidalConnect services.
tidal-connect    | [2024-03-03 08:38:15.958] [tisoc] [warning] [PlaybackControll                                                                                erImpl.cpp:472] Illegal state:1
tidal-connect    | [2024-03-03 08:38:16.407] [tisoc] [warning] [logger.cpp:22] [                                                                                audio_worker.cpp:321] Attempting to initialize a decoder without initial data!
tidal-connect    | Tidal Connect - https://github.com/GioF71/tidal-connect.git -                                                                                entrypoint.sh version 0.1.3
tidal-connect    | FRIENDLY_NAME=Couch
tidal-connect    | MODEL_NAME=Raspberry Pi
tidal-connect    | MQA_CODEC=yes
tidal-connect    | MQA_PASSTHROUGH=false
tidal-connect    | CARD_NAME=Audio
tidal-connect    | CARD_INDEX=
tidal-connect    | CARD_DEVICE=
tidal-connect    | File [asound.conf] has not been provided
tidal-connect    | File /etc/asound.conf exists.
tidal-connect    | File /etc/asound.conf is writable
tidal-connect    | Current /etc/asound.conf:
tidal-connect    | pcm.!default {
tidal-connect    |   type plug
tidal-connect    |   slave.pcm {
tidal-connect    |     type hw
tidal-connect    |     card 5
tidal-connect    |   }
tidal-connect    | }
tidal-connect    | Entering write_asound_if_needed ...
tidal-connect    | Specified CARD_NAME=[Audio]
tidal-connect    | Skipping audio device [b1] at index [0]
tidal-connect    | Skipping audio device [b1] at index [0]
tidal-connect    | Skipping audio device [Headphones] at index [1]
tidal-connect    | Found audio device [Audio] as index [5]
tidal-connect    | Entering write_audio_config with card_index=[5] ...
tidal-connect    | Creating sound configuration file (card_index=[5], softvol=[y                                                                                es]) ...
tidal-connect    | check_master=[numid=7,iface=MIXER,name='SoftMaster']
tidal-connect    | Cannot enable softvolume, a Master control already exists for                                                                                the device at index [5]
tidal-connect    | Building asound.conf without softvolume ...
tidal-connect    | Sound configuration file created
tidal-connect    | Completed write_audio_config
tidal-connect    | Completed write_asound_if_needed.
tidal-connect    | pcm.!default {
tidal-connect    |   type plug
tidal-connect    |   slave.pcm {
tidal-connect    |     type hw
tidal-connect    |     card 5
tidal-connect    |   }
tidal-connect    | }
tidal-connect    | PLAYBACK_DEVICE=[default]
tidal-connect    | Starting Speaker Application in Background (TMUX)
tidal-connect    | Sleeping for a while (3 seconds)...
tidal-connect    | ENABLE_GENERATED_TONE=[yes]
tidal-connect    | Generated tone is enabled
tidal-connect    | Trying a short tone ...
tidal-connect    | Playing WAVE '/assets/audio/short-low-tone.wav' : Signed 16 b                                                                                it Little Endian, Rate 44100 Hz, Stereo
tidal-connect    | tone_played=[1]
tidal-connect    | Starting TIDAL Connect ...
tidal-connect    | STARTING TidalConnect services, version: 1.1.3
tidal-connect    | ALSA lib confmisc.c:1281:(snd_func_refer) Unable to find defi                                                                                nition 'cards.bcm2835_hdmi.pcm.front.0:CARD=0'
tidal-connect    | ALSA lib conf.c:4528:(_snd_config_evaluate) function snd_func                                                                                _refer returned error: No such file or directory
tidal-connect    | ALSA lib conf.c:5007:(snd_config_expand) Evaluate error: No s                                                                                uch file or directory
tidal-connect    | ALSA lib pcm.c:2495:(snd_pcm_open_noupdate) Unknown PCM front
tidal-connect    | ALSA lib pcm.c:2495:(snd_pcm_open_noupdate) Unknown PCM cards                                                                                .pcm.rear
tidal-connect    | ALSA lib pcm.c:2495:(snd_pcm_open_noupdate) Unknown PCM cards                                                                                .pcm.center_lfe
tidal-connect    | ALSA lib pcm.c:2495:(snd_pcm_open_noupdate) Unknown PCM cards                                                                                .pcm.side
tidal-connect    | ALSA lib confmisc.c:1281:(snd_func_refer) Unable to find defi                                                                                nition 'cards.bcm2835_hdmi.pcm.surround51.0:CARD=0'
tidal-connect    | ALSA lib conf.c:4528:(_snd_config_evaluate) function snd_func                                                                                _refer returned error: No such file or directory
tidal-connect    | ALSA lib conf.c:5007:(snd_config_expand) Evaluate error: No s                                                                                uch file or directory
tidal-connect    | ALSA lib pcm.c:2495:(snd_pcm_open_noupdate) Unknown PCM surro                                                                                und21
tidal-connect    | ALSA lib confmisc.c:1281:(snd_func_refer) Unable to find defi                                                                                nition 'cards.bcm2835_hdmi.pcm.surround51.0:CARD=0'
tidal-connect    | ALSA lib conf.c:4528:(_snd_config_evaluate) function snd_func                                                                                _refer returned error: No such file or directory
tidal-connect    | ALSA lib conf.c:5007:(snd_config_expand) Evaluate error: No s                                                                                uch file or directory
tidal-connect    | ALSA lib pcm.c:2495:(snd_pcm_open_noupdate) Unknown PCM surro                                                                                und21
tidal-connect    | ALSA lib confmisc.c:1281:(snd_func_refer) Unable to find defi                                                                                nition 'cards.bcm2835_hdmi.pcm.surround40.0:CARD=0'
tidal-connect    | ALSA lib conf.c:4528:(_snd_config_evaluate) function snd_func                                                                                _refer returned error: No such file or directory
tidal-connect    | ALSA lib conf.c:5007:(snd_config_expand) Evaluate error: No s                                                                                uch file or directory
tidal-connect    | ALSA lib pcm.c:2495:(snd_pcm_open_noupdate) Unknown PCM surro                                                                                und40
tidal-connect    | ALSA lib confmisc.c:1281:(snd_func_refer) Unable to find defi                                                                                nition 'cards.bcm2835_hdmi.pcm.surround51.0:CARD=0'
tidal-connect    | ALSA lib conf.c:4528:(_snd_config_evaluate) function snd_func                                                                                _refer returned error: No such file or directory
tidal-connect    | ALSA lib conf.c:5007:(snd_config_expand) Evaluate error: No s                                                                                uch file or directory
tidal-connect    | ALSA lib pcm.c:2495:(snd_pcm_open_noupdate) Unknown PCM surro                                                                                und41
tidal-connect    | ALSA lib confmisc.c:1281:(snd_func_refer) Unable to find defi                                                                                nition 'cards.bcm2835_hdmi.pcm.surround51.0:CARD=0'
tidal-connect    | ALSA lib conf.c:4528:(_snd_config_evaluate) function snd_func                                                                                _refer returned error: No such file or directory
tidal-connect    | ALSA lib conf.c:5007:(snd_config_expand) Evaluate error: No s                                                                                uch file or directory
tidal-connect    | ALSA lib pcm.c:2495:(snd_pcm_open_noupdate) Unknown PCM surro                                                                                und50
tidal-connect    | ALSA lib confmisc.c:1281:(snd_func_refer) Unable to find defi                                                                                nition 'cards.bcm2835_hdmi.pcm.surround51.0:CARD=0'
tidal-connect    | ALSA lib conf.c:4528:(_snd_config_evaluate) function snd_func                                                                                _refer returned error: No such file or directory
tidal-connect    | ALSA lib conf.c:5007:(snd_config_expand) Evaluate error: No s                                                                                uch file or directory
tidal-connect    | ALSA lib pcm.c:2495:(snd_pcm_open_noupdate) Unknown PCM surro                                                                                und51
tidal-connect    | ALSA lib confmisc.c:1281:(snd_func_refer) Unable to find defi                                                                                nition 'cards.bcm2835_hdmi.pcm.surround71.0:CARD=0'
tidal-connect    | ALSA lib conf.c:4528:(_snd_config_evaluate) function snd_func                                                                                _refer returned error: No such file or directory
tidal-connect    | ALSA lib conf.c:5007:(snd_config_expand) Evaluate error: No s                                                                                uch file or directory
tidal-connect    | ALSA lib pcm.c:2495:(snd_pcm_open_noupdate) Unknown PCM surro                                                                                und71
tidal-connect    | ALSA lib confmisc.c:1281:(snd_func_refer) Unable to find defi                                                                                nition 'cards.bcm2835_hdmi.pcm.iec958.0:CARD=0,AES0=4,AES1=130,AES2=0,AES3=2'
tidal-connect    | ALSA lib conf.c:4528:(_snd_config_evaluate) function snd_func                                                                                _refer returned error: No such file or directory
tidal-connect    | ALSA lib conf.c:5007:(snd_config_expand) Evaluate error: No s                                                                                uch file or directory
tidal-connect    | ALSA lib pcm.c:2495:(snd_pcm_open_noupdate) Unknown PCM iec95                                                                                8
tidal-connect    | ALSA lib confmisc.c:1281:(snd_func_refer) Unable to find defi                                                                                nition 'cards.bcm2835_hdmi.pcm.iec958.0:CARD=0,AES0=4,AES1=130,AES2=0,AES3=2'
tidal-connect    | ALSA lib conf.c:4528:(_snd_config_evaluate) function snd_func                                                                                _refer returned error: No such file or directory
tidal-connect    | ALSA lib conf.c:5007:(snd_config_expand) Evaluate error: No s                                                                                uch file or directory
tidal-connect    | ALSA lib pcm.c:2495:(snd_pcm_open_noupdate) Unknown PCM spdif
tidal-connect    | ALSA lib confmisc.c:1281:(snd_func_refer) Unable to find defi                                                                                nition 'cards.bcm2835_hdmi.pcm.iec958.0:CARD=0,AES0=4,AES1=130,AES2=0,AES3=2'
tidal-connect    | ALSA lib conf.c:4528:(_snd_config_evaluate) function snd_func                                                                                _refer returned error: No such file or directory
tidal-connect    | ALSA lib conf.c:5007:(snd_config_expand) Evaluate error: No s                                                                                uch file or directory
tidal-connect    | ALSA lib pcm.c:2495:(snd_pcm_open_noupdate) Unknown PCM spdif
tidal-connect    | ALSA lib pcm.c:2495:(snd_pcm_open_noupdate) Unknown PCM cards                                                                                .pcm.hdmi
tidal-connect    | ALSA lib pcm.c:2495:(snd_pcm_open_noupdate) Unknown PCM cards                                                                                .pcm.hdmi
tidal-connect    | ALSA lib pcm.c:2495:(snd_pcm_open_noupdate) Unknown PCM cards                                                                                .pcm.modem
tidal-connect    | ALSA lib pcm.c:2495:(snd_pcm_open_noupdate) Unknown PCM cards                                                                                .pcm.modem
tidal-connect    | ALSA lib pcm.c:2495:(snd_pcm_open_noupdate) Unknown PCM cards                                                                                .pcm.phoneline
tidal-connect    | ALSA lib pcm.c:2495:(snd_pcm_open_noupdate) Unknown PCM cards                                                                                .pcm.phoneline
tidal-connect    | Cannot connect to server socket err = No such file or directo                                                                                ry
tidal-connect    | Cannot connect to server request channel
tidal-connect    | jack server is not running or cannot be started
tidal-connect    | JackShmReadWritePtr::~JackShmReadWritePtr - Init not done for                                                                                -1, skipping unlock
tidal-connect    | JackShmReadWritePtr::~JackShmReadWritePtr - Init not done for                                                                                -1, skipping unlock
tidal-connect    | STARTED TidalConnect services.
tidal-connect    | [2024-03-03 08:44:28.035] [tisoc] [warning] [PlaybackControll                                                                                erImpl.cpp:472] Illegal state:1
tidal-connect    | [2024-03-03 08:44:28.490] [tisoc] [warning] [logger.cpp:22] [                                                                                audio_worker.cpp:321] Attempting to initialize a decoder without initial data!
tidal-connect    | [2024-03-03 08:53:15] [error] handle_read_frame error: asio.s                                                                                ystem:104 (Connection reset by peer)
tidal-connect    | [2024-03-03 08:53:15] [info] asio async_shutdown error: asio.                                                                                system:32 (Broken pipe)
tidal-connect    | [2024-03-03 09:00:06] [error] handle_read_frame error: asio.s                                                                                ystem:104 (Connection reset by peer)
tidal-connect    | [2024-03-03 09:00:06] [info] asio async_shutdown error: asio.                                                                                system:32 (Broken pipe)
tidal-connect    | [2024-03-03 09:08:59] [error] handle_read_frame error: asio.s                                                                                ystem:104 (Connection reset by peer)
tidal-connect    | [2024-03-03 09:08:59] [info] asio async_shutdown error: asio.                                                                                system:32 (Broken pipe)
tidal-connect    | [2024-03-03 09:17:33] [info] asio async_shutdown error: asio.                                                                                misc:2 (End of file)
tidal-connect    | [2024-03-03 12:16:31.724] [tisoc] [warning] [PlaybackControll                                                                                erImpl.cpp:472] Illegal state:1
tidal-connect    | [2024-03-03 12:16:53] [info] asio async_shutdown error: asio.                                                                                misc:2 (End of file)
tidal-connect    | [2024-03-03 14:12:11.035] [tisoc] [warning] [PlaybackControll                                                                                erImpl.cpp:472] Illegal state:1
tidal-connect    | [2024-03-03 14:12:49.728] [tisoc] [warning] [logger.cpp:22] [                                                                                audio_worker.cpp:321] Attempting to initialize a decoder without initial data!
tidal-connect    | [2024-03-03 14:16:01] [error] handle_read_frame error: asio.s                                                                                ystem:104 (Connection reset by peer)
tidal-connect    | [2024-03-03 14:16:01] [info] asio async_shutdown error: asio.                                                                                system:32 (Broken pipe)
tidal-connect    | [2024-03-03 14:19:14] [error] handle_read_frame error: asio.s                                                                                ystem:104 (Connection reset by peer)
tidal-connect    | [2024-03-03 14:19:14] [info] asio async_shutdown error: asio.                                                                                system:32 (Broken pipe)
tidal-connect    | [2024-03-03 14:26:43.880] [tisoc] [warning] [PlaybackControll                                                                                erImpl.cpp:472] Illegal state:0
tidal-connect    | [2024-03-03 14:26:43] [info] asio async_shutdown error: asio.                                                                                misc:2 (End of file)

volumio@couch:~$ cat $HOME/tidal-connect/.env
FRIENDLY_NAME=Couch
MODEL_NAME=Raspberry Pi
MQA_CODEC=yes
CARD_NAME=Audio
ENABLE_SOFTVOLUME=yes

volumio@couch:~$ cat /proc/asound/cards
 0 [b1             ]: bcm2835_hdmi - bcm2835 HDMI 1
                      bcm2835 HDMI 1
 1 [Headphones     ]: bcm2835_headpho - bcm2835 Headphones
                      bcm2835 Headphones
 5 [Audio          ]: USB-Audio - iFi (by AMR) HD USB Audio
                      iFi (by AMR) iFi (by AMR) HD USB Audio at usb-0000:01:00.0-1.4, high speed

Hello, unfortunately this is the problem with softvolume:
tidal-connect    | Cannot enable softvolume, a Master control already exists for the device at index [5]
Have you considered mopidy-tidal? I have a container image and a sample config page here

Ops, sorry, the device is "SoftMaster", not master. So there is hope. I need to change the code of entrypoint.sh in order to avoid this false positive! Hang one

Hello, as a stop-gap solution, I have create a custom asound.conf. So do the following:
cd $HOME/tidal-connect
git config pull.rebase false
git pull
./configure.sh -r ifi-zen-dac-v2-softvol -f Couch -m "Raspberry Pi" -c "yes"
docker-compose up -d

Cross your fingers because I don't have your exact DAC, so I might have done a mistake. But I tried everything then I replaced "D10" with "Audio". Let's hope this works!

Thanks for your effort mate! You rock... It does work indeed!

Good to hear! I have also made changes so that the script does not wrongly believe that there is a "Master" control when there is a control that only contains "Master". If you want to try:
cd $HOME/tidal-connect
git config pull.rebase false
git pull
./configure.sh -f Couch -m "Raspberry Pi" -c "yes"
docker-compose up -d

Should this not work, you can always execute the instructions from the previous post. This feedback might be useful for other users, so thank you in advance if you want to try.
Cheers

The previous post was edited... be sure to include "-n Audio" in the configure command

With this command from yesterday
./configure.sh -r ifi-zen-dac-v2-softvol -f Couch -m "Raspberry Pi" -c "yes"
docker-compose up -d

it didn't work at first but then all of a sudden it did... I don't really know what caused the change.
With
./configure.sh -n Audio -f Couch -m "Raspberry Pi" -c "yes"
docker-compose up -d

so far it doesn't work.

Hello, did you also execute the initial part?
cd $HOME/tidal-connect
git config pull.rebase false
git pull

I just tried this:
./configure.sh -n DAC -s S32_LE -f Desk -m "Raspberry Pi" -c "yes"
I used -s S32_LE only because my dac needs that for working properly, and the name of the device is DAC instead of Audio, and it worked for me.
Would you like to post the container logs with this configuration, using:
cd $HOME/tidal-connect
docker-compose logs

Thank you

Hello, did you also execute the initial part?

Yes I did... And I tried again just now. Won't cut it...
Attaching to tidal-connect
tidal-connect    | Tidal Connect - https://github.com/GioF71/tidal-connect.git - entrypoint.sh version 0.1.3
tidal-connect    | Tidal Connect - https://github.com/GioF71/tidal-connect.git - common.sh version 0.1.0
tidal-connect    | FRIENDLY_NAME=Couch
tidal-connect    | MODEL_NAME=Raspberry Pi
tidal-connect    | MQA_CODEC=yes
tidal-connect    | MQA_PASSTHROUGH=false
tidal-connect    | CARD_NAME=Audio
tidal-connect    | CARD_INDEX=
tidal-connect    | CARD_DEVICE=
tidal-connect    | File [asound.conf] has not been provided
tidal-connect    | File /etc/asound.conf does not exist.
tidal-connect    | Entering write_asound_if_needed ...
tidal-connect    | Specified CARD_NAME=[Audio]
tidal-connect    | Skipping audio device [b1] at index [0]
tidal-connect    | Skipping audio device [b1] at index [0]
tidal-connect    | Skipping audio device [Headphones] at index [1]
tidal-connect    | Found audio device [Audio] as index [5]
tidal-connect    | Entering write_audio_config with card_index=[5] ...
tidal-connect    | Creating sound configuration file (card_index=[5], softvol=[yes]) ...
tidal-connect    | Ok to enable softvolume, as no 'Master' control exists for the device at index [5]
tidal-connect    | Building asound.conf with softvolume ...
tidal-connect    | Setting PLAYBACK_DEVICE=[tidal-softvol]
tidal-connect    | Sound configuration file created
tidal-connect    | Completed write_audio_config
tidal-connect    | Completed write_asound_if_needed.
tidal-connect    | pcm.tidal-audio-device {
tidal-connect    |   type plug
tidal-connect    |   slave.pcm {
tidal-connect    |     type hw
tidal-connect    |     card 5
tidal-connect    |   }
tidal-connect    | }
tidal-connect    | pcm.tidal-softvol {
tidal-connect    |   type softvol
tidal-connect    |   slave {
tidal-connect    |     pcm "tidal-audio-device"
tidal-connect    |   }
tidal-connect    |   control {
tidal-connect    |     name "Master"
tidal-connect    |     card 0
tidal-connect    |   }
tidal-connect    | }
tidal-connect    | PLAYBACK_DEVICE=[tidal-softvol]
tidal-connect    | Starting Speaker Application in Background (TMUX)
tidal-connect    | Sleeping for a while (3 seconds)...
tidal-connect    | ENABLE_GENERATED_TONE=[yes]
tidal-connect    | Generated tone is enabled
tidal-connect    | Trying a short tone ...
tidal-connect    | Playing WAVE '/assets/audio/short-low-tone.wav' : Signed 16 bit Little Endian, Rate 44100 Hz, Stereo
tidal-connect    | tone_played=[1]
tidal-connect    | Starting TIDAL Connect ...
tidal-connect    | STARTING TidalConnect services, version: 1.1.3
tidal-connect    | ALSA lib confmisc.c:1281:(snd_func_refer) Unable to find definition 'cards.bcm2835_hdmi.pcm.front.0:CARD=0'
tidal-connect    | ALSA lib conf.c:4528:(_snd_config_evaluate) function snd_func_refer returned error: No such file or directory
tidal-connect    | ALSA lib conf.c:5007:(snd_config_expand) Evaluate error: No such file or directory
tidal-connect    | ALSA lib pcm.c:2495:(snd_pcm_open_noupdate) Unknown PCM front
tidal-connect    | ALSA lib pcm.c:2495:(snd_pcm_open_noupdate) Unknown PCM cards.pcm.rear
tidal-connect    | ALSA lib pcm.c:2495:(snd_pcm_open_noupdate) Unknown PCM cards.pcm.center_lfe
tidal-connect    | ALSA lib pcm.c:2495:(snd_pcm_open_noupdate) Unknown PCM cards.pcm.side
tidal-connect    | ALSA lib confmisc.c:1281:(snd_func_refer) Unable to find definition 'cards.bcm2835_hdmi.pcm.surround51.0:CARD=0'
tidal-connect    | ALSA lib conf.c:4528:(_snd_config_evaluate) function snd_func_refer returned error: No such file or directory
tidal-connect    | ALSA lib conf.c:5007:(snd_config_expand) Evaluate error: No such file or directory
tidal-connect    | ALSA lib pcm.c:2495:(snd_pcm_open_noupdate) Unknown PCM surround21
tidal-connect    | ALSA lib confmisc.c:1281:(snd_func_refer) Unable to find definition 'cards.bcm2835_hdmi.pcm.surround51.0:CARD=0'
tidal-connect    | ALSA lib conf.c:4528:(_snd_config_evaluate) function snd_func_refer returned error: No such file or directory
tidal-connect    | ALSA lib conf.c:5007:(snd_config_expand) Evaluate error: No such file or directory
tidal-connect    | ALSA lib pcm.c:2495:(snd_pcm_open_noupdate) Unknown PCM surround21
tidal-connect    | ALSA lib confmisc.c:1281:(snd_func_refer) Unable to find definition 'cards.bcm2835_hdmi.pcm.surround40.0:CARD=0'
tidal-connect    | ALSA lib conf.c:4528:(_snd_config_evaluate) function snd_func_refer returned error: No such file or directory
tidal-connect    | ALSA lib conf.c:5007:(snd_config_expand) Evaluate error: No such file or directory
tidal-connect    | ALSA lib pcm.c:2495:(snd_pcm_open_noupdate) Unknown PCM surround40
tidal-connect    | ALSA lib confmisc.c:1281:(snd_func_refer) Unable to find definition 'cards.bcm2835_hdmi.pcm.surround51.0:CARD=0'
tidal-connect    | ALSA lib conf.c:4528:(_snd_config_evaluate) function snd_func_refer returned error: No such file or directory
tidal-connect    | ALSA lib conf.c:5007:(snd_config_expand) Evaluate error: No such file or directory
tidal-connect    | ALSA lib pcm.c:2495:(snd_pcm_open_noupdate) Unknown PCM surround41
tidal-connect    | ALSA lib confmisc.c:1281:(snd_func_refer) Unable to find definition 'cards.bcm2835_hdmi.pcm.surround51.0:CARD=0'
tidal-connect    | ALSA lib conf.c:4528:(_snd_config_evaluate) function snd_func_refer returned error: No such file or directory
tidal-connect    | ALSA lib conf.c:5007:(snd_config_expand) Evaluate error: No such file or directory
tidal-connect    | ALSA lib pcm.c:2495:(snd_pcm_open_noupdate) Unknown PCM surround50
tidal-connect    | ALSA lib confmisc.c:1281:(snd_func_refer) Unable to find definition 'cards.bcm2835_hdmi.pcm.surround51.0:CARD=0'
tidal-connect    | ALSA lib conf.c:4528:(_snd_config_evaluate) function snd_func_refer returned error: No such file or directory
tidal-connect    | ALSA lib conf.c:5007:(snd_config_expand) Evaluate error: No such file or directory
tidal-connect    | ALSA lib pcm.c:2495:(snd_pcm_open_noupdate) Unknown PCM surround51
tidal-connect    | ALSA lib confmisc.c:1281:(snd_func_refer) Unable to find definition 'cards.bcm2835_hdmi.pcm.surround71.0:CARD=0'
tidal-connect    | ALSA lib conf.c:4528:(_snd_config_evaluate) function snd_func_refer returned error: No such file or directory
tidal-connect    | ALSA lib conf.c:5007:(snd_config_expand) Evaluate error: No such file or directory
tidal-connect    | ALSA lib pcm.c:2495:(snd_pcm_open_noupdate) Unknown PCM surround71
tidal-connect    | ALSA lib confmisc.c:1281:(snd_func_refer) Unable to find definition 'cards.bcm2835_hdmi.pcm.iec958.0:CARD=0,AES0=4,AES1=130,AES2=0,AES3=2'
tidal-connect    | ALSA lib conf.c:4528:(_snd_config_evaluate) function snd_func_refer returned error: No such file or directory
tidal-connect    | ALSA lib conf.c:5007:(snd_config_expand) Evaluate error: No such file or directory
tidal-connect    | ALSA lib pcm.c:2495:(snd_pcm_open_noupdate) Unknown PCM iec958
tidal-connect    | ALSA lib confmisc.c:1281:(snd_func_refer) Unable to find definition 'cards.bcm2835_hdmi.pcm.iec958.0:CARD=0,AES0=4,AES1=130,AES2=0,AES3=2'
tidal-connect    | ALSA lib conf.c:4528:(_snd_config_evaluate) function snd_func_refer returned error: No such file or directory
tidal-connect    | ALSA lib conf.c:5007:(snd_config_expand) Evaluate error: No such file or directory
tidal-connect    | ALSA lib pcm.c:2495:(snd_pcm_open_noupdate) Unknown PCM spdif
tidal-connect    | ALSA lib confmisc.c:1281:(snd_func_refer) Unable to find definition 'cards.bcm2835_hdmi.pcm.iec958.0:CARD=0,AES0=4,AES1=130,AES2=0,AES3=2'
tidal-connect    | ALSA lib conf.c:4528:(_snd_config_evaluate) function snd_func_refer returned error: No such file or directory
tidal-connect    | ALSA lib conf.c:5007:(snd_config_expand) Evaluate error: No such file or directory
tidal-connect    | ALSA lib pcm.c:2495:(snd_pcm_open_noupdate) Unknown PCM spdif
tidal-connect    | ALSA lib pcm.c:2495:(snd_pcm_open_noupdate) Unknown PCM cards.pcm.hdmi
tidal-connect    | ALSA lib pcm.c:2495:(snd_pcm_open_noupdate) Unknown PCM cards.pcm.hdmi
tidal-connect    | ALSA lib pcm.c:2495:(snd_pcm_open_noupdate) Unknown PCM cards.pcm.modem
tidal-connect    | ALSA lib pcm.c:2495:(snd_pcm_open_noupdate) Unknown PCM cards.pcm.modem
tidal-connect    | ALSA lib pcm.c:2495:(snd_pcm_open_noupdate) Unknown PCM cards.pcm.phoneline
tidal-connect    | ALSA lib pcm.c:2495:(snd_pcm_open_noupdate) Unknown PCM cards.pcm.phoneline
tidal-connect    | Cannot connect to server socket err = No such file or directory
tidal-connect    | Cannot connect to server request channel
tidal-connect    | jack server is not running or cannot be started
tidal-connect    | JackShmReadWritePtr::~JackShmReadWritePtr - Init not done for -1, skipping unlock
tidal-connect    | JackShmReadWritePtr::~JackShmReadWritePtr - Init not done for -1, skipping unlock
tidal-connect    | STARTED TidalConnect services.
tidal-connect    | [2024-03-04 11:14:25.659] [tisoc] [warning] [PlaybackControllerImpl.cpp:472] Illegal state:1
tidal-connect    | [2024-03-04 11:14:26.541] [tisoc] [warning] [logger.cpp:22] [audio_worker.cpp:321] Attempting to initialize a decoder without initial data!
tidal-connect    | [2024-03-04 11:28:45.888] [tisoc] [warning] [PlaybackControllerImpl.cpp:472] Illegal state:0
tidal-connect    | [2024-03-04 11:28:45] [info] asio async_shutdown error: asio.misc:2 (End of file)

I hope the previous configuration which uses the custom asound.conf still works.
Anyway would you like to also add the -s S32_LE and try again?

Maybe when making changes, it might be a good idea to force container recreation. And maybe watch the logs. Sometimes the binary core dumps, and the script waits up to 30 seconds before restarting, configurable with RESTART_WAIT_SEC in the env file. I need to add a configure.sh switch for this feature as well.
To start forcing container recreation and watch the logs in a one-liner, you can do:
docker-compose up -d --force-recreate && docker-compose logs -f

add the -s S32_LE and try again

That leaves me with no sound at all...
I then tried again with this
./configure.sh -n Audio -f Couch -m "Raspberry Pi" -c "yes"
followed by
docker-compose up -d --force-recreate && docker-compose logs -f
and now everything is up and running incl. changing volume via the rocker on my phone!
I reckon you just earned another bucket of coffee!! 🥇

Ok S32_LE is not needed for your DAC clearly :-)
But isn't the second command the same command that failed before?
I suppose the binary simply failed to start for unknown reasons, and it was taking up to 30 sec to restart. I am preparing a new version of configure.sh which allows the "-w" switch that sets exactly the RESTART_WAIT_SEC variable. I usually keep that to 5. It might pollute the log a little but the app is more reactive.
Also the "--force-recreate" forces re-creation because docker-compose up -d doesn't even guarantee a restarts if the variables have not changed. So I also generally prefer to always use this switch when running tidal connect.

Yes
./configure.sh -n Audio -f Couch -m "Raspberry Pi" -c "yes"
gave me sound and volume control once - after a while. So maybe
docker-compose up -d --force-recreate && docker-compose logs -f
was needed to re-initialise the entire business and get it working from the get go.
In the meantime I managed to replicate my success on the 2nd Pi which is attached to my stereo in the living room!
Anyway, now I won't touch any of them for a while.
Thanks again for your awesome support!

Ok I understand the need for stability!
I invite you, please have a look at mopidy-tidal here, using my image. Of course have a look at the project references, they are mentioned at the first link. Use tehkillerbee is amazing!
With that solution, you will have a web app which can play Tidal in full hi-res flac up to 24bit/192kHz (not mqa like this one) to your USB Dac. And it's open source software.
Don't worry, it won't break you current tidal-connect setup, just don't use both of them at the same time.

Ah forgot to ask, please star the repo if you can.
Thank you again for your support!

Hi,
me again... So you made me curious as to whether my almost 54 years old ears will be able to hear the difference between FLAC and Hi Res...
I have installed Mopidy and Mopidy-Tidal. Unfortunately I'm stuck right at the end of the instructions when it comes to logging in with Tidal.
I have edited my /etc/mopidy/mopidy.conf as instructed but
journalctl -u mopidy | tail -10
won't give me any link
Mar 09 20:04:15 mopidy mopidy[2222]: INFO     [TidalBackend-3 (_actor_loop)] mopidy_tidal.backend PKCE login web server port: 8989
Mar 09 20:04:15 mopidy mopidy[2222]: INFO     [TidalBackend-3 (_actor_loop)] mopidy_tidal.backend Quality: HI_RES_LOSSLESS
Mar 09 20:04:15 mopidy mopidy[2222]: INFO     [TidalBackend-3 (_actor_loop)] mopidy_tidal.backend Authentication: PKCE
Mar 09 20:04:15 mopidy mopidy[2222]: INFO     [TidalBackend-3 (_actor_loop)] mopidy_tidal.backend Login method: AUTO
Mar 09 20:04:15 mopidy mopidy[2222]: INFO     [TidalBackend-3 (_actor_loop)] mopidy_tidal.backend Using default client id & client secret from python-tidal
Mar 09 20:04:15 mopidy mopidy[2222]: INFO     [Audio-2 (_actor_loop)] mopidy.audio.actor Audio output set to "autoaudiosink"
Mar 09 20:04:15 mopidy mopidy[2222]: INFO     [MainThread] mopidy.commands Starting Mopidy core
Mar 09 20:04:15 mopidy mopidy[2222]: INFO     [MainThread] mopidy.commands Starting Mopidy frontends: HttpFrontend
Mar 09 20:04:15 mopidy mopidy[2222]: INFO     [HttpFrontend-9 (_actor_loop)] mopidy.http.actor HTTP server running at [::ffff:<IP_ADDRESS>]:6680
Mar 09 20:04:15 mopidy mopidy[2222]: INFO     [MainThread] mopidy.commands Starting GLib mainloop

Also I can't access the Mopidy Web Interface, neither port 8989 nor 6680 do anything.  has rejected the connection.
Would you be so kind as to point me in the right direction even though this is not the Mopidy support department or even your  project ;-)
Cheers,
Matt

Hello, sorry but I did not give enough information. I forgot to direct you to an example docker compose file which would use my docker image. I assume here that you'd prefer to use a docker image. So...

Clone this repository:

cd $HOME
git clone https://github.com/GioF71/audio-tools.git

Check you user id
id

and the audio group:
getent group audio

If the first command shows that your uid is 1000, and the second shows that the audio gid is 29, the following instructions should be good to go. Otherwise you would need to replace 1000 and 29 with your values.
Create your .env file:
cd $HOME/audio-tools/players/mopidy-tidal
echo "PUID=1000" > .env
echo "AUDIO_GID=29" >> .env
echo "AUDIO_OUTPUT=alsasink device=hw:Audio" >> .env
echo "TIDAL_QUALITY=HI_RES_LOSSLESS" >> .env
echo "TIDAL_AUTH_METHOD=PKCE" >> .env

After that, you should be able to start the container:
cd $HOME/audio-tools/players/mopidy-tidal
docker-compose up -d

In order to authenticate, open your browse at the http://your-host:8989/ and follow the instructions.
Then open your browser at the http://your-host:6680/, and enjoy.
I hope this helps!

You were quite close with your effort. The mopidy was not reachable as it was exposing the port only on the localhost (<IP_ADDRESS>), that is why you could not reach the web interface!

Wow man, you really rock...  I really AM a Linux and Terminal noob and I get lost very easily as I'm lacking a lot of basics...
Unfortunately even after carrying out the steps you listed above the output is still the same. I still can't access the Mopidy web interface.
I then carried on reading GioF71/mopidy-docker and even fail to carry out ./local-build.sh because I don't know what's meant by "switch to the root directory of the repo".
Somehow I think I'm mixing up two sets of instructions here because even though I had installed docker at some point I can't remember ever building a container. I was still stuck at the end of thekillerbee's instruction set...
Kudoz for your patience!

Hello Matt, sorry it didn't work. Let me try answer your questions

building: you don't need to execute the build script: the images are already available online. But if one should clone the repository and want to maybe modify it and generate his/her own images, he/she might use that build script to do that.
And "switch to the root of the container" generally mean to "cd" to the main directory of the repository, so e.g. for the "audio-tools" repository, you go to the root of the repository by typing:

cd $HOME/audio-tools

Probably the container didn't work because there is the mopidy server already running, although not reachable over your network. You can stop it using:

sudo systemctl stop mopidy
Then you can try again to restart the container using:
cd $HOME/audio-tools/players/mopidy-tidal
docker-compose up -d --force-recreate

If this has success, we can then proceed removing the packages you installed, as a final step.

Oh boy... I think I made a mess :-P
matt@mopidy:~/audio-tools/players/mopidy-tidal $ docker-compose up -d --force-recreate
Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 704, in urlopen
    httplib_response = self._make_request(
                       ^^^^^^^^^^^^^^^^^^^
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 399, in _make_request
    conn.request(method, url, **httplib_request_kw)
  File "/usr/lib/python3.11/http/client.py", line 1282, in request
    self._send_request(method, url, body, headers, encode_chunked)
  File "/usr/lib/python3.11/http/client.py", line 1328, in _send_request
    self.endheaders(body, encode_chunked=encode_chunked)
  File "/usr/lib/python3.11/http/client.py", line 1277, in endheaders
    self._send_output(message_body, encode_chunked=encode_chunked)
  File "/usr/lib/python3.11/http/client.py", line 1037, in _send_output
    self.send(msg)
  File "/usr/lib/python3.11/http/client.py", line 975, in send
    self.connect()
  File "/usr/lib/python3/dist-packages/docker/transport/unixconn.py", line 30, in connect
    sock.connect(self.unix_socket)
PermissionError: [Errno 13] Permission denied

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/requests/adapters.py", line 489, in send
    resp = conn.urlopen(
           ^^^^^^^^^^^^^
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 788, in urlopen
    retries = retries.increment(
              ^^^^^^^^^^^^^^^^^^
  File "/usr/lib/python3/dist-packages/urllib3/util/retry.py", line 550, in increment
    raise six.reraise(type(error), error, _stacktrace)
          ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
  File "/usr/lib/python3/dist-packages/six.py", line 718, in reraise
    raise value.with_traceback(tb)
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 704, in urlopen
    httplib_response = self._make_request(
                       ^^^^^^^^^^^^^^^^^^^
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 399, in _make_request
    conn.request(method, url, **httplib_request_kw)
  File "/usr/lib/python3.11/http/client.py", line 1282, in request
    self._send_request(method, url, body, headers, encode_chunked)
  File "/usr/lib/python3.11/http/client.py", line 1328, in _send_request
    self.endheaders(body, encode_chunked=encode_chunked)
  File "/usr/lib/python3.11/http/client.py", line 1277, in endheaders
    self._send_output(message_body, encode_chunked=encode_chunked)
  File "/usr/lib/python3.11/http/client.py", line 1037, in _send_output
    self.send(msg)
  File "/usr/lib/python3.11/http/client.py", line 975, in send
    self.connect()
  File "/usr/lib/python3/dist-packages/docker/transport/unixconn.py", line 30, in connect
    sock.connect(self.unix_socket)
urllib3.exceptions.ProtocolError: ('Connection aborted.', PermissionError(13, 'Permission denied'))

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/docker/api/client.py", line 214, in _retrieve_server_version
    return self.version(api_version=False)["ApiVersion"]
           ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
  File "/usr/lib/python3/dist-packages/docker/api/daemon.py", line 181, in version
    return self._result(self._get(url), json=True)
                        ^^^^^^^^^^^^^^
  File "/usr/lib/python3/dist-packages/docker/utils/decorators.py", line 46, in inner
    return f(self, *args, **kwargs)
           ^^^^^^^^^^^^^^^^^^^^^^^^
  File "/usr/lib/python3/dist-packages/docker/api/client.py", line 237, in _get
    return self.get(url, **self._set_request_timeout(kwargs))
           ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 600, in get
    return self.request("GET", url, **kwargs)
           ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 587, in request
    resp = self.send(prep, **send_kwargs)
           ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 701, in send
    r = adapter.send(request, **kwargs)
        ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
  File "/usr/lib/python3/dist-packages/requests/adapters.py", line 547, in send
    raise ConnectionError(err, request=request)
requests.exceptions.ConnectionError: ('Connection aborted.', PermissionError(13, 'Permission denied'))

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/bin/docker-compose", line 33, in <module>
    sys.exit(load_entry_point('docker-compose==1.29.2', 'console_scripts', 'docker-compose')())
             ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
  File "/usr/lib/python3/dist-packages/compose/cli/main.py", line 81, in main
    command_func()
  File "/usr/lib/python3/dist-packages/compose/cli/main.py", line 200, in perform_command
    project = project_from_options('.', options)
              ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
  File "/usr/lib/python3/dist-packages/compose/cli/command.py", line 60, in project_from_options
    return get_project(
           ^^^^^^^^^^^^
  File "/usr/lib/python3/dist-packages/compose/cli/command.py", line 152, in get_project
    client = get_client(
             ^^^^^^^^^^^
  File "/usr/lib/python3/dist-packages/compose/cli/docker_client.py", line 41, in get_client
    client = docker_client(
             ^^^^^^^^^^^^^^
  File "/usr/lib/python3/dist-packages/compose/cli/docker_client.py", line 170, in docker_client
    client = APIClient(use_ssh_client=not use_paramiko_ssh, **kwargs)
             ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
  File "/usr/lib/python3/dist-packages/docker/api/client.py", line 197, in __init__
    self._version = self._retrieve_server_version()
                    ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
  File "/usr/lib/python3/dist-packages/docker/api/client.py", line 221, in _retrieve_server_version
    raise DockerException(
docker.errors.DockerException: Error while fetching server API version: ('Connection aborted.', PermissionError(13, 'Permission denied'))

Yeah... docker-compose seems to not be working. Try reinstalling it with
sudo apt-get install docker-compose

Stuck in the mud
matt@mopidy:~/audio-tools/players/mopidy-tidal $ sudo apt-get install docker-compose
Reading package lists... Done
Building dependency tree... Done
Reading state information... Done
docker-compose is already the newest version (1.29.2-3).
0 upgraded, 0 newly installed, 0 to remove and 173 not upgraded.

So strange... Have you tried rebooting?

Well, the oldest question in IT support history did indeed take us a step further...
Creating mopidy-tidal ... error

ERROR: for mopidy-tidal  Cannot start service mopidy: driver failed programming external connectivity on endpoint mopidy-tidal (9bd62baaee6f8c40c43c6a1bde4586e71b6de7e5941db6c88c159379fa79b26f): Error starting userland proxy: listen tcp4 <IP_ADDRESS>:6680: bind: address already in use

ERROR: for mopidy  Cannot start service mopidy: driver failed programming external connectivity on endpoint mopidy-tidal (9bd62baaee6f8c40c43c6a1bde4586e71b6de7e5941db6c88c159379fa79b26f): Error starting userland proxy: listen tcp4 <IP_ADDRESS>:6680: bind: address already in use
ERROR: Encountered errors while bringing up the project.

Do you think it's better so start over?

Well if you have a spare microSD then yes, I would suggest to start over. Something must have gone wrong during the mopidy installation...

Righto, I'll do that then... Up to which point will I need to follow thekillerbee's guide and when do I switch over to your solution?

Hello, I would stick with docker and avoid to mix things. Docker gives you the advantage of reduced requirements on the host machine.
The price is more disk space needed and slower startup times, but after that I would say the other overhead is almost negligible.
You can install docker using the same instructions for tidal connect, then my previous instructions should be ok hopefully

OK cool... So I have now reverted back to a stock Raspian and installed docker... Do I now go straight to your recipe and skip the entire thekillerbee episode?

Yes if you want to use docker... not saying there is anything wrong with tehkillerbee's guide of course, it's about what you want to choose to do :-)

OK got it... I'm really having a hard time keeping up here... So after I re-installed Raspian and Docker I started off with the hints you've given in your comment this morning, i.e. starting off with cloning your audio-tools repo.
But after docker-compose up -d I'm already running into the very same problem:
matt@mopidy:~/audio-tools/players/mopidy-tidal $ docker-compose up -d
Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 704, in urlopen
    httplib_response = self._make_request(
                       ^^^^^^^^^^^^^^^^^^^
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 399, in _make_request
    conn.request(method, url, **httplib_request_kw)
  File "/usr/lib/python3.11/http/client.py", line 1282, in request
    self._send_request(method, url, body, headers, encode_chunked)
  File "/usr/lib/python3.11/http/client.py", line 1328, in _send_request
    self.endheaders(body, encode_chunked=encode_chunked)
  File "/usr/lib/python3.11/http/client.py", line 1277, in endheaders
    self._send_output(message_body, encode_chunked=encode_chunked)
  File "/usr/lib/python3.11/http/client.py", line 1037, in _send_output
    self.send(msg)
  File "/usr/lib/python3.11/http/client.py", line 975, in send
    self.connect()
  File "/usr/lib/python3/dist-packages/docker/transport/unixconn.py", line 30, in connect
    sock.connect(self.unix_socket)
PermissionError: [Errno 13] Permission denied

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/requests/adapters.py", line 489, in send
    resp = conn.urlopen(
           ^^^^^^^^^^^^^
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 788, in urlopen
    retries = retries.increment(
              ^^^^^^^^^^^^^^^^^^
  File "/usr/lib/python3/dist-packages/urllib3/util/retry.py", line 550, in increment
    raise six.reraise(type(error), error, _stacktrace)
          ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
  File "/usr/lib/python3/dist-packages/six.py", line 718, in reraise
    raise value.with_traceback(tb)
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 704, in urlopen
    httplib_response = self._make_request(
                       ^^^^^^^^^^^^^^^^^^^
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 399, in _make_request
    conn.request(method, url, **httplib_request_kw)
  File "/usr/lib/python3.11/http/client.py", line 1282, in request
    self._send_request(method, url, body, headers, encode_chunked)
  File "/usr/lib/python3.11/http/client.py", line 1328, in _send_request
    self.endheaders(body, encode_chunked=encode_chunked)
  File "/usr/lib/python3.11/http/client.py", line 1277, in endheaders
    self._send_output(message_body, encode_chunked=encode_chunked)
  File "/usr/lib/python3.11/http/client.py", line 1037, in _send_output
    self.send(msg)
  File "/usr/lib/python3.11/http/client.py", line 975, in send
    self.connect()
  File "/usr/lib/python3/dist-packages/docker/transport/unixconn.py", line 30, in connect
    sock.connect(self.unix_socket)
urllib3.exceptions.ProtocolError: ('Connection aborted.', PermissionError(13, 'Permission denied'))

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/docker/api/client.py", line 214, in _retrieve_server_version
    return self.version(api_version=False)["ApiVersion"]
           ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
  File "/usr/lib/python3/dist-packages/docker/api/daemon.py", line 181, in version
    return self._result(self._get(url), json=True)
                        ^^^^^^^^^^^^^^
  File "/usr/lib/python3/dist-packages/docker/utils/decorators.py", line 46, in inner
    return f(self, *args, **kwargs)
           ^^^^^^^^^^^^^^^^^^^^^^^^
  File "/usr/lib/python3/dist-packages/docker/api/client.py", line 237, in _get
    return self.get(url, **self._set_request_timeout(kwargs))
           ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 600, in get
    return self.request("GET", url, **kwargs)
           ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 587, in request
    resp = self.send(prep, **send_kwargs)
           ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 701, in send
    r = adapter.send(request, **kwargs)
        ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
  File "/usr/lib/python3/dist-packages/requests/adapters.py", line 547, in send
    raise ConnectionError(err, request=request)
requests.exceptions.ConnectionError: ('Connection aborted.', PermissionError(13, 'Permission denied'))

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/bin/docker-compose", line 33, in <module>
    sys.exit(load_entry_point('docker-compose==1.29.2', 'console_scripts', 'docker-compose')())
             ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
  File "/usr/lib/python3/dist-packages/compose/cli/main.py", line 81, in main
    command_func()
  File "/usr/lib/python3/dist-packages/compose/cli/main.py", line 200, in perform_command
    project = project_from_options('.', options)
              ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
  File "/usr/lib/python3/dist-packages/compose/cli/command.py", line 60, in project_from_options
    return get_project(
           ^^^^^^^^^^^^
  File "/usr/lib/python3/dist-packages/compose/cli/command.py", line 152, in get_project
    client = get_client(
             ^^^^^^^^^^^
  File "/usr/lib/python3/dist-packages/compose/cli/docker_client.py", line 41, in get_client
    client = docker_client(
             ^^^^^^^^^^^^^^
  File "/usr/lib/python3/dist-packages/compose/cli/docker_client.py", line 170, in docker_client
    client = APIClient(use_ssh_client=not use_paramiko_ssh, **kwargs)
             ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
  File "/usr/lib/python3/dist-packages/docker/api/client.py", line 197, in __init__
    self._version = self._retrieve_server_version()
                    ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
  File "/usr/lib/python3/dist-packages/docker/api/client.py", line 221, in _retrieve_server_version
    raise DockerException(
docker.errors.DockerException: Error while fetching server API version: ('Connection aborted.', PermissionError(13, 'Permission denied'))

I then rebooted and started another go at docker-compose up -d got me this
Creating network "mopidy-tidal_default" with the default driver
Pulling mopidy (docker.io/giof71/mopidy:latest)...
latest: Pulling from giof71/mopidy
9112ed96bb0c: Pull complete
28304c4b1ec0: Pull complete
028142874972: Pull complete
ad7d0d143c4d: Pull complete
Digest: sha256:bbfb6c3c2400f630474783cb978a17f927f54db69bf76dea9e809554438743a2
Status: Downloaded newer image for giof71/mopidy:latest
Creating mopidy-tidal ... done

But still I can't access Port 8989... Port 6680 opens a site with a link to the Iris GUI...
Boy this is a rough ride, I'm sorry!

Hello, sorry, I tested and worked for me... but maybe the instructions for the creation of the .env file are not precise enough.
Can you post the contents of
cat $HOME/audio-tools/players/mopidy-tidal/.env
and also of the following two:
id
and
getent group audio

Well that part of the instructions was sufficient for me and the .env looks alright to my eye...
matt@mopidy:~/audio-tools/players/mopidy-tidal $ cat $HOME/audio-tools/players/mopidy-tidal/.env
PUID=1000
AUDIO_GID=29
AUDIO_OUTPUT=alsasink device=hw:Audio
TIDAL_QUALITY=HI_RES_LOSSLESS
TIDAL_AUTH_METHOD=PKCE

matt@mopidy:~/audio-tools/players/mopidy-tidal $ id
uid=1000(matt) gid=1000(matt) groups=1000(matt),4(adm),20(dialout),24(cdrom),27(sudo),29(audio),44(video),46(plugdev),60(games),100(users),102(input),105(render),106(netdev),115(lpadmin),122(docker),993(gpio),994(i2c),995(spi)

matt@mopidy:~/audio-tools/players/mopidy-tidal $ getent group audio
audio:x:29:pulse,matt

I really don't get why can't I open port 8989 while 6680 is alive? So there must be some life in that box... I remember that at some point in thekillerbee's instructions this port could be re-assigned.
Also when I open Iris on port 6680 there is no Tidal under Services. Spotify is there albeit greyed out.
Maybe it isn't meant to be for me after all...

The 8989 port comes alive after you start browsing... try using "Browse" and select tidal... that should be the moment when that port becomes accessible. You should also see a hint in the bottom left of the page telling you to visit the page at localhost:8989, that won't work, you will need to replace localhost with the ip or hostname (same you used for port 6680).
The env file and the other two things I asked you to check are ok!

The 8989 port comes alive after you start browsing...

Whaaaaa... Why doesn't it say that anywhere? That did the trick indeed. I am now logged in and Tidal content is showing in Mopidy!
Now how do I get it to show up as a Tidal Connect node?

You cannot do that, because mopidy-tidal does not do that, It's a standalone Tidal player.
But you can install tidal connect along with mopidy!

Oh bugger, I wasn't aware of that... I actually wanted a Tidal Connect node playing Hi Res. What I shame we've come all this way :-D

Ops sorry, but a Tidal Connect in hires on the Pi is something that is not going to happen unless you use Volumio and pay the subscription.
Or you can use UPnP with BubbleUPnP and/or my upmpdcli plugin, but I don't want to put you through a lot of work if that's not something that would satisfy your requirements

Ah well... At least I had blast trying. You have certainly done everything you could... Thanks a lot for that!

Hello, I just wanted to ask you a question.
Where does mopidy-tidal fall short, in your opinion?
I understand it's not the same thing as Tidal Connect.
But I appreciate the fact that it is more oriented to one's choices rather than Tidal's own app, which always pushes to you the music they want to promote.
Also the web app is very mobile friendly, and using a reverse proxy you can get rid of certificate warning etc.
Thank you for you feedback!

Hi,
I don't really dig the aesthetics of Mopidy or rather the lack thereof... It's plain ugly and kicks me back to 2005 :-D
I actually quite like the Tidal app on mobile and desktop having just migrated from Spotify which has become completely overloaded and unbearable UI-wise...
I also don't rely on the recommendation system that much because I curate my own choices in genres far from the mainstream where it is actually pretty accurate, again way better than Spotify.
Kind regards,
Matt

Understood :-)
Do you use android or apple mobile?
If you are using mobile, would "sharing" from Tidal to another app be acceptable?

I'm in your zone mate :-)
Don't use Discord though. Are there any other channels available?

Good to hear you're in the same timezone. Today I will be busy, what about tomorrow at 18:00?
About the channel: discord would have allowed to avoid that we need to share private emails so publicly, what do you suggest?

Hello, I made a quick (and terrible) video which tries to shows what the tidal plugin for upmpdcli can do.
I am using Linn Kazoo, but most control points can be used.
Video here

Oh sorry mate... I lost track of this... Thanks for the video, I'll check it out over the weekend!

Another thing I wanted to tell you. If you want Tidal Connect and HiRes, without the Volumio monthly fee, you might consider the WiiM Pro. No need for the more expensive Wiim Pro Plus which has a better dac, but it's the same as a digital transport.
The WiiM Mini might also do, but it's dual core vs quad core, for this reason does not the Chromecast protocol. Plus I don't have it so I cannot tell.
But from the videos I watched, the Mini should also be good if used with a DAC. It's only WiFi, while the pro and pro plus also support ethernet.

Hey ya...

Video here

That looks alright but it's all pretty desktop centric... I mostly listen to music on my couch with the little streamer, DAC and headphone next to me. So I'd rather browse via my phone and not a laptop...

For ease of use I have already considered the WiiM products as they're being hyped quite a bit in the community. Problem is, my iFi Zen DAC only has USB input. But the WiiM Pro only uses RCA or optical out... The Mini does have USB out but lacks the Ethernet. So there's a classic Catch 22 which made me stick to Volumio for the time being.
I'm unsure how far I wanna push this as I don't even know whether I'll be able to hear the difference between FLAC and Hi Res.

Hello, yes, it's desktop centric because I used Linn Kazoo as a renderer, but I could have used BubbleUPnP on the phone and captured it to show on the desktop. Maybe I will make an alternate video if I have some spare time.
I didn't remember that iFi Zen DAC did not have other inputs. So yes using a WiiM would require the top product as the standard is quite bad as a DAC... plus, no headphone out.
About hires, I also believe I cannot distinguish standard res vs hires for the same masters. But what bothers me with tidal is the presence of these mqa encoded streams... which can (and most likely are) worse than the same thing as standard resolution. You might have heard about all the controversy about this compression scheme.
So, even if I'm quite sure I cannot tell the difference, it is important to me that my setup can stream the hires (non-mqa) version. At least, probably for the inevitable confirmation bias that will happen when you know that you are streaming a good version vs the mqa version.

Ah, forgot to say, that's a slick and organized setup! And there is a piano there :-)

So, in order to finish this off... I have now swapped the Pi and iFi Zen Dac setup for a WiiM Pro and a Fiio K11.
While this does involve more wiring since the K11 can't be USB powered I am quite happy now because the WiiM offers the far superior User experience. Still not sure if I'm able to hear a difference with Hi Res files though 🤣
Anyway, keep up the great work and thanks for All your valueable input!
Kind regards
Matt

Hello, good to know! I think it's a good choice. The product does offer good functionality and should tick all the boxes for you.
About the K11, watch this video. Don't worry about the title, it's a bit of a clickbait, but in the end it is interesting and unless there have been firmware changes, this could apply to your item as well.
The only thing I miss with the WiiM is the missing Last.FM support. I don't know if you use it.
Anyway I am working on a simple python script which should be runnable on any device, that should do the scrobbling, if you are interested I will let you know when it's ready.

First version of the scrobbler is available here.
Of course it's still a little 'bleeding edge' but it mostly works

I checked that commit and compared to the current head... there are no relevant changes. Mostly I have added presets, tried to remove the "version" property from docker-compose then reverted the change cause it caused issue with non-updated o.s., but no changes to the main code.
Can you post your .env file and the container logs?
Also, post the result of
cat /proc/asound/cards
Thank you

Hello, I see you did not specify any of CARD_INDEX and CARD_NAME.
This should be OK as you only have one valid device available (did you blacklist the internal audio?), but the script decides to do nothing and just use sysdefault. I should probably do something different: if there is only card, in case nothing is specified, behave as if CARD_INDEX was set to 0.
Back to us, you should be good to go by just specifying
CARD_INDEX=0
or
CARD_NAME=sndrpirpidac
in your .env file.
The former choice looks more convenient, but the latter will still work if you add another audio device.
Let me know if this helps!

I have already tried.
My default env was  with CARD_INDEX=0
the same issue
tried again ...
docker-compose_logs.txt

Ok, it does not work, but for a different reason. See the logs:
tidal-connect    | Cannot enable softvolume, a 'Master' control already exists for the device at index [0]
tidal-connect    | Building asound.conf without softvolume ...
Your device already has a control device named master, so unfortunately we cannot enable software volume on this app.
If you execute this:
amixer -c 0 controls | grep 'Master'
it will probably return a line, which is what does not allow us to enable software volume. This app can only use a control which is named "Master".
See this resource for more details.

Would you happen to have a quick suggestion on what to change? :)
the soft volume was worked once ... :)

Are you sure about this? I need some elements to work on... that paper I linked seems to say that if there is a Master control, we cannot enable a software volume.
Did you change anything else, kernel versions maybe?
Don't get me wrong, I believe you when you say it once worked, but there must be something different now...

I already tried to revert ... it's not helping...

I already tried to revert ... it's not helping...

Then there must be something else. Anything in /boot/config.txt? overlays, etc ...

I haven't updated the OS and haven't rebooted :)
just tidal-connect
after the update, the soft-volume started working, and after the next update, it stopped.
Of course, after the soft-volume stopped working,  I started playing with moode configuration, but not with the kernel config and config.txt
now, I have the same configuration that was previously

uhm, I really can't figure out what might be the issue. What is the device you are using?

when you reverted to that commit, did you re-create the container? If you didn't already do that, I would try doing a
docker-compose up -d --force-recreate
Unless you are positive that the container was actually recreated.

hi
This is the first that I have tried :)
The device is a custom DAC based on a pcm1792a chip connected to RaspberryPi 4
alsacap
*** Scanning for playback devices ***
Card 0, ID sndrpirpidac', name snd_rpi_rpi_dac'
Device 0, ID RPi-DAC HiFi pcm1794a-hifi-0', name RPi-DAC HiFi pcm1794a-hifi-0', 1 subdevices (1 available)
2 channels, sampling rate 8000..384000 Hz
Sample formats: S16_LE, S24_LE
Buffer size range from 4 to 131072
Period size range from 2 to 65536
  Subdevice 0, name `subdevice #0'

Feel free to let me know if you need more logs, etc.
Thank you very much for your help!

Not a lot more comes to my mind... have you tried adding:
CARD_FORMAT=S32_LE
?

Is Tidal Connect mandatory for you? Would you try a upmpdcli media server and playing back to mpd+upmpdcli? All could fit on your moode device.
See here for the media server and here for the renderer.
All can be combined in one stack if you so prefer (media server would be the player itself).

S32_LE is not supported...
But I tried with S24_LE
It's not helps
Tidal connect is mandatory because the sound quality is much bet better than UPnP

Sorry it does not work, I am really out of ideas here.
Why do you say the sound quality is better? In my option Tidal Connect is the same at best, and is more limited.
Having both options I almost exclusively use UPnP. Even on the usability side, I have had issues with Tidal Connect, especially if I start playing using a phone and then want to switch to a tablet. It's a mess, they never got in sync.
If you think that network package loss with UPD happens with UPnP, fear not, it does not happen in this case. Network discovery uses UPD, but the audio stream comes reliably with https (so tcp).

Just to clarify... the problem with tidal-connect is "only" the missing software volume, of it does not work at all for you?

The soft volume was not worked by default
but it started working with tidal-connect only once but was broken after the update
I really don't understand why the soft-volume has worked, but it has worked, and I'm trying to make it work again :)
The main advantage of tidal-connect service is that the audio stream is transmitted from the server directly to the device without extra conversation

The main advantage of tidal-connect service is that the audio stream is transmitted from the server directly to the device without extra conversation
Hello, the same happens when streaming using upnp! No conversions

About your device, do you have a link or some information about it?

As I see here, maybe try and post the output of:
aplay -D hw:0 --dump-hw-params /dev/zero
so we can see what format your card can support.

Hello @MattRimkus, I am closing this, feel free to reopen or open another one if you encounter any issue.


Adding a test package to simplify testing interactive commands

Is your feature request related to a problem? Please describe.
It is not, but unit-testing huh required some work when I was building it into our CLI. I wrote an 'answering machine' that supplies the input stream of huh inputs based on the output
Describe the solution you'd like
I'd love to write a test package that provides the user with 2 streams to give to huh's WithInput and WithOutput methods, with settings to respond to certain inputs. Maybe something like:
package main

import "github.com/charmbracelet/huh/huhtest"

func TestHuhForm_DoesWhatItIsSupposedToDo(t *testing.T) {
  var formIn io.PipeReader
  var formOut io.PipeWriter
  var close func()

  formIn, formOut, close = huhtest.NewAnsweringMachine().
    AddResponse("How Are You Feeling?", "Amazing Thanks!").
    AddResponse("Would you like a drink?", huhtest.ConfirmNegative).
    Times(2).
    AddResponse("Please pick all options that apply", []string{"a", "b", "c"}).
    Once().
    AddResponses("Are you OK? (gonna ask you twice)", []string{"yes", "yes for sure"}).
    Start()

  // Alternative available: SetResponses(map[string][]string)

  defer formIn.Close()
  defer formOut.Close()
  defer close()

 // Act
 err := myForm.WithInput(formIn).WithOutput(formOut).Run()

 // Assert
 // [...]
}

Describe alternatives you've considered
Turning it into a separate library instead of incorporating it as a contribution here, which I'm fine with as well
Additional context
I'm asking it to see if this is the direction that you might be interested in exploring and what your thoughts are on such a framework

Made a package that does this: https://github.com/survivorbat/huhtest
Seems to work fine for my use-cases :)

That's a cool idea, and you did it!
I think we can close this, then?
Amazing work btw, and sorry for the delay responding 🙏🏻


Visibility issue of the text color

Do you want to have the enhancement of existing game ? 😀 Describe yourself..
Game enhancement
Visibility issue of the text color
Improving the Font and Color and Style of the texts int the main page

Describe the solution you'd like
Hi. Under GSSOC'24, I would like to work on this issue.
Please Assign me this task.
Select program in which you are contributing
Other
Code of Conduct

[X] I follow CONTRIBUTING GUIDELINE of this project.

Hi. Under GSSOC'24, I would like to work on this issue.
Please Assign me this task.

can you please assign me this issue.

Hi as a Frontend Developer with a Knack of UI/UX .. I think i can do it !! Please assign it to me

If you have any doubt you can directly send message on our discord (https://discord.gg/rZb46cCMmK), we have created separate channels for all projects...
Thank you :)


Warshall Algorithm in C

💥 Proposal
I want to add Marshall Algorithm in C which is a shortest path algorithm.
Have you read the Contributing Guidelines on Pull Requests?
Yes

/assign


⚠ Bofrost.lu has degraded performance

In 9efb5d2, Bofrost.lu (https://www.bofrost.lu) experienced degraded performance:

HTTP code: 200
Response time: 1270 ms

Resolved: Bofrost.lu performance has improved in 385bd24.


Docs.MS Release Updates for azure-ai-metrics-advisor

Update docs metadata and targeting for release of azure-ai-metrics-advisor

Docs Build status updates of commit d890ecc:
:warning: Validation status: warnings

File
Status
Preview URL
Details

docs-ref-services/preview/ai-metrics-advisor-readme.md
:warning:Warning
View (azure-node-preview)
Details

docs-ref-services/preview/ai-metrics-advisor-readme.md

Line 9, Column 16: [Warning-ms-prod-technology-invalid] Invalid value for 'ms.technology': 'azure' is not valid with 'ms.prod' value 'azure'.
Line 2, Column 1: [Suggestion-description-missing] Missing required attribute: 'description'.
Line 23, Column 1: [Suggestion-table-syntax-invalid] Table syntax is invalid. Ensure your table includes a header and is surrounded by empty lines. NOTE: This Suggestion will become a Warning on 1/29/21.

For more details, please refer to the build report.
If you see build warnings/errors with permission issues, it might be due to single sign-on (SSO) enabled on Microsoft's GitHub organizations. Please follow instructions here to re-authorize your GitHub account to Docs Build.
Note: Broken links written as relative paths are included in the above build report. For broken links written as absolute paths or external URLs, see the broken link report.
Note: Your PR may contain errors or warnings unrelated to the files you changed. This happens when external dependencies like GitHub alias, Microsoft alias, cross repo links are updated. Please use these instructions to resolve them.
For any questions, please:Try searching in the Docs contributor and Admin GuideSee the frequently asked questionsPost your question in the Docs support channel


full implementation

Hi
i wonder if you could make full implementation lifecycle to android and ios
i mean models and model view and calling too
i can help you by the best libraries in android and ios swift

Hi @amorenew could you explain more about what you mean by 'full implementation'? I don't understand what you're asking for here.

i mean convert json to models
and models view that call it in java and swift language too

MVC
Model - ModelView - ViewController - View

you will make Model and ModelView only with utils too

That sounds like it would be best implemented as another project. That other project can use jsonschema2pojo if it needs to.

i understand you but i am only a mobile developer native ios and android
i can't fork and modify your library because it's hard to me but i can help in calling the web service to the models and other utils with it

You may not need to modify this library, only integrate it into whatever else you write.
It's not a goal for this project to provide a full lifecycle development experience for Android and iOS, and it's not something that is useful for me. If you can find more engineers to work with then I suggest you build this with a group of people that want such a tool.


replace all special spaces when regular spaces when parsing html

created as a draft because I want to add some tests + I'm wondering if this shouldn't be part of the html reader instead

This behaviour I think can be generalised for both text and HTML inserts

I'll leave that discussion for https://binnenland.atlassian.net/browse/GN-3369
It's unclear how harsh we should be in this conversion: e.g. if we do it in the operations, that means it becomes impossible to insert nbsps into the VDOM for any reason whatsoever
On the surface that sounds nice, but until we are fully vdom-based I'm not entirely sure of the consequences yet, so it deserves its own story still


Allow PKCS11 tests to fail on Travis

This commit adds a provision for Travis CI to allow it to fail for
PKCS11 tests.
Signed-off-by: Ionut Mihalcea<EMAIL_ADDRESS>

cc #116

Did it trigger the PKCS 11 build at all?

Did it trigger the PKCS 11 build at all?

Hmm, it doesn't look like it.


include supported version skew

A quick fix until the version skew is properly documented for master/node and master/kubectl, per https://github.com/kubernetes/website/issues/7103.

@hidekif , will you push this to kubernetes/website repo to get it merged?

Just realized my silly mistake of sending PR to my own repo.
Retrying in https://github.com/kubernetes/website/pull/9501


Could not get archives

Hi there,
Kudos for your work here, first of all.
I wanted to report, that trying to download archive files met with failure. I tried the following:

wget http://data.githubarchive.org/2015-05-\{01..29\}-\{0..23\}.json.gz
wget http://data.githubarchive.org/2015-01-\{01..30\}-\{0..23\}.json.gz
wget http://data.githubarchive.org/2016-05-28-\{0..23\}.json.gz

all met with 404 NOT FOUND. In case files are removed, you may want to update the docs on the site, as they state you can get them with wget (or other HTTP client).
sincerely,
LAFK

I think you have an old version of Bash. Take a look at https://github.com/igrigorik/githubarchive.org/issues/6.

That was, indeed, the issue. My thanks and apology for bothering you with a trivial case.


Crashed while typing text

Process:               Chime [19851]
Path:                  /Applications/Chime.app/Contents/MacOS/Chime
Identifier:            com.chimehq.Edit
Version:               3.0.0 (203)
Code Type:             ARM-64 (Native)
Parent Process:        launchd [1]
User ID:               501
Date/Time:             2024/10/27 10:31:12.0933
OS Version:            macOS 14.7 (23H124)
Report Version:        12
Anonymous UUID:        002148F1-8E7A-F804-B811-3B31ED260075
Time Awake Since Boot: 8100 seconds
System Integrity Protection: disabled
Crashed Thread:        0  Dispatch queue: com.apple.main-thread
Exception Type:        EXC_BREAKPOINT (SIGTRAP)
Exception Codes:       0x0000000000000001, 0x00000001a1511f28
Termination Reason:    Namespace SIGNAL, Code 5 Trace/BPT trap: 5
Terminating Process:   exc handler [19851]

Thanks so much for reporting this! I'm afraid this version of Chime, as an editor, is non-functional at the moment. This version is really only usable as a QuickLook preview system. 😞
However! I'm hoping to make more progress on the actual core editing functionality soon. There's a tremendous amount of work to do, but at least getting it to a working state would be pretty nice.
Sorry for wasting your time here!


Able to add distinct values for username and email for a new user after configuring email address as the username

Describe the issue:
Configured email address as the username by following this doc - https://is.docs.wso2.com/en/next/guides/users/attributes/enable-email-as-username/
When adding a new user after enabling above configuration, it is possible to add different values for username and email. However, only the value set as the username can be used for logging in. The value added as the email cannot be used to log in. This leads to confusions in the user experience as the server is "Configured to use email address as the username". Ideally, the UI should only show one field to set the username, and then use that value to populate the email attribute. Same issue exists in self registration as well.

How to reproduce:
Follow the doc to configure email address as username
https://is.docs.wso2.com/en/next/guides/users/attributes/enable-email-as-username/
Attempt to add a new user.
Expected behavior:
Ideally, the add user UI should only show one field to set the username, and then use that value to populate the email attribute.
Same should happen in self registration as well.
Environment information (Please complete the following information; remove  any unnecessary fields) :

Product Version: IS 7.0.0-beta7

The user add wizard has been fixed. We now aim to enhance Self Registration, Registration with JIT provisioning enabled, My Account, and Bulk User Import. These improvements are not considered as bugs but enhancements to the current implementation. Hence, I am assigning the improvement label for this issue. Only the fix for the user add wizard will be included in the RC release.


Distinguish primary and secondary buttons

Candidates for primary buttons:

Select file
Accept (Accept / Reject)

Fixed in 833abea


Added options to disable sshd and httpd if not needed

Added options in the firewall_config method to disable sshd and httpd.
stopping sshd
sudo systemsetup -f -setremotelogin off
unloading httpd
sudo launchctl unload -w /System/Library/LaunchDaemons/org.apache.httpd.plist
Please let me know if any changes are required.

Fix #59

Hey, I added the code to the lockdown_procedure method and made the changes. Please let me know if anything else is required.

Looks good to me. Thanks for the contribution!


[AMBARI-25250] Blueprint processor should support multiple ZooKeeper nodes for Livy

What changes were proposed in this pull request?
Same as #2935, for trunk.
https://issues.apache.org/jira/browse/AMBARI-25250

Refer to this link for build results (access rights to CI server needed):
https://builds.apache.org/job/Ambari-Github-PullRequest-Builder/5151/
Test PASSed.


Title: Anime Website

Is your feature request related to a problem? Please describe.
Yes, I found that no one actually made anything related to Anime. I can introduce Anime to this repository.
Describe the solution you'd like.
I am making a small  Anime website using HTML and CSS only. It would be creative and good looking
Describe alternatives you've considered.
I'll add a home page listing of all time favoritie anime and a navbar having a genre category.
Add any other context or screenshots about the feature request here.
No response

@Kushal997-das  I've uploaded the screenshot of my project above

@Kushal997-das  Ive uploaded the screenshot of my work above


No translatable required fields

I'm running into a problem and tbh  idk how it should be handled on the plugin side.
The problem is that when u have a required field that it doesn't need to be translated the plugin fails to create the entry on Strapi.
Here's a example:
I've a Shared.Seo component that receives a metaTitle and metaDescription and I use it on certain collection types that are pages that I need to create.

I don't want my title to be translated, only the description.

When I try to download the translations from Localazy using the plugin I get the following validation errors:

I would like to keep the metaTitle field required without translations, is there a way to do that? Currently I removed the required in order to have translations in place.
PS: If you have more then one required field the error message is not so informative, I used this to be able to debug it better:
https://github.com/strapi/strapi/issues/12026#issuecomment-1001178952

Hello @gfsd3v, thank you for reporting the issue.
The current solution is the one you're decided to make (remove the required flag).
We're already aware of this and set a priority to it. We'll be working on the fix during the next week.
Will let you know the updates!

Hello,
This has been resolved. It should now work as expected. Please try it out and let us know.

@honzabilek4  Sorry for the late reply, its working flawless.
Kudos for the update on this and on also automatically filling the entries based on the source language content, I had wrote a script to do this using Strapi API, really good to have it on the plugin it self, it saved me and the team responsible for the content a lot of time :+1:


User Story 60501: 101-notification-hub

Part of POC to test generating sample code and articles using OpenAI.

@grayzu @lonegunmanb Here's a new sample PR to review.

Hi @TomArcherMsft, it seems like we need to rebase this pr's branch to the latest master branch and rerun the test again, the previous test failed because the calculated affected folders are wrong.

Closed this PR and opened #211


The repository description disappears if all tags under the repository are deleted

I guess the root cause is the data entry in repository will be removed?
Let's decide if this is a by-design or we need to fix it.


Disabling distortion correction

What is the proper way to disable distortion correction now? Previously, you could set PREVENT_DISTORTION in WebVRConfig, but this no longer works.

Why do you want to disable distortion correction?

Our project is abstract enough that it isn't necessary and there was a noticeable performance hit in the previous version with distortion correction enabled vs disabled.

Could you log a feature request against the polyfill to bring this back?
On Thu, Mar 31, 2016 at 12:03 PM Scott Garner<EMAIL_ADDRESS>wrote:

Our project is abstract enough that it isn't necessary and there was a
noticeable performance hit in the previous version with distortion
correction enabled vs disabled.
—
You are receiving this because you commented.
Reply to this email directly or view it on GitHub
https://github.com/borismus/webvr-boilerplate/issues/128#issuecomment-204081536

Sure.