I was able to successfully install HiTide TIDAL Connect on my Rpi4 with DietPi_RPi-ARMv6-Buster image using the following script: https://github.com/shawaj/HiTide
However I have problems with installation on DietPi_RPi-ARMv8-Bullseye.
During installation, I get an error that multiarch-support and libavformat57 packages can not be found:
E: Unable to locate package multiarch-support
E: Unable to locate package libavformat57
I tried to add repo from ARMv6-Buster into /etc/apt/sources.list:
deb http://raspbian.raspberrypi.org/raspbian/ buster main
But after ‘apt update’ I’m getting an error:
N: Skipping acquire of configured file 'main/binary-arm64/Packages' as repository 'http://raspbian.raspberrypi.org/raspbian buster InRelease' doesn't support architecture 'arm64'
N: Skipping acquire of configured file 'main/binary-arm64/Packages' as repository 'http://archive.raspbian.org/raspbian stretch InRelease' doesn't support architecture 'arm64'
Does anyone know how to overcome this? What repositories should be added to ARMv8-Bullseye in order to have multiarch-support and libavformat57 packages available?
I figured out why I had problems when I was trying to use this repository on ARMv8:
deb http://archive.raspbian.org/raspbian stretch main
This repo is for Raspbian which is 32bit and ARMv8 Dietpi is 64bit…
I managed to find missing packages for ARMv8 Dietpi in Debian Stretch repository:
deb https://deb.debian.org/debian/ stretch main
I thought that now it will be possible to install TIDAL connect, but unfortunately it turned out that it is using 32bit binaries from git repo https://github.com/shawaj/ifi-tidal-release and it is not possible to install it on ARMv8 which is 64bit.
CONCLUSION: if you want to install TIDAL Connect on DietPi, use ARMv7 image and use Debian Stretch repository.
Just to make clear, this is not a limitation of DietPi. This is a limitation 64bit vs 32bit. Same will happen on Raspberry OS, which DietPi is build on.
Initially I was just confused, which DietPi version should I use for my Raspberry Pi 4 and I chose the highest one which was ARMv8. However TIDAL connect has a limitation for 32bit operating system so it was wrong choice.
Now I know that:
ARMv6 - 32bit, Raspbian repos, for older CPUs
ARMv7 - 32bit, Debian repos, for newer CPUs
ARMv8 - 64bit, Debian repos, for newer CPUs
Since Buster already it’s libavformat58 btw, libavformat57 is available until Stretch only. Means the installer requires an urgent update since 4 years .
Ah no I see it’s the TIDAL Connect binaries used which require the update and the installer purposefully installs the Stretch repo and a bunch of manually downloaded packages. Yeah while this seems to have worked on Buster, it makes sense that it causes more and more issues. I don’t know much about TIDAL, is it abandoned or why there are no current binaries? Or are there sources to compile it from?
I think this HiTide Tidal installer is a little bit unofficial, someone found git repository that belongs to iFi company and made it working on Raspbian/DietPi. I don’t think there will be an official package for that so the only way to install it is by playing with old repos and old packages
What I don’t understand is that TIDAL Connect was launched just at the end of last year, where Debian Buster was the stable release for a long time. Also the repositories were created from that time on. Only the original repo from ppy2 does not exist anymore. So how can it be that binaries for a new product require ancient libraries from a Debian version that became oldstable over 4 years ago . Or do I misunderstand something?
Yes as long as there are not public binaries or packages or sources, we have no chance to implement it. Using those legacy ones together with several Jessie and Stretch packages is not an option, also since the original source does not exist anymore so that nobody knows that is actually inside, whether its original or manipulated. Also whether it is “legal” to use those or was simply an accident that they were available at all on a public GitHub repo is unknown as well.
Totally agree with everything what you’ve wrote Michael
iFi introduced their streamer called iFi ZEN Stream that has an operating system that looks like Volumio (probably they bought some part of the code), so I think that they were developing TIDAL connect and accidentally made the repo public… But this is just my guess.
However if founder of such a great OS as DietPi had contacted TIDAL and/or iFi asking whether it is possible to add officially TIDAL Connect to dietpi-software it would have been a great bonus for DietPi users I’m just showing the possibilities
We could try that. However, there are so many other software titles highly requested, so for proprietary (product) closed source software I currently don’t have the time to start contacting them about such matter. That would clearly be quite some longer process, probably involves some legal agreements (at least when we got the sources to build own binaries) etc. Basically I see a chance only when TIDAL would provide Debian binaries from their end, which then would also mean that there is a guaranteed functionality from their end, a willingness to in case adjust code to keep it functional with new Debian releases and all such. This is not something we are able to deal with (time investment) ourselves, and it doesn’t make sense at all to have DietPi only binaries/packages without making those Debian binaries/packages with a much larger user space that would benefit from the efforts.