GioF71 / tidal-connect

Simple script for configuring Tidal Connect with Docker (also on Volumio, moOde, OSMC)
MIT License
76 stars 6 forks source link

Play on rAudio: [WebsocketServer Start Error] Address family not supported by protocol #21

Closed lovehifi closed 11 months ago

lovehifi commented 1 year ago

Please help me check! Cannot connect to rAudio (Pi 4) rAudio: https://github.com/rern/rAudio

Get log: [WebsocketServer Start Error] Address family not supported by protocol

rAudio:~/tidal-connect # time nslookup tidal.com Server: 192.168.11.1 Address: 192.168.11.1#53

Non-authoritative answer: Name: tidal.com Address: 13.35.166.34 Name: tidal.com Address: 13.35.166.55 Name: tidal.com Address: 13.35.166.123 Name: tidal.com Address: 13.35.166.88 ;; ;; Question section mismatch: got 34.166.35.13.in-addr.arpa/PTR/IN ;; communications error to 192.168.11.1#53: timed out ;; ;; Question section mismatch: got 34.166.35.13.in-addr.arpa/PTR/IN ;; communications error to 192.168.11.1#53: timed out ;; ;; Question section mismatch: got 34.166.35.13.in-addr.arpa/PTR/IN ;; communications error to 192.168.11.1#53: timed out ;; no servers could be reached

real 0m15.400s user 0m0.028s sys 0m0.033s

rAudio:~/tidal-connect # cat /proc/asound/cards 0 [sndrpirpidac ]: RPi-simple - snd_rpi_rpi_dac snd_rpi_rpi_dac

rAudio:~/tidal-connect # ./configure.sh -i 0 -f "Pi4" -m "Pi 4 rAudio" card_index=[0] card_name=[] Setting FRIENDLY_NAME to [Pi4] Setting MODEL_NAME to [Pi 4 rAudio] MQA_CODEC not specified MQA_PASSTHROUGH not specified SLEEP_TIME_SEC not specified DNS_SERVER_LIST not specified Setting CARD_INDEX to [0]

Final .env file:

FRIENDLY_NAME=Pi4 MODEL_NAME=Pi 4 rAudio CARD_INDEX=0 CARD_NAME=NOT_SET rAudio:~/tidal-connect # docker-compose up -d [+] Running 1/1 ✔ Container tidal-connect Started

                                                                                                                                              0.2s

rAudio:~/tidal-connect # docker-compose logs tidal-connect | FRIENDLY_NAME=Pi4 tidal-connect | MODEL_NAME=Pi 4 rAudio tidal-connect | MQA_CODEC=false tidal-connect | MQA_PASSTHROUGH=false tidal-connect | CARD_NAME=NOT_SET tidal-connect | CARD_INDEX=0 tidal-connect | Set card_index=[0] tidal-connect | Creating sound configuration file (card_index=0)... tidal-connect | Sound configuration file created. tidal-connect | defaults.pcm.card 0 tidal-connect | pcm.!default { tidal-connect | type plug tidal-connect | slave.pcm hw tidal-connect | } tidal-connect | Starting Speaker Application in Background (TMUX) tidal-connect | Sleeping for a while (3 seconds)... tidal-connect | Starting TIDAL Connect ... tidal-connect | STARTING TidalConnect services, version: 1.1.3 tidal-connect | Expression 'GetExactSampleRate( hwParams, &defaultSr )' failed in 'src/hostapi/alsa/pa_linux_alsa.c', line: 895 tidal-connect | ALSA lib pcm.c:2495:(snd_pcm_open_noupdate) Unknown PCM cards.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 pcm.c:2495:(snd_pcm_open_noupdate) Unknown PCM cards.pcm.surround21 tidal-connect | ALSA lib pcm.c:2495:(snd_pcm_open_noupdate) Unknown PCM cards.pcm.surround21 tidal-connect | ALSA lib pcm.c:2495:(snd_pcm_open_noupdate) Unknown PCM cards.pcm.surround40 tidal-connect | ALSA lib pcm.c:2495:(snd_pcm_open_noupdate) Unknown PCM cards.pcm.surround41 tidal-connect | ALSA lib pcm.c:2495:(snd_pcm_open_noupdate) Unknown PCM cards.pcm.surround50 tidal-connect | ALSA lib pcm.c:2495:(snd_pcm_open_noupdate) Unknown PCM cards.pcm.surround51 tidal-connect | ALSA lib pcm.c:2495:(snd_pcm_open_noupdate) Unknown PCM cards.pcm.surround71 tidal-connect | ALSA lib pcm.c:2495:(snd_pcm_open_noupdate) Unknown PCM cards.pcm.iec958 tidal-connect | ALSA lib pcm.c:2495:(snd_pcm_open_noupdate) Unknown PCM cards.pcm.iec958 tidal-connect | ALSA lib pcm.c:2495:(snd_pcm_open_noupdate) Unknown PCM cards.pcm.iec958 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 | [2023-08-31 04:12:00.571] [tisoc] [critical] [DeviceInfo.cpp:56] ioctl error. ret=-1, errno="No such device" tidal-connect | [2023-08-31 04:12:00.571] [tisoc] [critical] [DeviceInfo.cpp:57] [ASSERT] generateDeviceId(0) tidal-connect | [2023-08-31 04:12:00] [info] asio listen error: asio.system:97 (Address family not supported by protocol) tidal-connect | [2023-08-31 04:12:00.592] [tisoc] [error] [WebsocketServer.hpp:67] [WebsocketServer Start Error] Address family not supported by protocol tidal-connect | STARTED TidalConnect services.

GioF71 commented 1 year ago

Hello, I understand from the github repo that rAudio is based on Arch Linux Arm, which I never tried. Just to exclude other issues, can you try tidal-connect on your pi with RasperryPi OS? Using 32 or 64 bit is your choice, the underlying image is 32bit anyway. I am currently using 64 like another user who posted a (solved) issue a few weeks ago. If this works, we can investigate your specific configuration/setup.

Thank you

lovehifi commented 1 year ago

I will try on Volumio 32bit.

And more question, how can I set config to degault--playback-device "default". Not use CARD_INDEX number.

GioF71 commented 1 year ago

Hello, Volumio afaik is still on debian buster (quite old now), but still it should work as long as you get docker and docker-compose installed.

About the question, can you show me, in a scenario with more that one card, how should I configure for the selection of "default". In the end I need to put an index to the custom asound.conf file that is generated when the container starts. Just asking so I am sure I understand what you need.

lovehifi commented 1 year ago

Volumio 3.449 work Ok, I will make new SD Card rAudio and recheck.

Attaching to tidal-connect tidal-connect | FRIENDLY_NAME=TC Connect tidal-connect | MODEL_NAME=Pi4 tidal-connect | MQA_CODEC=false tidal-connect | MQA_PASSTHROUGH=false tidal-connect | CARD_NAME=NOT_SET tidal-connect | CARD_INDEX=2 tidal-connect | BEFORE tidal-connect | defaults.pcm.card 2 tidal-connect | pcm.!default { tidal-connect | type plug tidal-connect | slave.pcm hw tidal-connect | } tidal-connect | Set card_index=[2] tidal-connect | Creating sound configuration file (card_index=2)... tidal-connect | Sound configuration file created. tidal-connect | defaults.pcm.card 2 tidal-connect | pcm.!default { tidal-connect | type plug tidal-connect | slave.pcm hw tidal-connect | } tidal-connect | Starting Speaker Application in Background (TMUX) tidal-connect | Sleeping for a while (3 seconds)... tidal-connect | Starting TIDAL Connect ... tidal-connect | STARTING TidalConnect services, version: 1.1.3 tidal-connect | ALSA lib pcm.c:2495:(snd_pcm_open_noupdate) Unknown PCM cards.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 pcm.c:2495:(snd_pcm_open_noupdate) Unknown PCM cards.pcm.surround21 tidal-connect | ALSA lib pcm.c:2495:(snd_pcm_open_noupdate) Unknown PCM cards.pcm.surround21 tidal-connect | ALSA lib pcm.c:2495:(snd_pcm_open_noupdate) Unknown PCM cards.pcm.surround40 tidal-connect | ALSA lib pcm.c:2495:(snd_pcm_open_noupdate) Unknown PCM cards.pcm.surround41 tidal-connect | ALSA lib pcm.c:2495:(snd_pcm_open_noupdate) Unknown PCM cards.pcm.surround50 tidal-connect | ALSA lib pcm.c:2495:(snd_pcm_open_noupdate) Unknown PCM cards.pcm.surround51 tidal-connect | ALSA lib pcm.c:2495:(snd_pcm_open_noupdate) Unknown PCM cards.pcm.surround71 tidal-connect | ALSA lib pcm.c:2495:(snd_pcm_open_noupdate) Unknown PCM cards.pcm.iec958 tidal-connect | ALSA lib pcm.c:2495:(snd_pcm_open_noupdate) Unknown PCM cards.pcm.iec958 tidal-connect | ALSA lib pcm.c:2495:(snd_pcm_open_noupdate) Unknown PCM cards.pcm.iec958 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_dmix.c:1052:(snd_pcm_dmix_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 | Could not find device: 'default'. Fallback to default device tidal-connect | Valid devices are: 'bcm2835 HDMI 1: - (hw:0,0)' 'bcm2835 Headphones: - (hw:1,0)' tidal-connect | STARTED TidalConnect services.

GioF71 commented 1 year ago

ok good... will be waiting

GioF71 commented 1 year ago

Hello, do you have further information to share? About using the default audio card, can you please have a look at this branch? I have tested it and it seems to work, I will be probably bring this change to the main branch soon, but if would be nice if you can have a look at this in advance. Thank you

GioF71 commented 1 year ago

Hello, I just renewed Tidal for this month and tested the change, it's on the main branch now.

Maverick565 commented 1 year ago

I will try on Volumio 32bit.

And more question, how can I set config to degault--playback-device "default". Not use CARD_INDEX number.

Yes, it's working for me on volumio.

GioF71 commented 1 year ago

Good to hear... but did you solve the issue when running on rAudio?

GioF71 commented 11 months ago

Hello, can you please give a feedback about this issue? Thank you.

lovehifi commented 11 months ago

I can't run Tidal Connect with rAudio 64-bit, even when I add it directly (without using Docker) on rAudio 32-bit. All the libraries are available, but it still reports a WebSocket error. Sorry for the late response!

GioF71 commented 11 months ago

Is there a way for me to try and reproduce the issue? Thank you

lovehifi commented 11 months ago

I believe the rAudio kernel does not support IPv6 or is not configured for IPv6, leading to the Tidal Connect error:

asio listen error: asio.system:97 (Address family not supported by protocol)

[WebsocketServer.hpp:67] [WebsocketServer Start Error] Address family not supported by protocol

lovehifi commented 11 months ago

ping6 ipv6.google.com ping: ipv6.google.com: No address associated with hostname)

GioF71 commented 11 months ago

Ok, maybe you can try disabling IPv6 in sysctl.conf. You can try adding the following lines:

net.ipv6.conf.all.disable_ipv6 = 1
net.ipv6.conf.default.disable_ipv6 = 1
net.ipv6.conf.lo.disable_ipv6 = 1

Then

sudo sysctl -p

Maybe this can help, if disabling IPv6 is acceptable on your solution.

lovehifi commented 11 months ago

Sorry for my unclear writing. rAudio doesn't support ipv6, so I believe Tidal Connect isn't working correctly. I tried to install/configure ipv6 for rAudio, but it was not successful.

GioF71 commented 11 months ago

Hello, I was running tidal-connect on Raspberry pi os 64 bit, with ipv6 "disabled" with the above settings in sysctl.conf, and it was working properly. Then I investigated a little bit more, and completely disabled ipv6 at the kernel level (see here, method 2), and that step reproduced your issue: Tidal Connect does not work anymore, and the log contains the very same error.

That is bad, but at least we reproduced your issue.

The problem is that, even if we eventually came to the conclusion that Tidal Connect isn't working properly with ipv6 disabled, there is little (or nothing) to be done on my side. You might already know about how the software included in the docker image was originally sourced, and crucially about the fact that that software is not open-source and will probably never be.

Tidal is probably not bothering with this stuff because, in order to make use of it, we still need to pay for the premium account, and also because there are probably people who are willing to pay the account fees just because they can use their Raspberry Pi as a Tidal Connect device.

As an alternative, you might want to consider the new Tidal plugin for Upmpdcli (disclaimer: I am the author of the new plugin). This would give you access to playing Tidal to upmpdcli (and ultimately to mpd), which you already include in rAudio from what I understand. Let me know if this is something you might be interested in, and/or if you need some help trying it.

Or, as another alternative, is there a chance that you can consider using Raspberry Pi OS (or one with a kernel with ipv6 support) as the base o.s. of your solution?

lovehifi commented 11 months ago

Thank you for providing detailed information about your experience with Tidal Connect and IPv6 on Raspberry Pi OS 64-bit.

I am just an enthusiast exploring sound options based on Pi. I tried running Tidal Connect on 32-bit OSes over a year ago (Volumio, MoodeAudio, piCorePlayer, RoPieeeXL, SMPD). All worked without issues apart from requiring the necessary libraries. RoPieeeXL used ArchLinux, but they recently closed SSH access. Until RuneAudio was rebooted with the name rAudio (also using ArchLinux). Many believe ArchLinux provides better sound, including myself. However, efforts to run Tidal Connect faced IPv6 obstacles as we have seen. Perhaps I should contact the rAudio project leader to understand how to activate IPv6.

piCorePlayer and LMS have a Tidal plugin option to display albums, search, and play Tidal directly within the LMS interface. For now, I accept using it within LMS + Squeezelite on rAudio. I love Tidal Connect for its convenience and quality.

Thank you for the suggestion about the new Tidal plugin for Upmpdcli. When comparing Squeezelite and MPD, I prefer using Squeezelite.

Your work is excellent, especially the value it brings when we can operate on a 64-bit platform.

Best regards.

GioF71 commented 11 months ago

Thank you for providing detailed information about your experience with Tidal Connect and IPv6 on Raspberry Pi OS 64-bit.

My pleasure :-)

I am just an enthusiast exploring sound options based on Pi. I tried running Tidal Connect on 32-bit OSes over a year ago (Volumio, MoodeAudio, piCorePlayer, RoPieeeXL, SMPD). All worked without issues apart from requiring the necessary libraries. RoPieeeXL used ArchLinux, but they recently closed SSH access. Until RuneAudio was rebooted with the name rAudio (also using ArchLinux). Many believe ArchLinux provides better sound, including myself. However, efforts to run Tidal Connect faced IPv6 obstacles as we have seen. Perhaps I should contact the rAudio project leader to understand how to activate IPv6.

piCorePlayer and LMS have a Tidal plugin option to display albums, search, and play Tidal directly within the LMS interface. For now, I accept using it within LMS + Squeezelite on rAudio. I love Tidal Connect for its convenience and quality.

The new tidal plugin on upmpdcli has more features, allows navigability for similar artists, artist radio, top tracks, it is currently in active development. I would ask you to give it a try if you have some spare time to dedicate. Plus, considering recent changes on upmpdcli, it is now possible on LMS, to successfully stream from upmpdcli media servers running tidal/qobuz plugins. It did not use to work because upmpdcli was generating URLs with query parameters which LMS would not understand, now it is using paths. This is new in version 1.8.3 of upmpdcli.

Thank you for the suggestion about the new Tidal plugin for Upmpdcli. When comparing Squeezelite and MPD, I prefer using Squeezelite.

I am also a user of Squeezelite, I love it as well!

Your work is excellent, especially the value it brings when we can operate on a 64-bit platform.

Best regards.

Thank you for the kind words. If you can, please consider starring the repo. Thank you!

Edit: arguments -> query parameters

GioF71 commented 11 months ago

I love Tidal Connect for its convenience and quality.

Of course I understand Tidal Connect cannot be replaced by LMS or upmpdcli with plugins, it serves a slightly different use case.

lovehifi commented 11 months ago

This sounds really intriguing, and I'd like to give it a try when I have some time. Could you guide me on how to try it? Additionally, I have some friends who share the same interest in listening to music on Pi. Would it be okay to share this with them?

By the way, knowing that you like using Squeezelite. Recently, I've been working on a few things on LMS , and this is one of them. If you find it interesting, you can give it a try and customize the background according to your preference.

https://github.com/lovehifi/lms-modern-skin

lovehifi commented 11 months ago

And something else:

https://github.com/lovehifi/raudiolms-32bit

https://github.com/lovehifi/lmsbub9

GioF71 commented 11 months ago

This sounds really intriguing, and I'd like to give it a try when I have some time. Could you guide me on how to try it?

sure. You can start with the discussion here where you will find the docker compose file. The container image runs on amd64, arm 32 and 64 bit. If you use more than one upmpdcli media server on the same host, you might want to add a "PORT_OFFSET" argument and set it to e.g. 1, 2 or so. Before starting the container, you need to run a python script which will generate a set of credential tokens for you. It should be explained here and it should be fairly simple. The script is run directly by starting the docker image with a specific entrypoint. Once the script starts, you will only need to open the presented link, login to tidal, and authorize the request. On the terminal output, you will find the env variables and the values to set in the .env file, or directly on the docker-compose file (less ideal IMO).

Start the container as usual and you should be good to go.

Additionally, I have some friends who share the same interest in listening to music on Pi. Would it be okay to share this with them?

yes sure, of course.

GioF71 commented 11 months ago

If you experience any difficulty installing/configuring this server, please report it on the upmpdcli repository as an issue, so that I can fix the code and/or improve the documentation.

GioF71 commented 11 months ago

Also it is needed for me to mention that the plugin relies on this implementation of the Tidal API. Also the author of upmpdcli J.F. Dockes helped and supported me during the development phases.

GioF71 commented 11 months ago

By the way, knowing that you like using Squeezelite. Recently, I've been working on a few things on LMS , and this is one of them. If you find it interesting, you can give it a try and customize the background according to your preference.

https://github.com/lovehifi/lms-modern-skin

The skin looks nice. Is there a way to install it on a debian/ubuntu box where logitech media server is installed using the official .deb file?

SejaMarginal commented 11 months ago

Thanks @GioF71 and @lovehifi !

With your information, I was able to get it working on the rAudio x64bit rpi4. All you have to do is to rebuild the docker image. rAudio forum

lovehifi commented 11 months ago

By the way, knowing that you like using Squeezelite. Recently, I've been working on a few things on LMS , and this is one of them. If you find it interesting, you can give it a try and customize the background according to your preference. https://github.com/lovehifi/lms-modern-skin

The skin looks nice. Is there a way to install it on a debian/ubuntu box where logitech media server is installed using the official .deb file?

You can change the skin for LMS on any OS as long as you find the location containing the CSS file and the image directory, similar to:

\usr\share\squeezeboxserver\HTML\Default\slimserver.css \usr\share\squeezeboxserver\HTML\Default\skin.css \usr\share\squeezeboxserver\HTML\Default\html\images

Note that the location of squeezeboxserver may vary depending on the OS.

Someone on the slimdevices forum has assisted me in turning them into a plugin, but I haven't had the time to do it yet.

lovehifi commented 11 months ago

Thanks @GioF71 and @lovehifi !

With your information, I was able to get it working on the rAudio x64bit rpi4. All you have to do is to rebuild the docker image. rAudio forum

Good news, thank you. I will reinstall.

GioF71 commented 11 months ago

Thanks @GioF71 and @lovehifi !

With your information, I was able to get it working on the rAudio x64bit rpi4. All you have to do is to rebuild the docker image. rAudio forum

Hello @SejaMarginal thank you for the changes. I wrongly assumed that the issue was in the binary itself (or in some statically linked library), but luckily that was not the case.

Are you going to publish an updated image? Or maybe send a pull request to this repo by TonyTromp?

Thank you, great work!

lovehifi commented 11 months ago

I run and listen to Tidal Connect audio on 32-bit rAudio on Pi 3 (without Docker). It turns out rAudio has the line ipv6.disable=1 in the /boot/cmdline.txt file. We just need to remove ipv6.disable=1 in cmdline.txt.

The same issue applies to rAudio 64-bit. We need to remove ipv6.disable=1 in cmdline.txt for Tidal Connect to work.

GioF71 commented 11 months ago

Ah, good find! Of course, what @SejaMarginal has done in his branch is still quite relevant and it would be nice to have updated libraries in the image. I'll try to work on the topic tomorrow, but considering there is already an image online, IMO the best thing would be to updated that instead of creating a new one just for a small change. But we need to wait and see if this happens. :-)

SejaMarginal commented 11 months ago

I think that the PR TonyTromp's 37 PR has the needed changes. But TonyTromp hasn't merged yet. And for the docker image, I think we need to it do by ourselves.

lovehifi commented 11 months ago

I have it here: Tidal Connect for rAudio (for Pi 2, Pi 3) https://github.com/lovehifi/tidal-raudio

GioF71 commented 11 months ago

Hello, in this branch I have made some changes. The configure.sh accepts -u which stands for upgrade-libraries. If set to Yes, on startup, the changes suggested by @SejaMarginal should be applied. I have tested and it works, but I could not yet test with a Pi with ipv6 really disabled. Probably tomorrow. Same effect can be obtained using env variable UPGRADE_LIBRARIES and setting it to "YES".

@lovehifi @SejaMarginal any chance you can perform a test?

Cheers

EDIT: libraries instead of packages (there were inconsistencies)

SejaMarginal commented 11 months ago

Thanks for your work! I'll test when I arrive home.

GioF71 commented 11 months ago

@lovehifi I saw an email notification for a message about Docker installation on Volumio that you might have deleted... or anyway I can't find the message on GitHub... please send it again if this is still relevant.

GioF71 commented 11 months ago

Thanks for your work! I'll test when I arrive home.

Hello, I just performed the test, unfortunately it doesn't work (same error). Can you see if you can find mistakes or missing part in the entrypoint.sh script? Use that branch of course

Thank you

GioF71 commented 11 months ago

I just fixed some errors during installation (hidden by that -q flag), it still works when ipv6 is not disabled, but no-go with ipv6 disabled unfortunately.

lovehifi commented 11 months ago

@lovehifi I saw an email notification for a message about Docker installation on Volumio that you might have deleted... or anyway I can't find the message on GitHub... please send it again if this is still relevant.

Sorry, I deleted the message. I just realized that I installed Docker incorrectly earlier. For Volumio, the commands should be (using apt-get):

sudo apt-get update sudo apt-get install docker.io docker-compose

GioF71 commented 11 months ago

Thank you @lovehifi I will correct immediately

GioF71 commented 11 months ago

Uhm, doesn't the README file already say docker.io?

GioF71 commented 11 months ago

Ah, my bad: apt-get instead of apt I suppose...

SejaMarginal commented 11 months ago

It's working on my rAudio 64bit on a rpi4 with an external DAC. My ipv6 is enabled.

Thank you, @GioF71

GioF71 commented 11 months ago

Ok as for me... what about with ipv6 disabled? Or, considering that @lovehifi could enable ipv6 on rAudio, maybe we can drop this and stick with the upstream image without any package change?

SejaMarginal commented 11 months ago

It didn't work when I disable "ipv6.disable=1" on /boot/cmdline.txt

But my old installation of rAudio didn't come with the ipv6 disabled on cmdline.txt. I don't know with a new and clean installation of rAudio.

GioF71 commented 11 months ago

It didn't work when I disable "ipv6.disable=1" on /boot/cmdline.txt

same as me

But my old installation of rAudio didn't come with the ipv6 disabled on cmdline.txt. I don't know with a new and clean installation of rAudio.

So maybe I can drop that branch. Thoughts?

SejaMarginal commented 11 months ago

No, I think you can merge it on master.

It's working for me with this branch

I have one error on log, but it's working.

tidal-connect  | + /app/ifi-tidal-release/bin/tidal_connect_application --tc-certificate-path /app/ifi-tidal-release/id_certificate/IfiAudio_ZenStream.dat --playback-device default -f "Caixa de som" --codec-mpegh true --codec-mqa true --model-name 'AudioQuest DragonFly Black' --disable-app-security false --disable-web-security false --enable-mqa-passthrough true --log-level 3 --enable-websocket-log 0
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  | [2023-09-29 17:54:26.055] [tisoc] [critical] [DeviceInfo.cpp:56] ioctl error. ret=-1, errno="No such device"
tidal-connect  | [2023-09-29 17:54:26.055] [tisoc] [critical] [DeviceInfo.cpp:57] [ASSERT] generateDeviceId(0)
tidal-connect  | STARTED TidalConnect services.
GioF71 commented 11 months ago

Yes but also with the main branch, everything should work if ipv6 is not disabled. Can you test it?

GioF71 commented 11 months ago

No, I think you can merge it on master.

It's working for me with this branch

I have one error on log, but it's working.

can you post the output of

cat /proc/asound/cards

and maybe

aplay -l

Thank you