Tidal Connect is finally arrived. It works same way as Spotify Connect.
https://darko.audio/2020/10/tidal-connect-who-what-why/
When we can have Tidal Connect in HiFiberryOS? :)
Tidal Connect is finally arrived. It works same way as Spotify Connect.
https://darko.audio/2020/10/tidal-connect-who-what-why/
When we can have Tidal Connect in HiFiberryOS? :)
and spotify is working as expected!
carsten
Hi everyone,
Just released a new update as some people seemed to have issues if the playback device is not specified (and using default).
Now you will be able to set your playback device during installation and change afterwards via the 'select_playback_device.sh' script.
Note: When you update to this release, you must run the install_hifiberry.sh script to setup again. This will ensure the config file is created as expected.
As bonus i have added a couple of scripts for those who want to try/debug/play with the audio controller.
By default the audio controller is already running, but now you can interact with it using: show-audio.controller.sh, start-audio-controller.sh and stop-audio-controller.sh.
PS: I also made it easier to change setting. Just change the CONFIG file and restart the Tidal Service if you need to tweak more changes.
You can find the latest version here:
https://github.com/TonyTromp/tidal-connect-docker
Cheers,
Tony
Thanks for this awesome work Tony! I have an issue where my HiFiBerryOS devices only appear as "TidalConnect" 8n the Tidal app, i.e. they're not taking on the friendly name I set for this service.
Related, it looks as though your GirHub repo doesn't have issues enabled. Is that deliberate? I would have opened an issue rather than post here, as that seems the best place IMO.
Hi Ian,
I was not aware of the Git Issues option not beeing enabled and have enabled it now.
Can you try and log your issue now?
Thanks,
Tony
Hi, thanks for that, I will use it for future issues, however, the commits you just pushed in the last hour or so have fixed the issue for me! (typo in the entrypoint script)
Great news everyone.
I have started to work on the "audiocontrol2/ac/player/tidalcontrol.py" interface and so far i am finally booking progress.
Its not yet part of the installation yet, as it require more development.. But just wanted to share with you that this is on its way ;)
Hi Tony,
Many thanks for your great work! I have some problem after updating Tidal Service to your latest version. Can't connect to Hifiberry Os Tidal service from any device. Tidal Connect is running on Hifiberry OS, but is invisible for my all devices. I would be grateful for any suggestions on how to fix this problem...
Hi Zycho,
Can you provide a bit more information so i can check why its not working. As a quick way, can you run (from installation folder:
./stop-tidal-service.sh
./start-tidal-service.sh
1. Did you run the ./install_hifiberry script?
2. Which playback device did you select?
3. if you type 'docker ps' do you see tidalconnect container running?
4. what Hifiberry DAC do you use?
Please provide this information here: https://github.com/TonyTromp/tidal-connect-docker/issues
So we can track the defect/issue better.
Thanks,
Tony
Hi Tony,
Thanks for your reply. I'll put all needed information on github.
Thanks again,
Peter
Tony Tromp What is the update procedure ? or is it automatic ?
Thanks for your great work
Hi Tony,
Every time I try to run the ./install.sh command it returns this error:
-bash: ./install.sh: No such file or directory
I've tried installing in multiple ways but mainly through the git clone, following the instructions on the Github repo. Can you think if there's anything I've been doing wrong?
Update: I managed to install it using ./install_hifiberry.sh but I'm unable to connect to the Raspberry Pi. Tidal either lets me connect to it but then can't play the music or it doesn't appear on the list at all. So far I've tried options 1 and 2 on the output device (default and sysdefault) as I don't have a DAC yet and wanted to make sure that the software worked before I got one.
Are there any solutions to these problems?
Thanks
Monty - you've a RasPi trying to run HiFiBerryOS without a HiFiBerry DAC?
Have you considered the OS might work as designed if it sees the hardware it's designed to work with?
and then this Tidal addon will be just fine ;-)
It's that simple. Really. Or it was for me: RasPi 4b 4GB and DAC+ XLR
Hi Monty,
on the latest version the installation file is renamed to: ./install_hifiberry.sh
in favor to support multiple OS (which install scripts will be provided,).
On Linux the contents of a folder can be shown using the: ls command.
I will update the Readme documentation later tonight to reflect these changes.
Many thanks,
Tony
Gkusiak - Thanks for your reply, I've decided to order a DAC2 Pro so hopefully that should fix the problem - I had a hunch that it might be the case that not having the right DAC would cause it to fail so thanks for the confirmation :)
Tony - Thanks for your response, I managed to find the install_hifiberry command after searching through the tidal-connect-docker folder so I've managed to install it now. Thanks a lot for maintaining the project (and making sure command line novices like me are able to install and run it) :)
Hi Tony,
during installation I get an error that there is not enough space available.
The situation looks like this:
# df -h
Filesystem Size Used Avail Use% Mounted on
/dev/root 994M 805M 123M 87% /
devtmpfs 322M 0 322M 0% /dev
tmpfs 450M 4.0K 450M 1% /dev/shm
tmpfs 180M 4.2M 176M 3% /run
tmpfs 4.0M 0 4.0M 0% /sys/fs/cgroup
tmpfs 450M 20K 450M 1% /tmp
/dev/mmcblk0p1 32M 17M 16M 51% /boot
/dev/mmcblk0p4 57G 105M 54G 1% /data
Is there a way to free up space? Re-install? New memory card?
Any suggestions?
Best regards
Marcus
Marcus - it appears to me that you may need to re-size one/some of your partitions on that 64GB (?) SD card
try free up some space by clearing common logging folders from /var/log if there is something to win. also run: docker system prune. which would get rid of unused docker images in /var/lib/docker.
if you cant resize or upgrade to a bigger storage card for the OS (which should really be your first option), you can also set docker to store images and logging on the /data partition. which seems to be another drive on your system if i am correct. check out https://www.guguweb.com/2019/02/07/how-to-move-docker-data-directory-to-another-location-on-ubuntu/ . Its not for the faint hearted and not sure if you can rsync, else you need to install hifiberry afterwards. i typically move my docker images on other production servers i manage, but not for hifiberryOS, as this setting could be reverted after a upgrade by Hifiberry. but even then it would be simple to change the config line again.
Cereyanlı Musiki - The best upgrade procedure for now would be to do run:
git pull from within the folder. or if you copied the files manually, you can overwrite the folder.
then run: ./install_hifiberry.sh script.
Starting off by saying thank you so much for creating this. I am having an issue installing it.
Raspberry Pi 4 4 gb
HiFiBerry Digi+ Pro
The HifiberryOS is running quite well and has internet access
Here is the output:
# ./install_hifiberry.sh
Running environment:
FRIENDLY_NAME: hifiberrydef
MODEL_NAME: hifiberrydef
BEOCREATE_SYMLINK_FOLDER: /opt/beocreate/beo-extensions/tidal
DOCKER_DNS: 8.8.8.8
DOCKER_IMAGE: edgecrush3r/tidal-connect:latest
BUILD_OR_PULL: pull
MQA_PASSTHROUGH: false
MQA_CODEC: false
PWD: /data/tidal-connect-docker
Tue Feb 2 15:47:33 UTC 2021 hifiberrydef install_hifiberry.sh[1953]: [INFO]: Pre-flight checks.
Tue Feb 2 15:47:33 UTC 2021 hifiberrydef install_hifiberry.sh[1953]: [INFO]: Checking to see if Docker is running.
Tue Feb 2 15:47:33 UTC 2021 hifiberrydef install_hifiberry.sh[1953]: [INFO]: Confirmed that Docker daemon is running.
Tue Feb 2 15:47:33 UTC 2021 hifiberrydef install_hifiberry.sh[1953]: [INFO]: Checking to see if Docker image edgecrush3r/tidal-connect:latest exists.
Tue Feb 2 15:47:33 UTC 2021 hifiberrydef install_hifiberry.sh[1953]: [INFO]: Docker image edgecrush3r/tidal-connect:latest does not exist on local machine.
Tue Feb 2 15:47:33 UTC 2021 hifiberrydef install_hifiberry.sh[1953]: [INFO]: Pulling docker image edgecrush3r/tidal-connect:latest.
Error response from daemon: Get "https://registry-1.docker.io/v2/": dial tcp: lookup registry-1.docker.io: no such host
Tue Feb 2 15:47:34 UTC 2021 hifiberrydef install_hifiberry.sh[1953]: [INFO]: Finished pulling docker image edgecrush3r/tidal-connect:latest.
Tue Feb 2 15:47:34 UTC 2021 hifiberrydef install_hifiberry.sh[1953]: [ERROR]: Docker image edgecrush3r/tidal-connect:latest does not exist on the local machine even after we tried pulling it.
Tue Feb 2 15:47:34 UTC 2021 hifiberrydef install_hifiberry.sh[1953]: [ERROR]: Exiting.
I know in a response from earlier on, it was noted the RPI is not connected to the internet. This is connected as I had downloaded the .git moments before.
Anyone have any ideas? Thanks.
Hi DFelkar,
Looks like your rpi has internet issues. can you try and: ping google.com
see if that resolves any domain name for you?
Hi Tony,
I re-installed the Hifiberry OS and now your docker is working like a charm. Thanks for all your effort. Highly appreciated.
Marcus
Hello Tony,
Thanks for your help. I have gotten it to work now. Initially, I could not get the git to download due to an ssl error, I eventually ended up running the following command:
git config --global http.sslVerify false
Once I did that, i was able to download the git.
BUT, for some reason, I was not able to access the internet, as when I ran a ping, no results.
This morning, I set it back to true, and the ping worked.
I was able to successfully install. Thank you for your work on this.
-Derrick
Edit. Turns out my powered USB Hub was causing a variety of issues with my RPI4, once i removed it from the equation, I did a fresh hifiberryOS install, and Tidal Connect install, and all is well in the world. Thanks again.
Many thanks for this! Great addition.
Just a reminder, as of now, the README installation documentation do not include the ./install_hifiberry.sh
Nice to hear the audio control is under development. Keep on!
Hi DFelkar and meteria,
DFelkar i will run some tests on git with https, if i am getting same error i will definitely include your solution to the install script. Thanks!
materia Thanks for this feedback. I have updated the README documentation.
Hello Tony,
Thank you very much for your work on the Tidal Connect!
I just installed it from Github on my R.PI 4 with Hifiberry DAC 2 HD HAT and everything seemed OK. I saw the hifiberry tidal device in my Tidal android app. The music played for 10 seconds and then stopped. I tried to start and stop the tidal connect service repeatedly with the same result. Here is the log:
Starting Speaker Application in Background (TMUX)
Starting TIDAL Connect..
STARTING TidalConnect services, version: 1.1.3
ALSA lib pcm.c:2495:(snd_pcm_open_noupdate) Unknown PCM cards.pcm.front
ALSA lib pcm.c:2495:(snd_pcm_open_noupdate) Unknown PCM cards.pcm.rear
ALSA lib pcm.c:2495:(snd_pcm_open_noupdate) Unknown PCM cards.pcm.center_lfe
ALSA lib pcm.c:2495:(snd_pcm_open_noupdate) Unknown PCM cards.pcm.side
ALSA lib pcm.c:2495:(snd_pcm_open_noupdate) Unknown PCM cards.pcm.surround21
ALSA lib pcm.c:2495:(snd_pcm_open_noupdate) Unknown PCM cards.pcm.surround21
ALSA lib pcm.c:2495:(snd_pcm_open_noupdate) Unknown PCM cards.pcm.surround40
ALSA lib pcm.c:2495:(snd_pcm_open_noupdate) Unknown PCM cards.pcm.surround41
ALSA lib pcm.c:2495:(snd_pcm_open_noupdate) Unknown PCM cards.pcm.surround50
ALSA lib pcm.c:2495:(snd_pcm_open_noupdate) Unknown PCM cards.pcm.surround51
ALSA lib pcm.c:2495:(snd_pcm_open_noupdate) Unknown PCM cards.pcm.surround71
ALSA lib pcm.c:2495:(snd_pcm_open_noupdate) Unknown PCM cards.pcm.iec958
ALSA lib pcm.c:2495:(snd_pcm_open_noupdate) Unknown PCM cards.pcm.iec958
ALSA lib pcm.c:2495:(snd_pcm_open_noupdate) Unknown PCM cards.pcm.iec958
ALSA lib pcm.c:2495:(snd_pcm_open_noupdate) Unknown PCM cards.pcm.hdmi
ALSA lib pcm.c:2495:(snd_pcm_open_noupdate) Unknown PCM cards.pcm.hdmi
ALSA lib pcm.c:2495:(snd_pcm_open_noupdate) Unknown PCM cards.pcm.modem
ALSA lib pcm.c:2495:(snd_pcm_open_noupdate) Unknown PCM cards.pcm.modem
ALSA lib pcm.c:2495:(snd_pcm_open_noupdate) Unknown PCM cards.pcm.phoneline
ALSA lib pcm.c:2495:(snd_pcm_open_noupdate) Unknown PCM cards.pcm.phoneline
Cannot connect to server socket err = No such file or directory
Cannot connect to server request channel
jack server is not running or cannot be started
JackShmReadWritePtr::~JackShmReadWritePtr - Init not done for -1, skipping unlock
JackShmReadWritePtr::~JackShmReadWritePtr - Init not done for -1, skipping unlock
STARTED TidalConnect services.
[2022-02-23 18:57:51.100] [tisoc] [warning] [PlaybackControllerImpl.cpp:472] Illegal state:1
[2022-02-23 18:57:57.424] [tisoc] [warning] [logger.cpp:22] [audio_worker.cpp:321] Attempting to initialize a decoder without initial data!
[2022-02-23 18:58:03.133] [tisoc] [error] [logger.cpp:25] [operation_curl.cpp:258] curl_easy_perform failed: Timeout was reached - Resolving timed out after 5514 milliseconds
[2022-02-23 18:58:03.133] [tisoc] [error] [logger.cpp:25] [http_stream_fetcher.cpp:162] Content-Range is missing from response!
[2022-02-23 18:58:08.659] [tisoc] [error] [logger.cpp:25] [operation_curl.cpp:258] curl_easy_perform failed: Timeout was reached - Resolving timed out after 5514 milliseconds
[2022-02-23 18:58:08.659] [tisoc] [error] [logger.cpp:25] [http_stream_fetcher.cpp:162] Content-Range is missing from response!
[2022-02-23 18:58:15.726] [tisoc] [error] [logger.cpp:25] [operation_curl.cpp:258] curl_easy_perform failed: Timeout was reached - Resolving timed out after 5515 milliseconds
[2022-02-23 18:58:15.727] [tisoc] [error] [logger.cpp:25] [http_stream_fetcher.cpp:162] Content-Range is missing from response!
[2022-02-23 18:58:21.260] [tisoc] [error] [logger.cpp:25] [operation_curl.cpp:258] curl_easy_perform failed: Timeout was reached - Resolving timed out after 5514 milliseconds
[2022-02-23 18:58:21.260] [tisoc] [error] [logger.cpp:25] [http_stream_fetcher.cpp:162] Content-Range is missing from response!
[2022-02-23 18:58:26.794] [tisoc] [error] [logger.cpp:25] [operation_curl.cpp:258] curl_easy_perform failed: Timeout was reached - Resolving timed out after 5514 milliseconds
[2022-02-23 18:58:26.794] [tisoc] [error] [logger.cpp:25] [http_stream_fetcher.cpp:162] Content-Range is missing from response!
[2022-02-23 18:58:26.798] [tisoc] [warning] [logger.cpp:22] [audio_worker.cpp:288] Max connection attempts reached!
[2022-02-23 19:07:20] [info] asio async_shutdown error: asio.misc:2 (End of file)
[2022-02-23 19:07:20.585] [tisoc] [warning] [PlaybackControllerImpl.cpp:857] Not send NotifyMediaChanged(media_info is null)
Could you please advice what is wrong?
Thank you in advance!
Tony, I don't know why but this command doesn't work for me:
docker run --device /dev/snd \
-v /var/run/dbus:/var/run/dbus \
-v /var/run/avahi-daemon/socket:/var/run/avahi-daemon/socket \
--entrypoint "" \
edgecrush3r/tidal-connect /app/ifi-tidal-release/bin/ifi-pa-devs-get 2>/dev/null | grep device#
Do you know what could be the reason?
Hi Tony,
thank you very much for your work! Tidal connect is working very well with my set up and i appreciate it a lot!
I only have one problem when trying to reinstall tidal connect after a hifiberry os update I get the following error:
I got it working again by reinstalling hifiberry os but wanted to ask, if there is an easier solution.
Thanks in advance!
I could solve the problem by typing:
rm -r tidal-connect-docker
Thanks againg for sharing your work with us Tony!
Currently listening to Tidal on my RPi4 + Digi2 Pro! Thanks to Tony and the wonderful input on this forum.
A couple issues:
#1 I am using a Schiit Modi DAC. On some recordings (especially "Masters") there is high-frequency crackling which makes the recording unlistenable. It is obvious to even a non-critical listener. This occurs via optical or RCA digital outputs from the RPi4.
#2 Would love some way to change volume -- currently the only option is the analog knob on the amplifier. Just adding that as a wish--I understand that it may not be possible.
#3 I'm fairly comfortably with basic RPi command line usage, but I am totally lost on HifiBerry. I see people mentioning config files, uncommenting certain outputs, etc. However, anything I try at "#" seems to results in "command not found". Dir results in nothing. I have no idea how to access folders. What do I do if I want to see the files? Or edit them? I think it may be intentional, a design of HifiBerry.
For instance, someone said type "cd Docker" earlier. All I get is "-bash: cd: Docker: No such file or directory". Sorry to bore everyone with basic questions.
Thanks everyone!
The answer from Tidal :-)
Thanks for contacting TIDAL member support. My name is Anthony.
We are not offering this feature at this time, however, we will certainly keep your suggestion on file for future consideration! While I cannot provide an immediate response confirming the status of your request, please know that feedback like yours is truly appreciated and helps us shape TIDAL to fit the wants and needs of our members.
For answers to FAQs and more visit support.TIDAL.com.
Feel free to reach back out if you have any additional feedback.
Musically Yours,
Anthony
TIDAL Support