Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

problem implementing Tidal Connect #216

Open
Adryan72 opened this issue Jan 19, 2025 · 33 comments
Open

problem implementing Tidal Connect #216

Adryan72 opened this issue Jan 19, 2025 · 33 comments

Comments

@Adryan72
Copy link

Adryan72 commented Jan 19, 2025

Hello,

I'm new to Linux and have to search on google to get an explanation for every command...

I installed Moode on a Rpi5 - 4GB and installed the Tidal Connect from GioF71.
I want to use the Rpi5 USB to connect to my Hypex DAC.

after installing Moode I can start it up.
The Tidal Connect (from GioF71) I installed using the lines on the Github GIOF71/tidal-connect site.

....But that is it...
When opening configuration in Moode, under renderers I cant find Tidal....

Can anybody give me some tips what to do next?

allready did 3 installs...everytime same result.

@GioF71
Copy link
Owner

GioF71 commented Jan 20, 2025

Hello @Adryan72, I am sorry you had a hard time with this.
But there will be no tidal renderer inside Moode. Moode is just an operating system where you can install this tidal connect. Considering that with Moode you can already create a streamer, it's likely that one might want to add the Tidal Connect functionality.
The player should be available in the Tidal applications, win/macos/android/ios.
Maybe watch this video, especially the second part where the phone appears, in order to understand how you would you make use of the solution.

@Adryan72
Copy link
Author

Sorry,

I think I'm not explaining my problem correctly.
(I thought I could see some kind of Tidal intigration in Moode, looking under the renderer settings. Nowere in Moode i can see a change after implimanting the Tidal Connect functionality)
Moode is running, I did the lines you instructed on you site, however, i cant get my Tidal in IOS connected to the tidal connect in the RPi5...
hope this makes sense....

@GioF71
Copy link
Owner

GioF71 commented Jan 20, 2025

I think I'm not explaining my problem correctly. (I thought I could see some kind of Tidal intigration in Moode, looking
under the renderer settings.

No, installing tidal connect with this method does not trigger any change in the moode interface.

Nowere in Moode i can see a change after implimanting the Tidal Connect functionality) Moode is running, I did the lines
you instructed on you site, however, i cant get my Tidal in IOS connected to the tidal connect in the RPi5... hope this makes > sense....

Maybe the application is not running properly.
Can you post the outputs of these commands:

cat /proc/asound/cards

aplay -l

So we can understand the name of your audio device
Then:

cat ~/tidal-connect/.env

So your configuration is displayed.

then we see the logs of the application with the current configuration

cd ~/tidal-connect
docker-compose logs -f

@Adryan72
Copy link
Author

here is a step-by-step of what i did...

-Installing Moode 9.2.2 64-bit Bookworm using RaspberryPi Imager
(enabling SSH)
CONNECTING TO THE RPI USING PUTTY
sudo nano /boot/firmware/config.txt
-Adding “kernel=kernel8.img” in the all section
REBOOTING RPI
sudo apt-get update
sudo apt-get install docker.io docker-compose
sudo usermod -a -G docker $USER
newgrp docker
sudo apt-get update
sudo apt-get install -y git
cd
git clone https://github.com/GioF71/tidal-connect.git
cd $HOME/tidal-connect
git config pull.rebase false
git pull
cd $HOME/tidal-connect
bash configure.sh -n DAC -f "Hypex CLASSD PreDIGin" -m "Raspberry pi5 4GB"
cd $HOME/tidal-connect
docker-compose up -d
DISCONNECT-RECONNECT PUTTY

@Adryan72
Copy link
Author

here are the outputs you asked...
I want to use the USB out from the Rpi to connect to my Hypex DAC

adryan@Raspberrypi:~ $ cat /proc/asound/cards
0 [vc4hdmi0 ]: vc4-hdmi - vc4-hdmi-0
vc4-hdmi-0
1 [vc4hdmi1 ]: vc4-hdmi - vc4-hdmi-1
vc4-hdmi-1
adryan@Raspberrypi:~ $ aplay -l

**** List of PLAYBACK Hardware Devices ****
card 0: vc4hdmi0 [vc4-hdmi-0], device 0: MAI PCM i2s-hifi-0 [MAI PCM i2s-hifi-0]
Subdevices: 1/1
Subdevice #0: subdevice #0
card 1: vc4hdmi1 [vc4-hdmi-1], device 0: MAI PCM i2s-hifi-0 [MAI PCM i2s-hifi-0]
Subdevices: 1/1
Subdevice #0: subdevice #0
adryan@Raspberrypi:~ $

adryan@Raspberrypi:~ $ cat ~/tidal-connect/.env

FRIENDLY_NAME=Hypex CLASSD PreDIGin
MODEL_NAME=Raspberry pi5 4GB
CARD_NAME=DAC
adryan@Raspberrypi:~ $

@GioF71
Copy link
Owner

GioF71 commented Jan 21, 2025

Hello, the output of both cat /proc/asound/cards and aplay -l show that there is no "DAC" device connected. Is the dac connected to your pi5 and powered on?
I have an usb dac connected to my tinkerboard running dietpi, and these are the outputs on my side:

dietpi@dietpi-living-desktop:~$ cat /proc/asound/cards
 0 [OnBoard        ]: USB-Audio - USB Audio OnBoard
                      Generic USB Audio OnBoard at usb-ff500000.usb-1, high speed
 1 [HDMI           ]: simple-card - HDMI
                      HDMI
 2 [DAC            ]: USB-Audio - X1S USB DAC
                      aune X1S USB DAC at usb-ff540000.usb-1.1, high speed
dietpi@dietpi-living-desktop:~$ aplay -l
**** List of PLAYBACK Hardware Devices ****
card 0: OnBoard [USB Audio OnBoard], device 0: USB Audio [USB Audio]
  Subdevices: 1/1
  Subdevice #0: subdevice #0
card 0: OnBoard [USB Audio OnBoard], device 1: USB Audio [USB Audio #1]
  Subdevices: 1/1
  Subdevice #0: subdevice #0
card 0: OnBoard [USB Audio OnBoard], device 2: USB Audio [USB Audio #2]
  Subdevices: 1/1
  Subdevice #0: subdevice #0
card 1: HDMI [HDMI], device 0: ff890000.i2s-i2s-hifi i2s-hifi-0 [ff890000.i2s-i2s-hifi i2s-hifi-0]
  Subdevices: 1/1
  Subdevice #0: subdevice #0
card 2: DAC [X1S USB DAC], device 0: USB Audio [USB Audio]
  Subdevices: 1/1
  Subdevice #0: subdevice #0

First of all, we need to verify this step. Under this situation it is pretty expected that tidal connect isn't working.
Let me know if this helps.

@Adryan72
Copy link
Author

did the following:

sudo apt install uhubctl
cd
sudo uhubctl

Current status for hub 4 [1d6b:0003 Linux 6.6.62+rpt-rpi-v8 xhci-hcd xHCI Host Controller xhci-hcd.1, USB 3.00, 1 ports, ppps]
Port 1: 02a0 power 5gbps Rx.Detect
Current status for hub 3 [1d6b:0002 Linux 6.6.62+rpt-rpi-v8 xhci-hcd xHCI Host Controller xhci-hcd.1, USB 2.00, 2 ports, ppps]
Port 1: 0100 power
Port 2: 0100 power
Current status for hub 2 [1d6b:0003 Linux 6.6.62+rpt-rpi-v8 xhci-hcd xHCI Host Controller xhci-hcd.0, USB 3.00, 1 ports, ppps]
Port 1: 02a0 power 5gbps Rx.Detect
Current status for hub 1 [1d6b:0002 Linux 6.6.62+rpt-rpi-v8 xhci-hcd xHCI Host Controller xhci-hcd.0, USB 2.00, 2 ports, ppps]
Port 1: 0100 power
Port 2: 0100 power

I'll contact Hypex tomorrow. perhaps there is something wrong with their dac?

@GioF71
Copy link
Owner

GioF71 commented Jan 21, 2025

sudo uhubctl

Mine return this output:

dietpi@dietpi-living-desktop:~$ sudo uhubctl
Current status for hub 2 [1d6b:0002 Linux 6.6.54-current-rockchip dwc2_hsotg DWC OTG Controller ff580000.usb, USB 2.00, 1 ports, ppps]
  Port 1: 0000 off
Current status for hub 1 [1d6b:0002 Linux 6.6.54-current-rockchip dwc2_hsotg DWC OTG Controller ff540000.usb, USB 2.00, 1 ports, ppps]
  Port 1: 0503 power highspeed enable connect [05e3:0610 USB2.0 Hub, USB 2.00, 4 ports, ganged]
Current status for hub 3 [1d6b:0002 Linux 6.6.54-current-rockchip ehci_hcd EHCI Host Controller ff500000.usb, USB 2.00, 1 ports, ppps]
  Port 1: 0503 power highspeed enable connect [0bda:481a Generic USB Audio 201405280001]

But don't understand a lot of this honestly.

I'll contact Hypex tomorrow. perhaps there is something wrong with their dac?

I don't know... I don't know their product.
One thing to check is if your pi5 has enough power. You can execute this simple test:

vcgencmd get_throttled

@Adryan72
Copy link
Author

finally some results!
at least Moode is playing now!
...now we need to figure out the Tidal :=)

adryan@Raspberrypi:~ $ cat /proc/asound/cards
0 [D20 ]: USB-Audio - DIY PreAmplifier USB Audio 2.0
HYPEX DIY PreAmplifier USB Audio 2.0 at usb-xhci-hcd.0-1, high speed
1 [vc4hdmi0 ]: vc4-hdmi - vc4-hdmi-0
vc4-hdmi-0
2 [vc4hdmi1 ]: vc4-hdmi - vc4-hdmi-1

adryan@Raspberrypi:~ $ aplay -l
**** List of PLAYBACK Hardware Devices ****
card 0: D20 [DIY PreAmplifier USB Audio 2.0], device 0: USB Audio [USB Audio]
Subdevices: 0/1
Subdevice #0: subdevice #0
card 1: vc4hdmi0 [vc4-hdmi-0], device 0: MAI PCM i2s-hifi-0 [MAI PCM i2s-hifi-0]
Subdevices: 1/1
Subdevice #0: subdevice #0
card 2: vc4hdmi1 [vc4-hdmi-1], device 0: MAI PCM i2s-hifi-0 [MAI PCM i2s-hifi-0]
Subdevices: 1/1
Subdevice #0: subdevice #0

@GioF71
Copy link
Owner

GioF71 commented Jan 22, 2025

Good to know, what was the issue?
Anyway looking at that output, your should just replace CARD_NAME=DAC with CARD_NAME=D20 and recreate the container using

docker-compose up -d --force-recreate

--force-recreate should not be needed because the env file changes, but let's keep the command in history so we are sure the container is recreated

@Adryan72
Copy link
Author

did the changes, output seems ok, but still no tidal connect available...
something else we can check?

adryan@Raspberrypi:~ $ aplay -l
**** List of PLAYBACK Hardware Devices ****
card 0: D20 [DIY PreAmplifier USB Audio 2.0], device 0: USB Audio [USB Audio]
Subdevices: 1/1
Subdevice #0: subdevice #0
card 1: vc4hdmi0 [vc4-hdmi-0], device 0: MAI PCM i2s-hifi-0 [MAI PCM i2s-hifi-0]
Subdevices: 1/1
Subdevice #0: subdevice #0
card 2: vc4hdmi1 [vc4-hdmi-1], device 0: MAI PCM i2s-hifi-0 [MAI PCM i2s-hifi-0]
Subdevices: 1/1
Subdevice #0: subdevice #0

adryan@Raspberrypi:~ $ cat ~/tidal-connect/.env
FRIENDLY_NAME=Hypex CLASSD PreDIGin
MODEL_NAME=Raspberry pi5 4GB
CARD_NAME=D20

@Adryan72
Copy link
Author

do I perhaps have to make some specific settings in Moode for the Todal connect to work?

I try with my Iphone,using the Tidal app, if I can find the streamer as output device.
Only iphone and Airplay&Bluetooth are visible

@GioF71
Copy link
Owner

GioF71 commented Jan 22, 2025

One user had an issue with multi word friendly name, maybe try something simple first.
Also please post the output of

docker-compose logs -f

@GioF71
Copy link
Owner

GioF71 commented Jan 22, 2025

do I perhaps have to make some specific settings in Moode for the Todal connect to work?

No, they are independent. The only thing is that of course they share the audio device, so don't play anything on the DAC when the tidal-connect container is about to start.

@Adryan72
Copy link
Author

adryan@Raspberrypi:~ $ cd $HOME/tidal-connect
adryan@Raspberrypi:~/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.8
tidal-connect | Tidal Connect - https://github.com/GioF71/tidal-connect.git - common.sh version 0.1.7
tidal-connect | FRIENDLY_NAME=Hypex CLASSD PreDIGin
tidal-connect | MODEL_NAME=Raspberry pi5 4GB
tidal-connect | MQA_CODEC=false
tidal-connect | MQA_PASSTHROUGH=false
tidal-connect | CARD_NAME=D20
tidal-connect | CARD_INDEX=
tidal-connect | CARD_DEVICE=
tidal-connect | CARD_FORMAT=
tidal-connect | CREATED_ASOUND_CARD_NAME=
tidal-connect | ENABLE_SOFTVOLUME=yes
tidal-connect | ENABLE_GENERATED_TONE=yes
tidal-connect | ASOUND_FILE_PREFIX=
tidal-connect | FORCE_PLAYBACK_DEVICE=
tidal-connect | SLEEP_TIME_SEC=3
tidal-connect | RESTART_ON_FAIL=1
tidal-connect | RESTART_WAIT_SEC=10
tidal-connect | CLIENT_ID=
tidal-connect | LOG_LEVEL=3
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=[D20]
tidal-connect | Found audio device [D20] as index [0]
tidal-connect | Entering write_audio_config with card_index=[0] ...
tidal-connect | Creating sound configuration file (card_index=[0], softvol=[yes]) ...
tidal-connect | Ok to enable softvolume, as no 'Master' control exists for the device at index [0]
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 0
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 | An user provided tidal_connect app was not found.
tidal-connect | An user provided tcon.crt was not found.
tidal-connect | certificate_path=[/app/ifi-tidal-release/id_certificate/IfiAudio_ZenStream.dat]
tidal-connect | Found library [/assets/custom/lib/], injecting to /usr/lib/ ...
tidal-connect | cp: cannot stat '/assets/custom/lib/
': No such file or directory
tidal-connect | Found library [/assets/custom/lib-arm-linux-gnueabihf/], injecting to /lib/arm-linux-gnueabihf/...
tidal-connect | cp: cannot stat '/assets/custom/lib-arm-linux-gnueabihf/
': No such file or directory
tidal-connect | User did not provide a CLIENT_ID.
tidal-connect | COMMAND_LINE=/app/ifi-tidal-release/bin/tidal_connect_application --tc-certificate-path /app/ifi-tidal-release/id_certificate/IfiAudio_ZenStream.dat --playback-device tidal-softvol -f "Hypex CLASSD PreDIGin" --model-name "Raspberry pi5 4GB" --codec-mpegh true --codec-mqa false --disable-app-security false --disable-web-security true --enable-mqa-passthrough false --log-level 3 --enable-websocket-log "0"
tidal-connect | Trying a short tone @ 48kHz ...
tidal-connect | Playing WAVE '/assets/audio/short-low-tone-48k.wav' : Signed 16 bit Little Endian, Rate 48000 Hz, Stereo
tidal-connect | Success with 48 kHz tone.
tidal-connect | tone_played=[1]
tidal-connect | Starting TIDAL Connect ...
tidal-connect | STARTING TidalConnect services, version: 1.1.3
tidal-connect | ALSA lib pcm_dsnoop.c:618:(snd_pcm_dsnoop_open) unable to open slave
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 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 | ALSA lib pcm_dsnoop.c:618:(snd_pcm_dsnoop_open) unable to open slave
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 | [2025-01-22 11:46:33.041] [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.8
tidal-connect | Tidal Connect - https://github.com/GioF71/tidal-connect.git - common.sh version 0.1.7
tidal-connect | FRIENDLY_NAME=Hypex CLASSD PreDIGin
tidal-connect | MODEL_NAME=Raspberry pi5 4GB
tidal-connect | MQA_CODEC=false
tidal-connect | MQA_PASSTHROUGH=false
tidal-connect | CARD_NAME=D20
tidal-connect | CARD_INDEX=
tidal-connect | CARD_DEVICE=
tidal-connect | CARD_FORMAT=
tidal-connect | CREATED_ASOUND_CARD_NAME=
tidal-connect | ENABLE_SOFTVOLUME=yes
tidal-connect | ENABLE_GENERATED_TONE=yes
tidal-connect | ASOUND_FILE_PREFIX=
tidal-connect | FORCE_PLAYBACK_DEVICE=
tidal-connect | SLEEP_TIME_SEC=3
tidal-connect | RESTART_ON_FAIL=1
tidal-connect | RESTART_WAIT_SEC=10
tidal-connect | CLIENT_ID=
tidal-connect | LOG_LEVEL=3
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.tidal-audio-device {
tidal-connect | type plug
tidal-connect | slave.pcm {
tidal-connect | type hw
tidal-connect | card 0
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 | Entering write_asound_if_needed ...
tidal-connect | Specified CARD_NAME=[D20]
tidal-connect | Found audio device [D20] as index [0]
tidal-connect | Entering write_audio_config with card_index=[0] ...
tidal-connect | Creating sound configuration file (card_index=[0], softvol=[yes]) ...
tidal-connect | check_master=[numid=3,iface=MIXER,name='Master']
tidal-connect | A control named [Master] already exists for the device at index [0]
tidal-connect | A softvolume control will be created for the device at index [0] using name [SoftMaster]
tidal-connect | WARNING Tidal volume slider might act on the hardware volume control
tidal-connect | WARNING If you don't want this, consider disabling software volume
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 0
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 "SoftMaster"
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 | An user provided tidal_connect app was not found.
tidal-connect | An user provided tcon.crt was not found.
tidal-connect | certificate_path=[/app/ifi-tidal-release/id_certificate/IfiAudio_ZenStream.dat]
tidal-connect | Found library [/assets/custom/lib/], injecting to /usr/lib/ ...
tidal-connect | cp: cannot stat '/assets/custom/lib/
': No such file or directory
tidal-connect | Found library [/assets/custom/lib-arm-linux-gnueabihf/], injecting to /lib/arm-linux-gnueabihf/...
tidal-connect | cp: cannot stat '/assets/custom/lib-arm-linux-gnueabihf/
': No such file or directory
tidal-connect | User did not provide a CLIENT_ID.
tidal-connect | COMMAND_LINE=/app/ifi-tidal-release/bin/tidal_connect_application --tc-certificate-path /app/ifi-tidal-release/id_certificate/IfiAudio_ZenStream.dat --playback-device tidal-softvol -f "Hypex CLASSD PreDIGin" --model-name "Raspberry pi5 4GB" --codec-mpegh true --codec-mqa false --disable-app-security false --disable-web-security true --enable-mqa-passthrough false --log-level 3 --enable-websocket-log "0"
tidal-connect | Trying a short tone @ 48kHz ...
tidal-connect | Playing WAVE '/assets/audio/short-low-tone-48k.wav' : Signed 16 bit Little Endian, Rate 48000 Hz, Stereo
tidal-connect | Success with 48 kHz tone.
tidal-connect | tone_played=[1]
tidal-connect | Starting TIDAL Connect ...
tidal-connect | STARTING TidalConnect services, version: 1.1.3
tidal-connect | ALSA lib pcm_dsnoop.c:618:(snd_pcm_dsnoop_open) unable to open slave
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 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 | ALSA lib pcm_dsnoop.c:618:(snd_pcm_dsnoop_open) unable to open slave
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.

@Adryan72
Copy link
Author

thank you for taking the time to find out whats wrong!!

@GioF71
Copy link
Owner

GioF71 commented Jan 22, 2025 via email

@Adryan72
Copy link
Author

nono....stil doesnt run, tried the friendly name..but no luck

@Adryan72
Copy link
Author

can you see anything in the
docker-compose logs -f

??

@GioF71
Copy link
Owner

GioF71 commented Jan 22, 2025

Well it seems to be running properly. Are your phone and your device in the same network?

@Adryan72
Copy link
Author

adryan@Raspberrypi:~/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.8
tidal-connect | Tidal Connect - https://github.com/GioF71/tidal-connect.git - common.sh version 0.1.7
tidal-connect | FRIENDLY_NAME=PreDIGin
tidal-connect | MODEL_NAME=Raspberry pi5 4GB
tidal-connect | MQA_CODEC=false
tidal-connect | MQA_PASSTHROUGH=false
tidal-connect | CARD_NAME=D20
tidal-connect | CARD_INDEX=
tidal-connect | CARD_DEVICE=
tidal-connect | CARD_FORMAT=
tidal-connect | CREATED_ASOUND_CARD_NAME=
tidal-connect | ENABLE_SOFTVOLUME=yes
tidal-connect | ENABLE_GENERATED_TONE=yes
tidal-connect | ASOUND_FILE_PREFIX=
tidal-connect | FORCE_PLAYBACK_DEVICE=
tidal-connect | SLEEP_TIME_SEC=3
tidal-connect | RESTART_ON_FAIL=1
tidal-connect | RESTART_WAIT_SEC=10
tidal-connect | CLIENT_ID=
tidal-connect | LOG_LEVEL=3
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=[D20]
tidal-connect | Found audio device [D20] as index [0]
tidal-connect | Entering write_audio_config with card_index=[0] ...
tidal-connect | Creating sound configuration file (card_index=[0], softvol=[y es]) ...
tidal-connect | check_master=[numid=3,iface=MIXER,name='Master']
tidal-connect | A control named [Master] already exists for the device at ind ex [0]
tidal-connect | A softvolume control will be created for the device at index [0] using name [SoftMaster]
tidal-connect | WARNING Tidal volume slider might act on the hardware volum e control
tidal-connect | WARNING If you don't want this, consider disabling software volume
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 0
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 "SoftMaster"
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 | An user provided tidal_connect app was not found.
tidal-connect | An user provided tcon.crt was not found.
tidal-connect | certificate_path=[/app/ifi-tidal-release/id_certificate/IfiAu dio_ZenStream.dat]
tidal-connect | Found library [/assets/custom/lib/], injecting to /usr/lib/ ...
tidal-connect | cp: cannot stat '/assets/custom/lib/
': No such file or direc tory
tidal-connect | Found library [/assets/custom/lib-arm-linux-gnueabihf/], inj ecting to /lib/arm-linux-gnueabihf/...
tidal-connect | cp: cannot stat '/assets/custom/lib-arm-linux-gnueabihf/
': N o such file or directory
tidal-connect | User did not provide a CLIENT_ID.
tidal-connect | COMMAND_LINE=/app/ifi-tidal-release/bin/tidal_connect_applica tion --tc-certificate-path /app/ifi-tidal-release/id_certificate/IfiAud io_ZenStream.dat --playback-device tidal-softvol -f "PreDIGin" --model-name "Raspberry pi5 4GB" --codec-mpegh true --codec-mqa false --disable-app-security false --disable-web-s ecurity true --enable-mqa-passthrough false --log-level 3 --enable-websocket-log "0"
tidal-connect | Trying a short tone @ 48kHz ...
tidal-connect | Playing WAVE '/assets/audio/short-low-tone-48k.wav' : Signed 16 bit Little Endian, Rate 48000 Hz, Stereo
tidal-connect | Success with 48 kHz tone.
tidal-connect | tone_played=[1]
tidal-connect | Starting TIDAL Connect ...
tidal-connect | STARTING TidalConnect services, version: 1.1.3
tidal-connect | ALSA lib pcm_dsnoop.c:618:(snd_pcm_dsnoop_open) unable to ope n slave
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 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 | ALSA lib pcm_dsnoop.c:618:(snd_pcm_dsnoop_open) unable to ope n slave
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.

@Adryan72
Copy link
Author

this is the latest file

@Adryan72
Copy link
Author

one thing I forget...after running the command : docker-compose logs -f
the command promt doesnt come back in Putty...so the session "stalls"...
do you understand what I mean? I have to close the session if I want to continue

@GioF71
Copy link
Owner

GioF71 commented Jan 22, 2025

one thing I forget...after running the command : docker-compose logs -f the command promt doesnt come back in Putty...so the session "stalls"... do you understand what I mean? I have to close the session if I want to continue

yes, it keeps watching for new lines in the container log. You can exit using CTRL-C, or avoid the "-f" parameter

@Adryan72
Copy link
Author

...another update :=)

on the Ipad the tidal connect works!!...however on the iphone 15 pro it doesn't ..???

Is this a network problem?

@GioF71
Copy link
Owner

GioF71 commented Jan 22, 2025

Cool! I don't have an idea why it does not work on iPhone 15... but I'm glad it works.
I force-pushed (had-to...) some changes, that should avoid some spurious (but harmless) errors. Can you try to update the repo?

@Adryan72
Copy link
Author

is this the correct methode?

cd $HOME/tidal-connect
git pull origin https://github.com/GioF71/tidal-connect.git

@GioF71
Copy link
Owner

GioF71 commented Jan 22, 2025

It might not because of the first push. Can you keep track of your .env and clone the repo again?
Be careful to not lose your .env file

@Adryan72
Copy link
Author

Goodmorning!

Sorry but I don’t really understand. I think you’re telling me just to do a fresh new install, using the commands like in the beginning?

git clone https://github.com/GioF71/tidal-connect.git
cd $HOME/tidal-connect
git config pull.rebase false
git pull

???

@GioF71
Copy link
Owner

GioF71 commented Jan 23, 2025

yes but your don't have to do everything from scratch. Plus the image is not in the repository so it will be fast.
Do this:

cd ~/tidal-connect
docker-compose down
cp ~/tidal-connect/.env ~/my-tidal-connect.env
cd
mv ~/tidal-connect ~/tidal-connect-old
git clone https://github.com/GioF71/tidal-connect.git
cp ~/my-tidal-connect.env ~/tidal-connect/.env
cd ~/tidal-connect
docker-compose up -d

@Adryan72
Copy link
Author

Update successful,

I also found the problem with using the IPhone . In configuration-apps-tidal , local network was not allowed. Changed it and now it works!

How does it work with the repository , can you get a notification from GitHub if something has changed?

@GioF71
Copy link
Owner

GioF71 commented Jan 23, 2025

I am happy everything is ok now. Please star the repo if you like the work.
About notification, you are right.
Starting today, I will be adding a new tag when updating the scripts. So if there are simple changes to the README.md file, there will be no notification, but there should be a new tag for important changes.
You can subscribe the RSS feed here.
Let me know if this helps!

@GioF71
Copy link
Owner

GioF71 commented Jan 23, 2025

And thank you for the Ko-Fi :-)

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants