Giter VIP home page Giter VIP logo

Comments (84)

GioF71 avatar GioF71 commented on July 20, 2024 1

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 on...

from tidal-connect.

GioF71 avatar GioF71 commented on July 20, 2024 1

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!

from tidal-connect.

MattRimkus avatar MattRimkus commented on July 20, 2024 1

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

from tidal-connect.

MattRimkus avatar MattRimkus commented on July 20, 2024 1

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!

from tidal-connect.

GioF71 avatar GioF71 commented on July 20, 2024 1

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. User 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.

from tidal-connect.

GioF71 avatar GioF71 commented on July 20, 2024 1

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

from tidal-connect.

MattRimkus avatar MattRimkus commented on July 20, 2024 1

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?

from tidal-connect.

GioF71 avatar GioF71 commented on July 20, 2024 1

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!

from tidal-connect.

MattRimkus avatar MattRimkus commented on July 20, 2024 1

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

from tidal-connect.

MattRimkus avatar MattRimkus commented on July 20, 2024 1

I'm in your zone mate :-)

Don't use Discord though. Are there any other channels available?

from tidal-connect.

GioF71 avatar GioF71 commented on July 20, 2024 1

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

from tidal-connect.

MattRimkus avatar MattRimkus commented on July 20, 2024 1

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

from tidal-connect.

GioF71 avatar GioF71 commented on July 20, 2024

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

from tidal-connect.

MattRimkus avatar MattRimkus commented on July 20, 2024

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=[yes]) ...
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 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-03 08:38:15.958] [tisoc] [warning] [PlaybackControllerImpl.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=[yes]) ...
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 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-03 08:44:28.035] [tisoc] [warning] [PlaybackControllerImpl.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.system: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.system: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.system: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] [PlaybackControllerImpl.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] [PlaybackControllerImpl.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.system: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.system: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] [PlaybackControllerImpl.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

from tidal-connect.

GioF71 avatar GioF71 commented on July 20, 2024

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 here and a sample config page here

from tidal-connect.

GioF71 avatar GioF71 commented on July 20, 2024

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 -n Audio -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

from tidal-connect.

GioF71 avatar GioF71 commented on July 20, 2024

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

from tidal-connect.

MattRimkus avatar MattRimkus commented on July 20, 2024

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.

from tidal-connect.

GioF71 avatar GioF71 commented on July 20, 2024

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

from tidal-connect.

MattRimkus avatar MattRimkus commented on July 20, 2024

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)

from tidal-connect.

GioF71 avatar GioF71 commented on July 20, 2024

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?

from tidal-connect.

GioF71 avatar GioF71 commented on July 20, 2024

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

from tidal-connect.

MattRimkus avatar MattRimkus commented on July 20, 2024

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!! 🥇

from tidal-connect.

GioF71 avatar GioF71 commented on July 20, 2024

Ok S32_LE is not needed for your DAC clearly :-)

But isn't this command

./configure.sh -n Audio -f Couch -m "Raspberry Pi" -c "yes"

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 container restart if the variables have not changed. So I also generally prefer to always use this switch when running tidal connect.

from tidal-connect.

GioF71 avatar GioF71 commented on July 20, 2024

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

from tidal-connect.

MattRimkus avatar MattRimkus commented on July 20, 2024

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:127.0.0.1]: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

from tidal-connect.

GioF71 avatar GioF71 commented on July 20, 2024

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...

  1. Clone this repository:
cd $HOME
git clone https://github.com/GioF71/audio-tools.git
  1. Check you user id
id
  1. Check the audio group id:
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.

  1. 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
  1. After that, you should be able to start the container:
cd $HOME/audio-tools/players/mopidy-tidal
docker-compose up -d
  1. 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!

from tidal-connect.

GioF71 avatar GioF71 commented on July 20, 2024

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

from tidal-connect.

MattRimkus avatar MattRimkus commented on July 20, 2024

Wow man, you really rock... Thanks a lot for your guidance at stupid o' clock! 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!

from tidal-connect.

GioF71 avatar GioF71 commented on July 20, 2024

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

  1. building: you don't need to execute the build script: the images are already available online. But if one should clone or fork 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

  1. Probably the container didn't work because there is the mopidy server already running, although not reachable over your network but occupying the ports 6680 and 8989. 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
  1. Try to reach mopidy. 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.
    Replace "your-host" with the ip of the raspberry pi or the local network name of course.

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

from tidal-connect.

MattRimkus avatar MattRimkus commented on July 20, 2024

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'))

from tidal-connect.

GioF71 avatar GioF71 commented on July 20, 2024

Yeah... docker-compose seems to not be working. Try reinstalling it with

sudo apt-get install docker-compose

from tidal-connect.

MattRimkus avatar MattRimkus commented on July 20, 2024

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.

from tidal-connect.

GioF71 avatar GioF71 commented on July 20, 2024

So strange... Have you tried rebooting?

from tidal-connect.

MattRimkus avatar MattRimkus commented on July 20, 2024

Well, the oldest question in IT support history did indeed take us a step further... Not quite there yet though

matt@mopidy:~/audio-tools/players/mopidy-tidal $ docker-compose up -d --force-recreate
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 ...
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 0.0.0.0: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 0.0.0.0:6680: bind: address already in use
ERROR: Encountered errors while bringing up the project.

Do you think it's better so start over?

from tidal-connect.

GioF71 avatar GioF71 commented on July 20, 2024

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

from tidal-connect.

MattRimkus avatar MattRimkus commented on July 20, 2024

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?

Sorry for being extra dumb here...

from tidal-connect.

GioF71 avatar GioF71 commented on July 20, 2024

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 :-)

from tidal-connect.

MattRimkus avatar MattRimkus commented on July 20, 2024

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!

from tidal-connect.

GioF71 avatar GioF71 commented on July 20, 2024

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

from tidal-connect.

MattRimkus avatar MattRimkus commented on July 20, 2024

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...

from tidal-connect.

MattRimkus avatar MattRimkus commented on July 20, 2024

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?

from tidal-connect.

GioF71 avatar GioF71 commented on July 20, 2024

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!

Hurrah! :-)

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!

from tidal-connect.

MattRimkus avatar MattRimkus commented on July 20, 2024

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

from tidal-connect.

GioF71 avatar GioF71 commented on July 20, 2024

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

from tidal-connect.

GioF71 avatar GioF71 commented on July 20, 2024

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!

from tidal-connect.

MattRimkus avatar MattRimkus commented on July 20, 2024

Hi,

I don't really dig the aesthetics of Mopidy or rather the complete lack thereof... It's plain ugly and immediately kicked me back to 2005 :-D

Actually I quite like the Tidal app on mobile and desktop having just migrated from Spotify which has become completely overloaded and unbearable UI-wise...

Also I don't rely on the recommendation system that much because I curate my own collection in genres far from the mainstream where it is actually decent and pretty accurate, again way better than Spotify.

Kind regards,
Matt

from tidal-connect.

GioF71 avatar GioF71 commented on July 20, 2024

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

from tidal-connect.

MattRimkus avatar MattRimkus commented on July 20, 2024

I'm on Android, MacOS and Windows...

And I'd like to stick to Tidal Connect in order to keep things as sleek as possible.

If it weren't just another expensive subscription I'd happily use Volumio, but software subscriptions have really been getting out of hand lately... While I do accept one off payments I try to avoid subscriptions as best as I can...

from tidal-connect.

GioF71 avatar GioF71 commented on July 20, 2024

Ok if you want I'd like to show you what you can do with BubbleUPnP along with Tidal, there is a one-time payment for the license in order to avoid limitations and maybe ads (disclaimer: I am NOT the author of that application).
The play store does not show the price as I already bought (don't know why not wanting to show the price), but I remember it to be well under 10€. I'm interested in hearing other opinions... I consider mopidy usable for my use-case, but I understand your considerations.
My timezone is Europe/Rome, what's yours? Can we arrange a short meeting on Discord or something similar?

from tidal-connect.

GioF71 avatar GioF71 commented on July 20, 2024

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?

from tidal-connect.

GioF71 avatar GioF71 commented on July 20, 2024

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. I say this because I assume you would be using something like this with your DAC via Optical or Coaxial.
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.

from tidal-connect.

MattRimkus avatar MattRimkus commented on July 20, 2024

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...

20240317_102909

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.

from tidal-connect.

GioF71 avatar GioF71 commented on July 20, 2024

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.

from tidal-connect.

GioF71 avatar GioF71 commented on July 20, 2024

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

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.