Git Product home page Git Product logo

Comments (76)

tomazi78 avatar tomazi78 commented on August 17, 2024 1

Sorry, I didn't see you would reply so quickly. I edited my message. I attached the photo accidentally. I had no problems with installation. I followed all the steps

from tidal-connect.

tomazi78 avatar tomazi78 commented on August 17, 2024 1

In moOde settings under Audio, what is your Volume type set as? At least for me, it must be Software or Fixed (0dB) to get sound. Give that a try as it seems your audio device is set correctly as the SMSL. It is odd that internet radio is working and Tidal Connect can't grab it. Try pausing internet radio, or restarting the MPD (without auto-play enabled) and testing when there is no other stream going, It could be that internet radio is stealing exclusivity (much like Tidal Connect does when connected). But I'm not sure if there is a visual confirmation of this happening, so further testing may be needed.

You can try indicating "v12" as the card name again and see if that works after a fresh install perhaps. Hard to say but Gio is more of an expert than I am :D

By chance, one thing became clear. You wrote to stop the radio (MPD). Sorry, I didn't know how to do it in the MoOde system, I only found PAUSE/PLAY radio, but it didn't work when I pressed pause. Today for some reason (I don't know why) an error appeared (it happens sometimes). If I pressed PLAY, the radio would start playing, but I didn't press PLAY. I took advantage of this moment and turned on TidalConnect and it started playing. Only the volume control from the tablet does not work. This is just a quick one, I'm writing this after a few minutes of use and I don't know of any more errors
photo_2024-02-16_18-19-21

from tidal-connect.

tomazi78 avatar tomazi78 commented on August 17, 2024 1

does this happen with tidal playing?

Yes, he plays all the time now

from tidal-connect.

tomazi78 avatar tomazi78 commented on August 17, 2024 1

In moOde settings under Audio, what is your Volume type set as? At least for me, it must be Software or Fixed (0dB) to get sound. Give that a try as it seems your audio device is set correctly as the SMSL. It is odd that internet radio is working and Tidal Connect can't grab it. Try pausing internet radio, or restarting the MPD (without auto-play enabled) and testing when there is no other stream going, It could be that internet radio is stealing exclusivity (much like Tidal Connect does when connected). But I'm not sure if there is a visual confirmation of this happening, so further testing may be needed.
You can try indicating "v12" as the card name again and see if that works after a fresh install perhaps. Hard to say but Gio is more of an expert than I am :D

By chance, one thing became clear. You wrote to stop the radio (MPD). Sorry, I didn't know how to do it in the MoOde system, I only found PAUSE/PLAY radio, but it didn't work when I pressed pause. Today for some reason (I don't know why) an error appeared (it happens sometimes). If I pressed PLAY, the radio would start playing, but I didn't press PLAY. I took advantage of this moment and turned on TidalConnect and it started playing. Only the volume control from the tablet does not work. This is just a quick one, I'm writing this after a few minutes of use and I don't know of any more errors photo_2024-02-16_18-19-21

While TidalConnect is playing and I want to turn on PLAY on the radio, an error appears.
photo_2024-02-16_19-01-13

from tidal-connect.

GioF71 avatar GioF71 commented on August 17, 2024 1

While TidalConnect is playing and I want to turn on PLAY on the radio, an error appears.

Yes, that's unfortunately expected. This Tidal Connect app does not release the audio card if you pause the playback. The only way to have the audio card available is to disconnect the app from the Tidal Connect device.

from tidal-connect.

tomazi78 avatar tomazi78 commented on August 17, 2024 1

cd $HOME/tidal-connect
docker-compose logs -f

pi@moodeaudio:~ $ cd $HOME/tidal-connect
docker-compose logs -f
Attaching to tidal-connect
tidal-connect | Tidal Connect - https://github.com/GioF71/tidal-connect.git - entrypoint.sh version 0.1.2
tidal-connect | FRIENDLY_NAME=TIDAL connect
tidal-connect | MODEL_NAME=Audio Streamer
tidal-connect | MQA_CODEC=false
tidal-connect | MQA_PASSTHROUGH=false
tidal-connect | CARD_NAME=
tidal-connect | CARD_INDEX=
tidal-connect | CARD_DEVICE=
tidal-connect | File [/userconfig/smsl-a8-softvol.asound.conf] has been provi ded, copying to [/etc/asound.conf] ...
tidal-connect | FORCE_PLAYBACK_DEVICE empty, setting to [custom]
tidal-connect | Current /etc/asound.conf:
tidal-connect | pcm.tidal-v12 {
tidal-connect | type plug
tidal-connect | slave.pcm {
tidal-connect | type hw
tidal-connect | card v12
tidal-connect | device 0
tidal-connect | }
tidal-connect | }
tidal-connect |
tidal-connect | pcm.custom {
tidal-connect | type softvol
tidal-connect | slave {
tidal-connect | pcm "tidal-v12"
tidal-connect | }
tidal-connect | control {
tidal-connect | name "Master"
tidal-connect | card 0
tidal-connect | }
tidal-connect | }
tidal-connect | File [/etc/asound.conf] cannot be modified.
tidal-connect | pcm.tidal-v12 {
tidal-connect | type plug
tidal-connect | slave.pcm {
tidal-connect | type hw
tidal-connect | card v12
tidal-connect | device 0
tidal-connect | }
tidal-connect | }
tidal-connect |
tidal-connect | pcm.custom {
tidal-connect | type softvol
tidal-connect | slave {
tidal-connect | pcm "tidal-v12"
tidal-connect | }
tidal-connect | control {
tidal-connect | name "Master"
tidal-connect | card 0
tidal-connect | }
tidal-connect | }
tidal-connect | Setting playback device to [custom] ...
tidal-connect | PLAYBACK_DEVICE=[custom]
tidal-connect | Starting Speaker Application in Background (TMUX)
tidal-connect | Sleeping for a while (3 seconds)...
tidal-connect | Starting TIDAL Connect ...
tidal-connect | STARTING TidalConnect services, version: 1.1.3
tidal-connect | Expression 'GetExactSampleRate( hwParams, &defaultSr )' faile d in 'src/hostapi/alsa/pa_linux_alsa.c', line: 895
tidal-connect | Expression 'GetExactSampleRate( hwParams, &defaultSr )' faile d in 'src/hostapi/alsa/pa_linux_alsa.c', line: 895
tidal-connect | Expression 'GetExactSampleRate( hwParams, &defaultSr )' faile d in 'src/hostapi/alsa/pa_linux_alsa.c', line: 895
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 | Could not find device: 'custom'. Fallback to default device
tidal-connect | Valid devices are: 'sysdefault' 'default' 'dmix'
tidal-connect | STARTED TidalConnect services.
tidal-connect | [2024-02-17 15:57:23.585] [tisoc] [warning] [SessionManagerIm pl.cpp:147] No Session: IDLE
tidal-connect | [2024-02-17 15:57:23] [info] asio async_shutdown error: asio. misc:2 (End of file)
tidal-connect | [2024-02-17 15:57:58.667] [tisoc] [warning] [PlaybackControll erImpl.cpp:472] Illegal state:1
tidal-connect | [2024-02-17 15:58:40.005] [tisoc] [error] [avahiImpl.cpp:113] avahiClientCallback() AVAHI_CLIENT_S_COLLISION/AVAHI_CLIENT_FAILURE
tidal-connect | Tidal Connect - https://github.com/GioF71/tidal-connect.git - entrypoint.sh version 0.1.2
tidal-connect | FRIENDLY_NAME=TIDAL connect
tidal-connect | MODEL_NAME=Audio Streamer
tidal-connect | MQA_CODEC=false
tidal-connect | MQA_PASSTHROUGH=false
tidal-connect | CARD_NAME=
tidal-connect | CARD_INDEX=
tidal-connect | CARD_DEVICE=
tidal-connect | File [/userconfig/smsl-a8-softvol.asound.conf] has been provi ded, copying to [/etc/asound.conf] ...
tidal-connect | FORCE_PLAYBACK_DEVICE empty, setting to [custom]
tidal-connect | Current /etc/asound.conf:
tidal-connect | pcm.tidal-v12 {
tidal-connect | type plug
tidal-connect | slave.pcm {
tidal-connect | type hw
tidal-connect | card v12
tidal-connect | device 0
tidal-connect | }
tidal-connect | }
tidal-connect |
tidal-connect | pcm.custom {
tidal-connect | type softvol
tidal-connect | slave {
tidal-connect | pcm "tidal-v12"
tidal-connect | }
tidal-connect | control {
tidal-connect | name "Master"
tidal-connect | card 0
tidal-connect | }
tidal-connect | }
tidal-connect | File [/etc/asound.conf] cannot be modified.
tidal-connect | pcm.tidal-v12 {
tidal-connect | type plug
tidal-connect | slave.pcm {
tidal-connect | type hw
tidal-connect | card v12
tidal-connect | device 0
tidal-connect | }
tidal-connect | }
tidal-connect |
tidal-connect | pcm.custom {
tidal-connect | type softvol
tidal-connect | slave {
tidal-connect | pcm "tidal-v12"
tidal-connect | }
tidal-connect | control {
tidal-connect | name "Master"
tidal-connect | card 0
tidal-connect | }
tidal-connect | }
tidal-connect | Setting playback device to [custom] ...
tidal-connect | PLAYBACK_DEVICE=[custom]
tidal-connect | Starting Speaker Application in Background (TMUX)
tidal-connect | Sleeping for a while (3 seconds)...
tidal-connect | Starting TIDAL Connect ...
tidal-connect | STARTING TidalConnect services, version: 1.1.3
tidal-connect | Expression 'GetExactSampleRate( hwParams, &defaultSr )' faile d in 'src/hostapi/alsa/pa_linux_alsa.c', line: 895
tidal-connect | Expression 'GetExactSampleRate( hwParams, &defaultSr )' faile d in 'src/hostapi/alsa/pa_linux_alsa.c', line: 895
tidal-connect | Expression 'GetExactSampleRate( hwParams, &defaultSr )' faile d in 'src/hostapi/alsa/pa_linux_alsa.c', line: 895
tidal-connect | Expression 'GetExactSampleRate( hwParams, &defaultSr )' faile d in 'src/hostapi/alsa/pa_linux_alsa.c', line: 895
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-02-17 16:00:17.512] [tisoc] [warning] [PlaybackControll erImpl.cpp:472] Illegal state:1

from tidal-connect.

tomazi78 avatar tomazi78 commented on August 17, 2024 1

Jestem idiotą, ale jestem też gotowy, aby ponownie zainstalować system MoOde i spróbować zainstalować TidalConnect na czystym systemie i sprawić, by regulacja głośności działała.

Dlaczego miałbyś mówić takie rzeczy o sobie?

I'm from another country and Google translate greatly distorts the meaning of what I wrote - it's a pity, but I won't do anything about it

from tidal-connect.

GioF71 avatar GioF71 commented on August 17, 2024

Hello, the instructions "cd" and "git clone ..." are separate: try to execute "cd" first (which will bring you to home where you probably are already), then execute the second command ("git clone ...").

Edit: yes it is possible to run on Moode Audio

from tidal-connect.

GioF71 avatar GioF71 commented on August 17, 2024

ops

from tidal-connect.

tomazi78 avatar tomazi78 commented on August 17, 2024

It just doesn't work. The RPi is connected to the network via RJ45 and the TIDALCONNECT selection does not appear in the TIDAL application - neither in Android on the phone nor in iPad on iOS. What am I missing? Is there anything else I need to install?

from tidal-connect.

GioF71 avatar GioF71 commented on August 17, 2024

Uhm please post the logs of the container.

cd $HOME/tidal-connect
docker-compose logs

also please post the output of

cat /proc/asound/cards

and

aplay -L

from tidal-connect.

tomazi78 avatar tomazi78 commented on August 17, 2024

"docker-compose logs" command doesn't work

screen moode3
screen moode2
screen moode
moode.log

from tidal-connect.

GioF71 avatar GioF71 commented on August 17, 2024

Did you install docker-compose?

sudo apt-get update
sudo apt-get install docker.io docker-compose
sudo usermod -a -G docker $USER

from tidal-connect.

tomazi78 avatar tomazi78 commented on August 17, 2024

yes
docker

from tidal-connect.

tomazi78 avatar tomazi78 commented on August 17, 2024

I installed docker-compose again and wanted to download the "log"
screen moode4

from tidal-connect.

GioF71 avatar GioF71 commented on August 17, 2024

Ok, we need to start the container.
After docker installation, you need to close your terminal connection and open a new one. You probably already did that.
About the soundcard, I assume you want to use the usb dac.

So, please execute these commands:

cd $HOME/tidal-connect
echo "CARD_NAME=v12" > .env
docker-compose pull
docker-compose up -d
docker-compose logs -f

from tidal-connect.

tomazi78 avatar tomazi78 commented on August 17, 2024

This is the log after installing and restarting RPi4. There is an option to enable TIDAL-CONNECT in the TIDAL application, but unfortunately the function does not work. On iOS iPad, when switching to TIDALconnect, the music stops and pressing the PLAY button does nothing - the music progress bar does not move (as if there was a pause). On Android it is the same and an additional message "error connecting to the server" appears. I have the TIDAL HiFi Plus plan

boot1
boot2
boot3
boot4
boot5
boot6

from tidal-connect.

tomazi78 avatar tomazi78 commented on August 17, 2024

here is the installation log:
screen moode11
screen moode12
screen moode13

from tidal-connect.

GioF71 avatar GioF71 commented on August 17, 2024

Maybe the Audio config is wrong.
Try removing the .env file and restart:

cd $HOME/tidal-connect
rm .env
docker-compose up -d --force-recreate

from tidal-connect.

GioF71 avatar GioF71 commented on August 17, 2024

Your dac should be the default device anyway from what I see from one of the previous screenshots.

from tidal-connect.

tomazi78 avatar tomazi78 commented on August 17, 2024

The only thing that has changed is that when I switch to TidalConnect, the music progress bar moves, but the sound does not go to the amplifier. When I run RPi, MoOdeAudio starts on the last selected radio station from the Internet (and that's good), but when I turn on TidalConnect, the Internet radio still plays and I can't hear the music from TIDAL

from tidal-connect.

GioF71 avatar GioF71 commented on August 17, 2024

it's probably going to the onboard audio for some reasons.
You can monitor you onboard with this, while you are playing:

watch cat /proc/asound/card0/pcm0p/sub0/hw_params

and the dac (assuming it's at index 2):

watch cat /proc/asound/card2/pcm0p/sub0/hw_params

Then check again this:

cat /proc/asound/cards

Your card should be at index 2 if nothing changed from before.
If so, create the .env file accordingly:

cd $HOME/tidal-connect
echo "CARD_INDEX=2" > .env
docker-compose up -d --force-recreate
docker-compose logs -f

Let's see if this works. Maybe we might need to also set audio format to S32_LE. So if this does not work you can try also:

cd $HOME/tidal-connect
echo "CARD_INDEX=2" > .env
echo "CARD_FORMAT=S32_LE" >> .env
cat .env
docker-compose up -d --force-recreate
docker-compose logs -f

from tidal-connect.

hv6478 avatar hv6478 commented on August 17, 2024

In moOde settings under Audio, what is your Volume type set as? At least for me, it must be Software or Fixed (0dB) to get sound. Give that a try as it seems your audio device is set correctly as the SMSL. It is odd that internet radio is working and Tidal Connect can't grab it. Try pausing internet radio, or restarting the MPD (without auto-play enabled) and testing when there is no other stream going, It could be that internet radio is stealing exclusivity (much like Tidal Connect does when connected). But I'm not sure if there is a visual confirmation of this happening, so further testing may be needed.

You can try indicating "v12" as the card name again and see if that works after a fresh install perhaps. Hard to say but Gio is more of an expert than I am :D

from tidal-connect.

GioF71 avatar GioF71 commented on August 17, 2024

Of course I was assuming that nothing else was playing on moode audio on the same audio output.
Setting "CARD_NAME=v12" apparently did not work, maybe we need to set format to S32_LE. Every dac has its quirks, this Tidal Connect application is quite old now, so it requires some work to make the dac work. I made it work on every dac I tried until now, but some times it has not been a super-easy task.
Usually modern app like mpd/squeezelite adapt on their own to the features of the dac. Not this one.
The worst has been an android box with LibreElec/CoreElec installed. Those boxes worked perfectly in kodi, but it was not easy to make Tidal Connect work.
And, when using Armbian (arm64) on the same box, the app was starting but it immediately started to flood the system logs with an emulation warning. Even with this log suppressed, the cpu load was high, and the application would not run properly, there were glitches, noise, etc.

from tidal-connect.

hv6478 avatar hv6478 commented on August 17, 2024

That's very interesting and I suppose makes sense with the different ways various devices communicate.

I wonder if it has anything to do with the way moOde allows communications with the DAC. Seeing the settings in the moOde > Audio page may help a bit.

All the best with this one!

from tidal-connect.

GioF71 avatar GioF71 commented on August 17, 2024

Well the main player used by moode is mpd, much more updated than the underlying binary used here, and inherently different ... so looking at the mpd configuration file created by moode might help, but not necessarily.

from tidal-connect.

GioF71 avatar GioF71 commented on August 17, 2024

anyway @tomazi78, if nothing still worked, maybe post the contents of the mpd.conf file. This should be obtained with a

cat /etc/mpd.conf

from tidal-connect.

tomazi78 avatar tomazi78 commented on August 17, 2024

cat /etc/mpd.conf

Tidal Connect is playing while this file is being generated

mpd1
mpd2

from tidal-connect.

GioF71 avatar GioF71 commented on August 17, 2024

So basically the audio card was locked, did I understand it clearly?
In any case, use the watch commands on the audio card to understand if it is open or not. Given the audio card "v12", you can watch using:

watch cat /proc/asound/v12/pcm0p/sub0/hw_params

If it doesn't say "closed", it means that some app is using it

from tidal-connect.

GioF71 avatar GioF71 commented on August 17, 2024

No particular settings in mpd.conf, it's using index 2 which should be the same as CARD_INDEX=2 in this tidal-connect

from tidal-connect.

tomazi78 avatar tomazi78 commented on August 17, 2024

watch cat /proc/asound/v12/pcm0p/sub0/hw_params

clock

from tidal-connect.

GioF71 avatar GioF71 commented on August 17, 2024

does this happen with tidal playing?

from tidal-connect.

GioF71 avatar GioF71 commented on August 17, 2024

Can you share the working .env file? do this

cat $HOME/tidal-connect/.env

from tidal-connect.

GioF71 avatar GioF71 commented on August 17, 2024

Look if there are some timers, wake-up alarms, or some configuration that wants to play things automatically ...

from tidal-connect.

tomazi78 avatar tomazi78 commented on August 17, 2024

cat $HOME/tidal-connect/.env

env

from tidal-connect.

tomazi78 avatar tomazi78 commented on August 17, 2024

Look if there are some timers, wake-up alarms, or some configuration that wants to play things automatically ...

I already know that before I choose Tidal Connect, I have to restart MPD and then it works. MPD has autostart, because when I turn on RPi, the last radio station I listened to starts, and I like that.

mpd
mpd11

from tidal-connect.

tomazi78 avatar tomazi78 commented on August 17, 2024

Is it possible to try to fix the volume controls?

from tidal-connect.

tomazi78 avatar tomazi78 commented on August 17, 2024

Does the update break Tidal Connect?
IMG_1677

from tidal-connect.

GioF71 avatar GioF71 commented on August 17, 2024

Does the update break Tidal Connect? IMG_1677

It should not!

from tidal-connect.

GioF71 avatar GioF71 commented on August 17, 2024

cat $HOME/tidal-connect/.env

env

Would you like to try with CARD_NAME=v12 instead? It should work the same way.
If you want to try:

cd $HOME/tidal-connect
echo "CARD_NAME=v12" > .env
docker-compose up -d

Should you need to revert:

cd $HOME/tidal-connect
echo "CARD_INDEX=2" > .env
docker-compose up -d

from tidal-connect.

GioF71 avatar GioF71 commented on August 17, 2024

Is it possible to try to fix the volume controls?

We can try... post the output of this command:

amixer controls | grep Master

from tidal-connect.

tomazi78 avatar tomazi78 commented on August 17, 2024

amixer controls | grep Master

he may not be able to do something, but it doesn't work

volume1

from tidal-connect.

GioF71 avatar GioF71 commented on August 17, 2024

Actually that's what's good for us! There is not any device named master.
I have created two files in userconfig. Try the following:

cd $HOME/tidal-connect
git config pull.rebase false
git pull
echo "ASOUND_FILE_PREFIX=smsl-a8-softvol" > .env
docker-compose up -d

from tidal-connect.

tomazi78 avatar tomazi78 commented on August 17, 2024

docker-compose up -d

Well, something went wrong. There is no sound at all from TidalConnect. The music progress bar moves. I had previously stopped MDP so it wasn't blocked by the radio. Unfortunately, you can't hear anything

vol

from tidal-connect.

GioF71 avatar GioF71 commented on August 17, 2024

Ok you can revert to the working config using the instructions I sent you before. But if you want, try and repeat the last changes but add '-32' to the prefix.

from tidal-connect.

GioF71 avatar GioF71 commented on August 17, 2024

Anyway please post container logs

docker-compose logs -f

It would be great if you can post the text instead of images. If you are using putty you just need to select some text to copy to the clipboard

from tidal-connect.

tomazi78 avatar tomazi78 commented on August 17, 2024

OK, możesz powrócić do działającej konfiguracji, korzystając z instrukcji, które Ci wcześniej wysłałem. Ale jeśli chcesz, spróbuj powtórzyć ostatnie zmiany, ale dodaj „-32” do przedrostka.

I followed these instructions and still no sound

pi@moodeaudio:~ $ cd $HOME/tidal-connect
echo "CARD_INDEX=2" > .env
docker-compose up -d
Recreating tidal-connect ... done
pi@moodeaudio:~/tidal-connect $

from tidal-connect.

GioF71 avatar GioF71 commented on August 17, 2024

OK, możesz powrócić do działającej konfiguracji, korzystając z instrukcji, które Ci wcześniej wysłałem. Ale jeśli chcesz, spróbuj powtórzyć ostatnie zmiany, ale dodaj „-32” do przedrostka.

I followed these instructions and still no sound

pi@moodeaudio:~ $ cd $HOME/tidal-connect
echo "CARD_INDEX=2" > .env
docker-compose up -d
Recreating tidal-connect ... done
pi@moodeaudio:~/tidal-connect $

Ok then post again

cat /proc/around/cards

from tidal-connect.

tomazi78 avatar tomazi78 commented on August 17, 2024

cat /proc/around/cards

pi@moodeaudio:/tidal-connect $ cat /proc/around/cards
-bash: cat: command not found
pi@moodeaudio:
/tidal-connect $ cd
pi@moodeaudio:
$ cat /proc/around/cards
cat: /proc/around/cards: No such file or directory
pi@moodeaudio:
$ cd $HOME/tidal-connect
pi@moodeaudio:/tidal-connect $ cat /proc/around/cards
cat: /proc/around/cards: No such file or directory
pi@moodeaudio:
/tidal-connect $

from tidal-connect.

hv6478 avatar hv6478 commented on August 17, 2024

I think it's asound probably just a little typo. Try that!

from tidal-connect.

GioF71 avatar GioF71 commented on August 17, 2024

Anyway please post container logs

docker-compose logs -f

It would be great if you can post the text instead of images. If you are using putty you just need to select some text to copy to the clipboard X

cat /proc/asound/cards

Sorry I am using a phone

from tidal-connect.

tomazi78 avatar tomazi78 commented on August 17, 2024

cat /proc/asound/cards

pi@moodeaudio:/tidal-connect $ cat /proc/asound/cards
0 [b1 ]: bcm2835_hdmi - bcm2835 HDMI 1
bcm2835 HDMI 1
1 [Headphones ]: bcm2835_headpho - bcm2835 Headphones
bcm2835 Headphones
2 [v12 ]: USB-Audio - SMSL A8 v1.2
SMSL SMSL A8 v1.2 at usb-0000:01:00.0-1.2, high speed
pi@moodeaudio:
/tidal-connect $

from tidal-connect.

tomazi78 avatar tomazi78 commented on August 17, 2024

Anyway please post container logs

docker-compose logs -f

It would be great if you can post the text instead of images. If you are using putty you just need to select some text to copy to the clipboard X

cat /proc/asound/cards

Sorry I am using a phone

pi@moodeaudio:~/tidal-connect $ docker-compose logs -f
Attaching to tidal-connect
tidal-connect | Tidal Connect - https://github.com/GioF71/tidal-connect.git - entrypoint.sh version 0.1.2
tidal-connect | FRIENDLY_NAME=TIDAL connect
tidal-connect | MODEL_NAME=Audio Streamer
tidal-connect | MQA_CODEC=false
tidal-connect | MQA_PASSTHROUGH=false
tidal-connect | CARD_NAME=
tidal-connect | CARD_INDEX=2
tidal-connect | CARD_DEVICE=
tidal-connect | File [asound.conf] has not been provided
tidal-connect | File /etc/asound.conf does not exists.
tidal-connect | Specified CARD_INDEX=[2]
tidal-connect | Set card_index=[2]
tidal-connect | Creating sound configuration file (card_index=2)...
tidal-connect | Sound configuration file created.
tidal-connect | pcm.!default {
tidal-connect | type plug
tidal-connect | slave.pcm {
tidal-connect | type hw
tidal-connect | card 2
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 | Starting TIDAL Connect ...
tidal-connect | STARTING TidalConnect services, version: 1.1.3
tidal-connect | Expression 'GetExactSampleRate( hwParams, &defaultSr )' faile d in 'src/hostapi/alsa/pa_linux_alsa.c', line: 895
tidal-connect | Expression 'GetExactSampleRate( hwParams, &defaultSr )' faile d in 'src/hostapi/alsa/pa_linux_alsa.c', line: 895
tidal-connect | Expression 'GetExactSampleRate( hwParams, &defaultSr )' faile d in 'src/hostapi/alsa/pa_linux_alsa.c', line: 895
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 | Could not find device: 'default'. Fallback to default device
tidal-connect | Valid devices are: 'sysdefault' 'dmix'
tidal-connect | STARTED TidalConnect services.
tidal-connect | [2024-02-17 15:02:05.088] [tisoc] [warning] [PlaybackControll erImpl.cpp:472] Illegal state:1
tidal-connect | [2024-02-17 15:02:33] [info] asio async_shutdown error: asio. misc:2 (End of file)
tidal-connect | [2024-02-17 15:02:34.294] [tisoc] [warning] [PlaybackControll erImpl.cpp:472] Illegal state:1
tidal-connect | [2024-02-17 15:02:34.750] [tisoc] [warning] [logger.cpp:22] [ audio_worker.cpp:321] Attempting to initialize a decoder without initial data!
tidal-connect | [2024-02-17 15:03:13] [info] asio async_shutdown error: asio. misc:2 (End of file)
tidal-connect | [2024-02-17 15:04:11.150] [tisoc] [error] [logger.cpp:25] [op eration_curl.cpp:258] curl_easy_perform failed: Timeout was reached - Resolvi ng timed out after 5515 milliseconds
tidal-connect | [2024-02-17 15:04:11.150] [tisoc] [error] [logger.cpp:25] [ht tp_stream_fetcher.cpp:162] Content-Range is missing from response!

from tidal-connect.

tomazi78 avatar tomazi78 commented on August 17, 2024

cat /proc/asound/cards

pi@moodeaudio:/tidal-connect $ cat /proc/asound/cards 0 [b1 ]: bcm2835_hdmi - bcm2835 HDMI 1 bcm2835 HDMI 1 1 [Headphones ]: bcm2835_headpho - bcm2835 Headphones bcm2835 Headphones 2 [v12 ]: USB-Audio - SMSL A8 v1.2 SMSL SMSL A8 v1.2 at usb-0000:01:00.0-1.2, high speed pi@moodeaudio:/tidal-connect $

I'm sorry you have to work with so much crap that I can't even copy it exactly. I use Putty and I don't know why it crosses out the font

from tidal-connect.

GioF71 avatar GioF71 commented on August 17, 2024

Try skipping to another track. Maybe use standard resolution. This application uses some old libraries and sometimes that error "Content-Range is missing ..." happens as reported by other users.

from tidal-connect.

tomazi78 avatar tomazi78 commented on August 17, 2024

Try skipping to another track. Maybe use standard resolution. This application uses some old libraries and sometimes that error "Content-Range is missing ..." happens as reported by other users.

doesn't work

from tidal-connect.

GioF71 avatar GioF71 commented on August 17, 2024

It was working yesterday, what happened?

Let's see the contents of .env

cat $HOME/tidal-connect/.env

Disconnect Tidal Connect and let's check nothing is playing:

cat /proc/asound/*/pcm*p/sub0/hw_params

from tidal-connect.

tomazi78 avatar tomazi78 commented on August 17, 2024

cat /proc/asound//pcmp/sub0/hw_params

pi@moodeaudio:/tidal-connect $ cat $HOME/tidal-connect/.env
CARD_INDEX=2
pi@moodeaudio:
/tidal-connect $ cat /proc/asound//pcmp/sub0/hw_params
access: MMAP_INTERLEAVED
format: S16_LE
subformat: STD
channels: 2
rate: 96000 (96000/1)
period_size: 4800
buffer_size: 24000
closed
access: MMAP_INTERLEAVED
format: S16_LE
subformat: STD
channels: 2
rate: 96000 (96000/1)
period_size: 4800
buffer_size: 24000
closed
closed
access: MMAP_INTERLEAVED
format: S32_LE
subformat: STD
channels: 2
rate: 44100 (44100/1)
period_size: 5513
buffer_size: 22050
closed
access: MMAP_INTERLEAVED
format: S32_LE
subformat: STD
channels: 2
rate: 44100 (44100/1)
period_size: 5513
buffer_size: 22050
pi@moodeaudio:~/tidal-connect $

from tidal-connect.

GioF71 avatar GioF71 commented on August 17, 2024

Something is playing here!

from tidal-connect.

tomazi78 avatar tomazi78 commented on August 17, 2024

Something is playing here!

the radio is playing all the time

The radio was playing all the time, after every shift we did. There are no problems with the radio. The problem is with TidalConnect - it stopped playing

from tidal-connect.

GioF71 avatar GioF71 commented on August 17, 2024

Yesterday I have made a mistake for the smsl-a8 softvol.
The file name was wrong unfortunately.
You can try again:

cd $HOME/tidal-connect
git config pull.rebase false
git pull
echo "ASOUND_FILE_PREFIX=smsl-a8-softvol" > .env
docker-compose up -d

But before that, try to route moode to the internal audio, so it should get out of the way of your dac. After you do that, verify that nothing is playing on the dac:

watch cat /proc/asound/v12/pcm0p/sub0/hw_params

That is important, if something is playing here, Tidal Connect will never work

from tidal-connect.

tomazi78 avatar tomazi78 commented on August 17, 2024

watch cat /proc/asound/v12/pcm0p/sub0/hw_params

pi@moodeaudio:/tidal-connect $ git config pull.rebase false
git pull
echo "ASOUND_FILE_PREFIX=smsl-a8-softvol" > .env
docker-compose up -d
remote: Enumerating objects: 3, done.
remote: Counting objects: 100% (3/3), done.
remote: Compressing objects: 100% (3/3), done.
remote: Total 3 (delta 0), reused 0 (delta 0), pack-reused 0
Unpacking objects: 100% (3/3), 1.48 KiB | 757.00 KiB/s, done.
From https://github.com/GioF71/tidal-connect
b1e23a0..1b91dc6 main -> origin/main
Updating b1e23a0..1b91dc6
Fast-forward
userconfig/{smsl-a8-softvol.conf => smsl-a8-softvol.asound.conf} | 0
1 file changed, 0 insertions(+), 0 deletions(-)
rename userconfig/{smsl-a8-softvol.conf => smsl-a8-softvol.asound.conf} (100%)
Recreating tidal-connect ... done
pi@moodeaudio:
/tidal-connect $ watch cat /proc/asound/v12/pcm0p/sub0/hw_params
pi@moodeaudio:~/tidal-connect $

watch cat /proc/asound/v12/pcm0p/sub0/hw_params

Every 2.0s: cat /proc/asound/v12/pcm0p/sub0/hw_params moodeaudio: Sat Feb 17 16:56:09 2024

closed

from tidal-connect.

GioF71 avatar GioF71 commented on August 17, 2024

Ok try Tidal Connect now from the app...

from tidal-connect.

GioF71 avatar GioF71 commented on August 17, 2024

Also post container logs...

cd $HOME/tidal-connect
docker-compose logs -f

from tidal-connect.

tomazi78 avatar tomazi78 commented on August 17, 2024

Ok try Tidal Connect now from the app...

doesn't work

from tidal-connect.

tomazi78 avatar tomazi78 commented on August 17, 2024

Ok try Tidal Connect now from the app...

I RESTARTed the system and EVERYTHING started working - TidalConnect plays and the volume control also works

from tidal-connect.

GioF71 avatar GioF71 commented on August 17, 2024

Hurrah :-)

from tidal-connect.

tomazi78 avatar tomazi78 commented on August 17, 2024

If I were to run TidalConnect on a clean system, it would be a disaster ;-) Now that you know what didn't work, can you specify what is necessary and what to do step by step? Is that too much to ask? Thank you very much for your help. You are very patient and knowledgeable. This will definitely help others who are trying to do this

I'm an idiot, but I'm also ready to install the MoOde system again and try to install TidalConnect on a clean system and have the volume control work.

from tidal-connect.

GioF71 avatar GioF71 commented on August 17, 2024

If I were to run TidalConnect on a clean system, it would be a disaster ;-) Now that you know what didn't work, can you specify what is necessary and what to do step by step? Is that too much to ask? Thank you very much for your help. You are very patient and knowledgeable. This will definitely help others who are trying to do this

Well actually, assuming that docker and docker-compose are installed, considering that I have created a file for your dac (userconfig/smsl-a8-softvol.asound.conf), the configuration reduces to a mere:

cd $HOME/tidal-connect
echo "ASOUND_FILE_PREFIX=smsl-a8-softvol" > .env
docker-compose up -d

But that is the configuration for your dac. I am not a real ALSA expert so it's difficult to help other people with messages... it ends up taking a long time. Maybe with some issues already solved here and tracked here on github, more people can get this running on their own.

But in your case, I see you had issues with docker installation. Another user helped me identifying ambiguities and errors in the documentation. Where did the process become difficult to follow?
Do you have a spare Pi3/Pi4, or a spare microsd card, to try the process from the beginning?

Also a big issue was the radio playing. Why was it playing? That has probably misled us a few time until you redirected the audio to onboard audio, or anyway made it stop trying to play to the same dac you wanted to use for Tidal Connect.

from tidal-connect.

GioF71 avatar GioF71 commented on August 17, 2024

I'm an idiot, but I'm also ready to install the MoOde system again and try to install TidalConnect on a clean system and have the volume control work.

Why would you say these things about yourself?

from tidal-connect.

tomazi78 avatar tomazi78 commented on August 17, 2024

I also noticed that on a locked screen, when TidalConnect is running and when music is playing, you cannot control anything on the locked screen. The Tidal application does not appear at all and you cannot switch songs or control the volume. You need to unlock the screen.

from tidal-connect.

GioF71 avatar GioF71 commented on August 17, 2024

Yes, I also noticed some weird behaviors.
Have you ever tried mopidy? There is a nice plugin named mopidy-tidal, I have tried and it's very nice. The author is also in the process of making it compatible with hires.
That would mean that from your phone you could connect to a web app that resembles Tidal's menus, playlists, favorites, etc, and playback to the device where mopidy is installed. I have tried and it's very nice. But I would like to build a docker image for that, for easy configurability.
That, on my book, would be a very decent alternative to Tidal Connect

from tidal-connect.

GioF71 avatar GioF71 commented on August 17, 2024

Ah I forgot to ask, please star the repo if you like the work. It's always encouraging.
Thank you.

from tidal-connect.

GioF71 avatar GioF71 commented on August 17, 2024

I was just asking to click the "star" on the repository.

from tidal-connect.

GioF71 avatar GioF71 commented on August 17, 2024

As you did already. Thank you

from tidal-connect.

GioF71 avatar GioF71 commented on August 17, 2024

Closing this, seems to be solved. Open another if needed!
Thank you

from tidal-connect.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.