Automatisation Tidal-DL

Création de l'image Docker pour Tidal-DL

Fichier Dockerfile : (source ici : https://git.wlan.ovh/garfieldtux/docker-demo)

# This file is a template, and might need editing before it works on your project.
FROM python:3.8-slim

WORKDIR /usr/src/app

COPY requirements.txt /usr/src/app/
RUN pip install --no-cache-dir -r requirements.txt

COPY .tidal-dl.json /root/.tidal-dl.json
COPY .tidal-dl.token.json /root/.tidal-dl.token.json

Création de l'image et Lancement du docker 

docker build -t tidal-dl .
docker run -itd --name=TidalDL -v /mnt/NAS/music:/mnt/music tidal-dl

 

Mise en place de RunDeck pour l'automatisation :

rundeck1.PNG

Utiliser les options suivante pour l'utilisation du WEBhook 

docker exec -it TidalDL tidal-dl -l ${option.ID} ${option.URL}

 

Ensuite il faut crée un webhook avec les options suivantes 

-URL ${data.field1}

rundeck2.PNG

 

curl -H "Content-Type: application/json" -X POST -d '{"field1" : "117790336"}' https://run.wlan.ovh/api/38/webhook/nWfevIsA7ieJz9f1FKsW0Ib7uNwXWUfR

 

Dans Ios Raccourci il faut crée ceci :

iphone.jpg

 

 


Révision #3
Créé 23 novembre 2021 15:57:28 par garfieldtux
Mis à jour 23 novembre 2021 16:15:24 par garfieldtux