domenica 21 gennaio 2024

Run tidal-connect(Docker) into CoreElec(Ki pro) Box for output Music to Spdif DAC

I have succesufl run tidal-connect on kodi box to Spdif output, very nice for listing music .


There are lot of very cheap box around 20-30$/€ can for run CoreElec with SPDIF, very useful for Hi-fi music.


I following this step,but mybe not work for all device:  

Fist install docker from kodi addon

Second on SSH:

 install Entware

installentware


Install git

opkg install git
opkg install git-http
A workaround is to run docker-compose through a docker ,Instructions:

cd /storage
mkdir /storage/bin
curl -L --fail https://raw.githubusercontent.com/linuxserver/docker-docker-compose/master/run.sh -o /storage/bin/docker-compose
chmod +x /storage/bin/docker-compose
cp /etc/profile /storage/.profile
echo “export PATH=/storage/bin/:$PATH” >> /storage/.profile
cd /storage/bin
./docker-compose


after start go to https://github.com/GioF71/tidal-connect for info about installa docker 



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


To force SPDIF out put i need to chance the file /tidal-connect/bin/entrypoint.sh , default audio is analog output (hw:0,0).

fist check audio device with command:
aplay -l



SPDIF in mine case is "AML-MESONAUDIO: - (hw:0,1)"

so i change to entrypoint.sh like this


after 
cd $HOME/tidal-connect
bash configure.sh -n SPDIF -f "LOXJIE AUDIO"

than back to docker-compose
cd /storage/bin/

./docker-compose -f /storage/tidal-connect/docker-compose.yaml up -d

now have some fun Music!