Lancer une musique sur Orange Pi distant

Bonjour à tous :slight_smile:

Je souhaiterai lancer des playlists spotify sur un Orange Pi distant via le lancement d’un scenario (cf schéma):

J’ai pensé à mettre en place une nouvelle installation de jeedom sur le module Orange Pi distant et l’associer avec Jeelink.
Par la suite , je pourrai pousser des musiques sur celui-ci depuis le déclenchement d’un scenario sur le Jeedom « Maitre ».

Pensez-vous qu’il existe des solutions plus simple et plus légère ?

Sur le forum les échanges sont centrés sur la partie « Cast » vers des modules Google Cast, mais dans mon cas, je souhaiterai pousser la musique via le réseau Ethernet (filaire) et éviter l’utilisation du wifi.

PS: Savez-vous comment fonctionne le plugin ? Une fois le fichier lu , est-il stocké en local ?
Au plaisir de vous lire :slight_smile:

Gaudouy

Bonjour,

Je pense utiliser un jeedom secondaire.
Le jeedom « maitre » va lancer un scénario qui va exécuter la lecture sur le le jeddom « secondaire » sous RaspberryPi ou OrangePi.

Actuellement je suis confronté à un problème.

Hier le plugin fonctionnait et aujourdhui il ne fonctionne plus :frowning: .
J’ai ré-installer les dépendances comme indiqué dans d’autre post sur le forum sans réussite.

Dans le dashboard spotify, le plugin fonctionnait :

Mais désormais le plugin est HS :

Voici ma config :

et les logs associés :

**Spotify **

[2021-08-04 10:10:32][DEBUG] : %%%%%%%%%%%%%%%% BEGIN GET AUTHORIZE URL %%%%%%%%%%%%%%%%
[2021-08-04 10:10:32][DEBUG] : --- CALLBACK http://#######IP_JEEDOM_HIDE########/index.php?v=d&m=spotify&p=spotify ---
[2021-08-04 10:10:32][DEBUG] : --- CLIENT ID #######CLIENT_ID_HIDE######## ---
[2021-08-04 10:10:32][DEBUG] : --- CLIENT SECRET #######CLIENT_SECRET_HIDE######## ---
[2021-08-04 10:10:32][DEBUG] : --- AUTHORIZE URL https://accounts.spotify.com/authorize?client_id=#######CLIENT_ID_HIDE########&redirect_uri=http%3A%2F%2F#######IP_JEEDOM_HIDE########%2Findex.php%3Fv%3Dd%26m%3Dspotify%26p%3Dspotify&response_type=code&scope=user-library-modify+user-library-read+app-remote-control+streaming+playlist-read-private+playlist-read-collaborative+playlist-modify-public+playlist-modify-private+user-follow-modify+user-follow-read+user-read-recently-played+user-top-read+user-read-email+user-read-private+user-read-currently-playing+user-read-playback-state+user-modify-playback-state ---
[2021-08-04 10:10:32][DEBUG] : %%%%%%%%%%%%%%%% END GET AUTHORIZE URL %%%%%%%%%%%%%%%%
[2021-08-04 10:10:34][DEBUG] : ### CODE #######CODE_HIDE########4 ###
[2021-08-04 10:10:36][DEBUG] : %%%%%%%%%%%%%%%% BEGIN GET TOKEN %%%%%%%%%%%%%%%%
[2021-08-04 10:10:36][DEBUG] : --- CALLBACK http://#######IP_JEEDOM_HIDE########/index.php?v=d&m=spotify&p=spotify ---
[2021-08-04 10:10:36][DEBUG] : --- CLIENT ID #######CLIENT_ID_HIDE######## ---
[2021-08-04 10:10:36][DEBUG] : --- CLIENT SECRET #######CLIENT_SECRET_HIDE######## ---
[2021-08-04 10:10:36][DEBUG] : --- CODE #######CODE_HIDE########4 ---
[2021-08-04 10:10:36][DEBUG] : --- ACCESS TOKEN #######ACCESS_TOKEN_HIDE######## ---
[2021-08-04 10:10:36][DEBUG] : --- REFRESH TOKEN #######REFRESH_TOKEN_HIDE######## ---
[2021-08-04 10:10:36][DEBUG] : --- EXPIRE 1628068236 ---
[2021-08-04 10:10:36][DEBUG] : %%%%%%%%%%%%%%%% END GET TOKEN %%%%%%%%%%%%%%%%
[2021-08-04 10:10:42][DEBUG] : --- DAEMON START ---
[2021-08-04 10:10:42][DEBUG] : --- DAEMON info {"log":"spotify_daemon","launchable":"ok","state":"ok"}---
[2021-08-04 10:10:42][DEBUG] : --- DAEMON ALREADY STARTED ---
[2021-08-04 10:10:50][DEBUG] : --- EXECUTE device_id_set / {"select":"","utid":"0"} ---
[2021-08-04 10:10:50][DEBUG] : --- CLIENT ID #######CLIENT_ID_HIDE######## ---
[2021-08-04 10:10:50][DEBUG] : --- CLIENT SECRET #######CLIENT_SECRET_HIDE######## ---
[2021-08-04 10:10:50][DEBUG] : --- EXPIRATION TIME 1628068236 ---
[2021-08-04 10:10:50][DEBUG] : --- ACCESS TOKEN #######ACCESS_TOKEN_HIDE######## ---
[2021-08-04 10:10:50][DEBUG] : --- REFRESH TOKEN #######REFRESH_TOKEN_HIDE######## ---
[2021-08-04 10:10:50][DEBUG] : --- DEVICE REQUESTED ---
[2021-08-04 10:10:50][DEBUG] : --- DEVICE ID =  ---
[2021-08-04 10:10:52][DEBUG] : --- EXECUTE play / {"utid":"0"} ---
[2021-08-04 10:10:52][DEBUG] : --- CLIENT ID #######CLIENT_ID_HIDE######## ---
[2021-08-04 10:10:52][DEBUG] : --- CLIENT SECRET #######CLIENT_SECRET_HIDE######## ---
[2021-08-04 10:10:52][DEBUG] : --- EXPIRATION TIME 1628068236 ---
[2021-08-04 10:10:52][DEBUG] : --- ACCESS TOKEN #######ACCESS_TOKEN_HIDE######## ---
[2021-08-04 10:10:52][DEBUG] : --- REFRESH TOKEN #######REFRESH_TOKEN_HIDE######## ---
[2021-08-04 10:10:52][DEBUG] : --- PLAY REQUESTED ---
[2021-08-04 10:10:52][ERROR] : Erreur exécution de la commande [Chambre Enfant][test][Play] : An unknown error occurred.
[2021-08-04 10:10:57][DEBUG] : --- EXECUTE playlist_id_set / {"select":"spotify:user:tlfs7uobersbwx72qu1fu1lfy:playlist:6LuSoWEbOquNPcVAY7VGwX","utid":"0"} ---
[2021-08-04 10:10:57][DEBUG] : --- CLIENT ID #######CLIENT_ID_HIDE######## ---
[2021-08-04 10:10:57][DEBUG] : --- CLIENT SECRET #######CLIENT_SECRET_HIDE######## ---
[2021-08-04 10:10:57][DEBUG] : --- EXPIRATION TIME 1628068236 ---
[2021-08-04 10:10:57][DEBUG] : --- ACCESS TOKEN #######ACCESS_TOKEN_HIDE######## ---
[2021-08-04 10:10:57][DEBUG] : --- REFRESH TOKEN #######REFRESH_TOKEN_HIDE######## ---
[2021-08-04 10:10:57][DEBUG] : --- PLAYLIST REQUESTED ---
[2021-08-04 10:10:57][DEBUG] : --- PLAYLIST ID = spotify:user:tlfs7uobersbwx72qu1fu1lfy:playlist:6LuSoWEbOquNPcVAY7VGwX ---
[2021-08-04 10:10:57][ERROR] : Erreur exécution de la commande [Chambre Enfant][test][Playlist Id Set] : An unknown error occurred.
[2021-08-04 10:10:57][DEBUG] : --- EXECUTE play / {"utid":"0"} ---
[2021-08-04 10:10:57][DEBUG] : --- CLIENT ID #######CLIENT_ID_HIDE######## ---
[2021-08-04 10:10:57][DEBUG] : --- CLIENT SECRET #######CLIENT_SECRET_HIDE######## ---
[2021-08-04 10:10:57][DEBUG] : --- EXPIRATION TIME 1628068236 ---
[2021-08-04 10:10:57][DEBUG] : --- ACCESS TOKEN #######ACCESS_TOKEN_HIDE######## ---
[2021-08-04 10:10:57][DEBUG] : --- REFRESH TOKEN #######REFRESH_TOKEN_HIDE######## ---
[2021-08-04 10:10:57][DEBUG] : --- PLAY REQUESTED ---
[2021-08-04 10:10:57][ERROR] : Erreur exécution de la commande [Chambre Enfant][test][Play] : An unknown error occurred.
[2021-08-04 10:11:01][DEBUG] : --- EXECUTE device_id_set / {"select":"","utid":"0"} ---
[2021-08-04 10:11:01][DEBUG] : --- CLIENT ID #######CLIENT_ID_HIDE######## ---
[2021-08-04 10:11:01][DEBUG] : --- CLIENT SECRET #######CLIENT_SECRET_HIDE######## ---
[2021-08-04 10:11:01][DEBUG] : --- EXPIRATION TIME 1628068236 ---
[2021-08-04 10:11:01][DEBUG] : --- ACCESS TOKEN #######ACCESS_TOKEN_HIDE######## ---
[2021-08-04 10:11:01][DEBUG] : --- REFRESH TOKEN #######REFRESH_TOKEN_HIDE######## ---
[2021-08-04 10:11:01][DEBUG] : --- DEVICE REQUESTED ---
[2021-08-04 10:11:01][DEBUG] : --- DEVICE ID =  ---
[2021-08-04 10:11:25][DEBUG] : --- DAEMON STOP ---
[2021-08-04 10:11:25][DEBUG] : --- DAEMON INFO {"log":"spotify_daemon","launchable":"ok","state":"ok"}---
[2021-08-04 10:11:25][DEBUG] : --- DAEMON FIRST STOP ---
[2021-08-04 10:11:25][DEBUG] : --- CMD = sudo kill $(ps aux | grep "spotify.js" | awk '{print $2}') ---
[2021-08-04 10:11:25][DEBUG] : --- RESULT =  ---
[2021-08-04 10:11:25][DEBUG] : --- DAEMON INFO {"log":"spotify_daemon","launchable":"ok","state":"nok"}---
[2021-08-04 10:11:25][DEBUG] : --- DAEMON STOP SUCCEED ---
[2021-08-04 10:11:25][DEBUG] : --- DAEMON START ---
[2021-08-04 10:11:25][DEBUG] : --- DAEMON info {"log":"spotify_daemon","launchable":"ok","state":"nok"}---
[2021-08-04 10:11:25][DEBUG] : --- PROTOCOL = HTTP ---
[2021-08-04 10:11:25][DEBUG] : --- KEY = #######API_KEY_HIDE######## ---
[2021-08-04 10:11:25][DEBUG] : --- NET = http://#######IP_JEEDOM_HIDE######## ---
[2021-08-04 10:11:25][DEBUG] : --- URL = http://#######IP_JEEDOM_HIDE########/plugins/spotify/core/ajax/spotify.ajax.php?action=account&api=#######API_KEY_HIDE######## ---
[2021-08-04 10:11:25][DEBUG] : --- LOG LEVEL = 100 ---
[2021-08-04 10:11:25][DEBUG] : --- LOG = /var/www/html/core/class/../../log/spotify_daemon ---
[2021-08-04 10:11:25][DEBUG] : --- CMD = sudo nice -n 19 nodejs "/var/www/html/plugins/spotify/ressources/spotify.js" "http://#######IP_JEEDOM_HIDE########/plugins/spotify/core/ajax/spotify.ajax.php?action=account&api=#######API_KEY_HIDE########" "100" "HTTP" > "/var/www/html/core/class/../../log/spotify_daemon" 2>&1 & ---
[2021-08-04 10:11:25][DEBUG] : --- RESULT =  ---
[2021-08-04 10:11:25][DEBUG] : --- DAEMON info {"log":"spotify_daemon","launchable":"ok","state":"ok"}---
[2021-08-04 10:11:25][DEBUG] : --- DAEMON START SUCCEED ---
[2021-08-04 10:11:25][DEBUG] : %%%%%%%%%%%%%%%% BEGIN ACCOUNT %%%%%%%%%%%%%%%%
[2021-08-04 10:11:25][DEBUG] : --- APIKEY #######API_KEY_HIDE######## ---
[2021-08-04 10:11:25][DEBUG] : --- CLIENT ID #######CLIENT_ID_HIDE######## ---
[2021-08-04 10:11:25][DEBUG] : --- CLIENT SECRET #######CLIENT_SECRET_HIDE######## ---
[2021-08-04 10:11:25][DEBUG] : --- PROTOCOL HTTP ---
[2021-08-04 10:11:25][DEBUG] : --- URL http://#######IP_JEEDOM_HIDE######## ---
[2021-08-04 10:11:25][DEBUG] : --- ITEM CALLBACK http://#######IP_JEEDOM_HIDE########/plugins/spotify/core/ajax/spotify.ajax.php?api=#APIKEY#&type=spotify&action=item&id=#ID#&item_id=#ITEM_ID#&item_album=#ITEM_ALBUM#&item_title=#ITEM_TITLE#&item_artist=#ITEM_ARTIST#&item_image=#ITEM_IMAGE#&context_type=#CONTEXT_TYPE#&context_uri=#CONTEXT_URI# ---
[2021-08-04 10:11:25][DEBUG] : --- DEVICE CALLBACK http://#######IP_JEEDOM_HIDE########/plugins/spotify/core/ajax/spotify.ajax.php?api=#APIKEY#&type=spotify&action=device&id=#ID#&device_id=#DEVICE_ID#&device_name=#DEVICE_NAME#&device_type=#DEVICE_TYPE#&device_volume=#DEVICE_VOLUME#&device_is_active=#DEVICE_IS_ACTIVE# ---
[2021-08-04 10:11:25][DEBUG] : --- PLAYLIST CALLBACK http://#######IP_JEEDOM_HIDE########/plugins/spotify/core/ajax/spotify.ajax.php?api=#APIKEY#&type=spotify&action=playlist&id=#ID#&playlist_id=#PLAYLIST_ID#&playlist_name=#PLAYLIST_NAME# ---
[2021-08-04 10:11:25][DEBUG] : --- SHUFFLE CALLBACK http://#######IP_JEEDOM_HIDE########/plugins/spotify/core/ajax/spotify.ajax.php?api=#APIKEY#&id=#ID#&state=#STATE#&action=shuffle ---
[2021-08-04 10:11:25][DEBUG] : --- SHUFFLE CALLBACK http://#######IP_JEEDOM_HIDE########/plugins/spotify/core/ajax/spotify.ajax.php?api=#APIKEY#&i=#I#&id=#ID#&action=refresh_token ---
[2021-08-04 10:11:25][DEBUG] : --- LENGTH 1 ---
[2021-08-04 10:11:25][DEBUG] : --- CONFIG 192 ---
[2021-08-04 10:11:25][DEBUG] : --- COMMANDS [{"token":"#######REFRESH_TOKEN_HIDE########","id":"192"}] ---
[2021-08-04 10:11:25][DEBUG] : %%%%%%%%%%%%%%%% END ACCOUNT %%%%%%%%%%%%%%%%
[2021-08-04 10:11:26][DEBUG] : %%%%%%%%%%%%%%%% BEGIN REFRESH TOKEN (192) %%%%%%%%%%%%%%%%
[2021-08-04 10:11:26][DEBUG] : --- ID 192 ---
[2021-08-04 10:11:26][DEBUG] : --- I 0 ---
[2021-08-04 10:11:26][DEBUG] : --- CLIENT ID #######CLIENT_ID_HIDE######## ---
[2021-08-04 10:11:26][DEBUG] : --- CLIENT SECRET #######CLIENT_SECRET_HIDE######## ---
[2021-08-04 10:11:26][DEBUG] : --- EXPIRATION TIME 1628068236 ---
[2021-08-04 10:11:26][DEBUG] : --- ACCESS TOKEN #######ACCESS_TOKEN_HIDE######## ---
[2021-08-04 10:11:26][DEBUG] : --- REFRESH TOKEN #######REFRESH_TOKEN_HIDE######## ---
[2021-08-04 10:11:26][DEBUG] : --- ACCESS TOKEN #######ACCESS_TOKEN_HIDE######## ---
[2021-08-04 10:11:26][DEBUG] : %%%%%%%%%%%%%%%% END REFRESH TOKEN (192) %%%%%%%%%%%%%%%%
[2021-08-04 10:11:28][DEBUG] : %%%%%%%%%%%%%%%% BEGIN PLAYLIST (192) %%%%%%%%%%%%%%%%
[2021-08-04 10:11:28][DEBUG] : --- PLAYLIST ID spotify:user:sdifdy4v2ufgbx4urnmufvc9j:playlist:3W8Ufoex2Aut0Gl3JAwaqB|spotify:user:lokgxkzepnaedeyjqia420gyg:playlist:7CZlB5NjyFmGFx6i2KY03G|spotify:user:erikilla93:playlist:5RMYNflzye4vUoVTlCegja|spotify:user:gisele.lateste:playlist:0EIsd2iJuzQZ4pg4DokepO|spotify:user:tlfs7uobersbwx72qu1fu1lfy:playlist:6LuSoWEbOquNPcVAY7VGwX|spotify:user:tlfs7uobersbwx72qu1fu1lfy:playlist:1uDLqFG7nIjVz4wix5Xkuw|spotify:user:tlfs7uobersbwx72qu1fu1lfy:playlist:52knEvxt9DJ16uUZh3NG6g|spotify:user:31ehepvzhd6e6u7ldaeimqgu5qeu:playlist:1KGkMkN0WSjbNtyEUbR0B5|spotify:user:tlfs7uobersbwx72qu1fu1lfy:playlist:4QDaZzXuApkJ5ou8VwtEcL|spotify:user:tlfs7uobersbwx72qu1fu1lfy:playlist:0sTmvp4Q4UcqJMBxeZcFpV|spotify:user:tlfs7uobersbwx72qu1fu1lfy:playlist:5q3os10LCitwgFT4XXk3Jt|spotify:user:phvouuwkwu374u1itxz06a2j5:playlist:48hjam5GB2Dd5165pF6aIZ|spotify:user:tlfs7uobersbwx72qu1fu1lfy:playlist:0oy403kb1p5vXxvT8rgg7H|spotify:user:spotify:playlist:37i9dQZEVXbnIrgHEl6419|spotify:user:spotify:playlist:37i9dQZEVXcEYA2SGSSTZZ|spotify:user:spotify:playlist:37i9dQZF1DWYBO1MoTDhZI|spotify:user:spotifycharts:playlist:37i9dQZEVXbMDoHDwVN2tF ---
[2021-08-04 10:11:28][DEBUG] : --- PLAYLIST NAME LA PLAYLIST POUR BÉBÉ PAS TROP CHIANTE|Contines Pour Bebe|Contines africaines|Contine pour enfant|Bébé|Hi-fi test|Détente|Si el mundo se acaba (Official Music) - Yolo Aventuras |Chelou|2020|Playlist Margaux|Musique du moment|Favoris des radios|Release Radar|Discover Weekly|Good Vibes|Top 50 : Mondial ---
[2021-08-04 10:11:28][DEBUG] : --- LENGTH 17 ---
[2021-08-04 10:11:28][DEBUG] : --- LIST spotify:user:sdifdy4v2ufgbx4urnmufvc9j:playlist:3W8Ufoex2Aut0Gl3JAwaqB|LA PLAYLIST POUR BÉBÉ PAS TROP CHIANTE;spotify:user:lokgxkzepnaedeyjqia420gyg:playlist:7CZlB5NjyFmGFx6i2KY03G|Contines Pour Bebe;spotify:user:erikilla93:playlist:5RMYNflzye4vUoVTlCegja|Contines africaines;spotify:user:gisele.lateste:playlist:0EIsd2iJuzQZ4pg4DokepO|Contine pour enfant;spotify:user:tlfs7uobersbwx72qu1fu1lfy:playlist:6LuSoWEbOquNPcVAY7VGwX|Bébé;spotify:user:tlfs7uobersbwx72qu1fu1lfy:playlist:1uDLqFG7nIjVz4wix5Xkuw|Hi-fi test;spotify:user:tlfs7uobersbwx72qu1fu1lfy:playlist:52knEvxt9DJ16uUZh3NG6g|Détente;spotify:user:31ehepvzhd6e6u7ldaeimqgu5qeu:playlist:1KGkMkN0WSjbNtyEUbR0B5|Si el mundo se acaba (Official Music) - Yolo Aventuras ;spotify:user:tlfs7uobersbwx72qu1fu1lfy:playlist:4QDaZzXuApkJ5ou8VwtEcL|Chelou;spotify:user:tlfs7uobersbwx72qu1fu1lfy:playlist:0sTmvp4Q4UcqJMBxeZcFpV|2020;spotify:user:tlfs7uobersbwx72qu1fu1lfy:playlist:5q3os10LCitwgFT4XXk3Jt|Playlist Margaux;spotify:user:phvouuwkwu374u1itxz06a2j5:playlist:48hjam5GB2Dd5165pF6aIZ|Musique du moment;spotify:user:tlfs7uobersbwx72qu1fu1lfy:playlist:0oy403kb1p5vXxvT8rgg7H|Favoris des radios;spotify:user:spotify:playlist:37i9dQZEVXbnIrgHEl6419|Release Radar;spotify:user:spotify:playlist:37i9dQZEVXcEYA2SGSSTZZ|Discover Weekly;spotify:user:spotify:playlist:37i9dQZF1DWYBO1MoTDhZI|Good Vibes;spotify:user:spotifycharts:playlist:37i9dQZEVXbMDoHDwVN2tF|Top 50 : Mondial ---
[2021-08-04 10:11:28][DEBUG] : %%%%%%%%%%%%%%%% END PLAYLIST (192) %%%%%%%%%%%%%%%%
[2021-08-04 10:11:28][DEBUG] : --- DAEMON STOP ---
[2021-08-04 10:11:28][DEBUG] : --- DAEMON INFO {"log":"spotify_daemon","launchable":"ok","state":"ok"}---
[2021-08-04 10:11:28][DEBUG] : --- DAEMON FIRST STOP ---
[2021-08-04 10:11:28][DEBUG] : --- CMD = sudo kill $(ps aux | grep "spotify.js" | awk '{print $2}') ---
[2021-08-04 10:11:28][DEBUG] : --- RESULT =  ---
[2021-08-04 10:11:28][DEBUG] : --- DAEMON INFO {"log":"spotify_daemon","launchable":"ok","state":"nok"}---
[2021-08-04 10:11:28][DEBUG] : --- DAEMON STOP SUCCEED ---
[2021-08-04 10:11:28][ERROR] : Erreur sur la fonction deamon_start du plugin : Vous devez attendre au moins 45 secondes entre deux lancements du démon. Dernier lancement : 2021-08-04 10:11:25
[2021-08-04 10:11:32][ERROR] : Erreur sur la fonction deamon_start du plugin : Vous devez attendre au moins 45 secondes entre deux lancements du démon. Dernier lancement : 2021-08-04 10:11:25
[2021-08-04 10:12:31][DEBUG] : --- EXECUTE device_id_set / {"select":"","utid":"0"} ---
[2021-08-04 10:12:31][DEBUG] : --- CLIENT ID #######CLIENT_ID_HIDE######## ---
[2021-08-04 10:12:31][DEBUG] : --- CLIENT SECRET #######CLIENT_SECRET_HIDE######## ---
[2021-08-04 10:12:31][DEBUG] : --- EXPIRATION TIME 1628068236 ---
[2021-08-04 10:12:31][DEBUG] : --- ACCESS TOKEN #######ACCESS_TOKEN_HIDE######## ---
[2021-08-04 10:12:31][DEBUG] : --- REFRESH TOKEN #######REFRESH_TOKEN_HIDE######## ---
[2021-08-04 10:12:31][DEBUG] : --- DEVICE REQUESTED ---
[2021-08-04 10:12:31][DEBUG] : --- DEVICE ID =  ---
[2021-08-04 10:12:33][DEBUG] : --- EXECUTE playlist_id_set / {"select":"spotify:user:spotify:playlist:37i9dQZF1DWYBO1MoTDhZI","utid":"0"} ---
[2021-08-04 10:12:33][DEBUG] : --- CLIENT ID #######CLIENT_ID_HIDE######## ---
[2021-08-04 10:12:33][DEBUG] : --- CLIENT SECRET #######CLIENT_SECRET_HIDE######## ---
[2021-08-04 10:12:33][DEBUG] : --- EXPIRATION TIME 1628068236 ---
[2021-08-04 10:12:33][DEBUG] : --- ACCESS TOKEN #######ACCESS_TOKEN_HIDE######## ---
[2021-08-04 10:12:33][DEBUG] : --- REFRESH TOKEN #######REFRESH_TOKEN_HIDE######## ---
[2021-08-04 10:12:33][DEBUG] : --- PLAYLIST REQUESTED ---
[2021-08-04 10:12:33][DEBUG] : --- PLAYLIST ID = spotify:user:spotify:playlist:37i9dQZF1DWYBO1MoTDhZI ---
[2021-08-04 10:12:33][ERROR] : Erreur exécution de la commande [Chambre Enfant][test][Playlist Id Set] : An unknown error occurred.
[2021-08-04 10:12:39][DEBUG] : --- DAEMON START ---
[2021-08-04 10:12:39][DEBUG] : --- DAEMON info {"log":"spotify_daemon","launchable":"ok","state":"nok"}---
[2021-08-04 10:12:39][DEBUG] : --- PROTOCOL = HTTP ---
[2021-08-04 10:12:39][DEBUG] : --- KEY = #######API_KEY_HIDE######## ---
[2021-08-04 10:12:39][DEBUG] : --- NET = http://#######IP_JEEDOM_HIDE######## ---
[2021-08-04 10:12:39][DEBUG] : --- URL = http://#######IP_JEEDOM_HIDE########/plugins/spotify/core/ajax/spotify.ajax.php?action=account&api=#######API_KEY_HIDE######## ---
[2021-08-04 10:12:39][DEBUG] : --- LOG LEVEL = 100 ---
[2021-08-04 10:12:39][DEBUG] : --- LOG = /var/www/html/core/class/../../log/spotify_daemon ---
[2021-08-04 10:12:39][DEBUG] : --- CMD = sudo nice -n 19 nodejs "/var/www/html/plugins/spotify/ressources/spotify.js" "http://#######IP_JEEDOM_HIDE########/plugins/spotify/core/ajax/spotify.ajax.php?action=account&api=#######API_KEY_HIDE########" "100" "HTTP" > "/var/www/html/core/class/../../log/spotify_daemon" 2>&1 & ---
[2021-08-04 10:12:39][DEBUG] : --- RESULT =  ---
[2021-08-04 10:12:39][DEBUG] : --- DAEMON info {"log":"spotify_daemon","launchable":"ok","state":"ok"}---
[2021-08-04 10:12:39][DEBUG] : --- DAEMON START SUCCEED ---
[2021-08-04 10:12:39][DEBUG] : %%%%%%%%%%%%%%%% BEGIN ACCOUNT %%%%%%%%%%%%%%%%
[2021-08-04 10:12:39][DEBUG] : --- APIKEY #######API_KEY_HIDE######## ---
[2021-08-04 10:12:39][DEBUG] : --- CLIENT ID #######CLIENT_ID_HIDE######## ---
[2021-08-04 10:12:39][DEBUG] : --- CLIENT SECRET #######CLIENT_SECRET_HIDE######## ---
[2021-08-04 10:12:39][DEBUG] : --- PROTOCOL HTTP ---
[2021-08-04 10:12:39][DEBUG] : --- URL http://#######IP_JEEDOM_HIDE######## ---
[2021-08-04 10:12:39][DEBUG] : --- ITEM CALLBACK http://#######IP_JEEDOM_HIDE########/plugins/spotify/core/ajax/spotify.ajax.php?api=#APIKEY#&type=spotify&action=item&id=#ID#&item_id=#ITEM_ID#&item_album=#ITEM_ALBUM#&item_title=#ITEM_TITLE#&item_artist=#ITEM_ARTIST#&item_image=#ITEM_IMAGE#&context_type=#CONTEXT_TYPE#&context_uri=#CONTEXT_URI# ---
[2021-08-04 10:12:39][DEBUG] : --- DEVICE CALLBACK http://#######IP_JEEDOM_HIDE########/plugins/spotify/core/ajax/spotify.ajax.php?api=#APIKEY#&type=spotify&action=device&id=#ID#&device_id=#DEVICE_ID#&device_name=#DEVICE_NAME#&device_type=#DEVICE_TYPE#&device_volume=#DEVICE_VOLUME#&device_is_active=#DEVICE_IS_ACTIVE# ---
[2021-08-04 10:12:39][DEBUG] : --- PLAYLIST CALLBACK http://#######IP_JEEDOM_HIDE########/plugins/spotify/core/ajax/spotify.ajax.php?api=#APIKEY#&type=spotify&action=playlist&id=#ID#&playlist_id=#PLAYLIST_ID#&playlist_name=#PLAYLIST_NAME# ---
[2021-08-04 10:12:39][DEBUG] : --- SHUFFLE CALLBACK http://#######IP_JEEDOM_HIDE########/plugins/spotify/core/ajax/spotify.ajax.php?api=#APIKEY#&id=#ID#&state=#STATE#&action=shuffle ---
[2021-08-04 10:12:39][DEBUG] : --- SHUFFLE CALLBACK http://#######IP_JEEDOM_HIDE########/plugins/spotify/core/ajax/spotify.ajax.php?api=#APIKEY#&i=#I#&id=#ID#&action=refresh_token ---
[2021-08-04 10:12:39][DEBUG] : --- LENGTH 1 ---
[2021-08-04 10:12:39][DEBUG] : --- CONFIG 192 ---
[2021-08-04 10:12:39][DEBUG] : --- COMMANDS [{"token":"#######REFRESH_TOKEN_HIDE########","id":"192"}] ---
[2021-08-04 10:12:39][DEBUG] : %%%%%%%%%%%%%%%% END ACCOUNT %%%%%%%%%%%%%%%%
[2021-08-04 10:12:40][DEBUG] : %%%%%%%%%%%%%%%% BEGIN REFRESH TOKEN (192) %%%%%%%%%%%%%%%%
[2021-08-04 10:12:40][DEBUG] : --- ID 192 ---
[2021-08-04 10:12:40][DEBUG] : --- I 0 ---
[2021-08-04 10:12:40][DEBUG] : --- CLIENT ID #######CLIENT_ID_HIDE######## ---
[2021-08-04 10:12:40][DEBUG] : --- CLIENT SECRET #######CLIENT_SECRET_HIDE######## ---
[2021-08-04 10:12:40][DEBUG] : --- EXPIRATION TIME 1628068236 ---
[2021-08-04 10:12:40][DEBUG] : --- ACCESS TOKEN #######ACCESS_TOKEN_HIDE######## ---
[2021-08-04 10:12:40][DEBUG] : --- REFRESH TOKEN #######REFRESH_TOKEN_HIDE######## ---
[2021-08-04 10:12:40][DEBUG] : --- ACCESS TOKEN #######ACCESS_TOKEN_HIDE######## ---
[2021-08-04 10:12:40][DEBUG] : %%%%%%%%%%%%%%%% END REFRESH TOKEN (192) %%%%%%%%%%%%%%%%
[2021-08-04 10:12:42][DEBUG] : %%%%%%%%%%%%%%%% BEGIN PLAYLIST (192) %%%%%%%%%%%%%%%%
[2021-08-04 10:12:42][DEBUG] : --- PLAYLIST ID spotify:user:sdifdy4v2ufgbx4urnmufvc9j:playlist:3W8Ufoex2Aut0Gl3JAwaqB|spotify:user:lokgxkzepnaedeyjqia420gyg:playlist:7CZlB5NjyFmGFx6i2KY03G|spotify:user:erikilla93:playlist:5RMYNflzye4vUoVTlCegja|spotify:user:gisele.lateste:playlist:0EIsd2iJuzQZ4pg4DokepO|spotify:user:tlfs7uobersbwx72qu1fu1lfy:playlist:6LuSoWEbOquNPcVAY7VGwX|spotify:user:tlfs7uobersbwx72qu1fu1lfy:playlist:1uDLqFG7nIjVz4wix5Xkuw|spotify:user:tlfs7uobersbwx72qu1fu1lfy:playlist:52knEvxt9DJ16uUZh3NG6g|spotify:user:31ehepvzhd6e6u7ldaeimqgu5qeu:playlist:1KGkMkN0WSjbNtyEUbR0B5|spotify:user:tlfs7uobersbwx72qu1fu1lfy:playlist:4QDaZzXuApkJ5ou8VwtEcL|spotify:user:tlfs7uobersbwx72qu1fu1lfy:playlist:0sTmvp4Q4UcqJMBxeZcFpV|spotify:user:tlfs7uobersbwx72qu1fu1lfy:playlist:5q3os10LCitwgFT4XXk3Jt|spotify:user:phvouuwkwu374u1itxz06a2j5:playlist:48hjam5GB2Dd5165pF6aIZ|spotify:user:tlfs7uobersbwx72qu1fu1lfy:playlist:0oy403kb1p5vXxvT8rgg7H|spotify:user:spotify:playlist:37i9dQZEVXbnIrgHEl6419|spotify:user:spotify:playlist:37i9dQZEVXcEYA2SGSSTZZ|spotify:user:spotify:playlist:37i9dQZF1DWYBO1MoTDhZI|spotify:user:spotifycharts:playlist:37i9dQZEVXbMDoHDwVN2tF ---
[2021-08-04 10:12:42][DEBUG] : --- PLAYLIST NAME LA PLAYLIST POUR BÉBÉ PAS TROP CHIANTE|Contines Pour Bebe|Contines africaines|Contine pour enfant|Bébé|Hi-fi test|Détente|Si el mundo se acaba (Official Music) - Yolo Aventuras |Chelou|2020|Playlist Margaux|Musique du moment|Favoris des radios|Release Radar|Discover Weekly|Good Vibes|Top 50 : Mondial ---
[2021-08-04 10:12:42][DEBUG] : --- LENGTH 17 ---
[2021-08-04 10:12:42][DEBUG] : --- LIST spotify:user:sdifdy4v2ufgbx4urnmufvc9j:playlist:3W8Ufoex2Aut0Gl3JAwaqB|LA PLAYLIST POUR BÉBÉ PAS TROP CHIANTE;spotify:user:lokgxkzepnaedeyjqia420gyg:playlist:7CZlB5NjyFmGFx6i2KY03G|Contines Pour Bebe;spotify:user:erikilla93:playlist:5RMYNflzye4vUoVTlCegja|Contines africaines;spotify:user:gisele.lateste:playlist:0EIsd2iJuzQZ4pg4DokepO|Contine pour enfant;spotify:user:tlfs7uobersbwx72qu1fu1lfy:playlist:6LuSoWEbOquNPcVAY7VGwX|Bébé;spotify:user:tlfs7uobersbwx72qu1fu1lfy:playlist:1uDLqFG7nIjVz4wix5Xkuw|Hi-fi test;spotify:user:tlfs7uobersbwx72qu1fu1lfy:playlist:52knEvxt9DJ16uUZh3NG6g|Détente;spotify:user:31ehepvzhd6e6u7ldaeimqgu5qeu:playlist:1KGkMkN0WSjbNtyEUbR0B5|Si el mundo se acaba (Official Music) - Yolo Aventuras ;spotify:user:tlfs7uobersbwx72qu1fu1lfy:playlist:4QDaZzXuApkJ5ou8VwtEcL|Chelou;spotify:user:tlfs7uobersbwx72qu1fu1lfy:playlist:0sTmvp4Q4UcqJMBxeZcFpV|2020;spotify:user:tlfs7uobersbwx72qu1fu1lfy:playlist:5q3os10LCitwgFT4XXk3Jt|Playlist Margaux;spotify:user:phvouuwkwu374u1itxz06a2j5:playlist:48hjam5GB2Dd5165pF6aIZ|Musique du moment;spotify:user:tlfs7uobersbwx72qu1fu1lfy:playlist:0oy403kb1p5vXxvT8rgg7H|Favoris des radios;spotify:user:spotify:playlist:37i9dQZEVXbnIrgHEl6419|Release Radar;spotify:user:spotify:playlist:37i9dQZEVXcEYA2SGSSTZZ|Discover Weekly;spotify:user:spotify:playlist:37i9dQZF1DWYBO1MoTDhZI|Good Vibes;spotify:user:spotifycharts:playlist:37i9dQZEVXbMDoHDwVN2tF|Top 50 : Mondial ---
[2021-08-04 10:12:42][DEBUG] : %%%%%%%%%%%%%%%% END PLAYLIST (192) %%%%%%%%%%%%%%%%
[2021-08-04 10:12:51][DEBUG] : --- EXECUTE device_id_set / {"select":"","utid":"0"} ---
[2021-08-04 10:12:51][DEBUG] : --- CLIENT ID #######CLIENT_ID_HIDE######## ---
[2021-08-04 10:12:51][DEBUG] : --- CLIENT SECRET #######CLIENT_SECRET_HIDE######## ---
[2021-08-04 10:12:51][DEBUG] : --- EXPIRATION TIME 1628068236 ---
[2021-08-04 10:12:51][DEBUG] : --- ACCESS TOKEN #######ACCESS_TOKEN_HIDE######## ---
[2021-08-04 10:12:51][DEBUG] : --- REFRESH TOKEN #######REFRESH_TOKEN_HIDE######## ---
[2021-08-04 10:12:51][DEBUG] : --- DEVICE REQUESTED ---
[2021-08-04 10:12:51][DEBUG] : --- DEVICE ID =  ---
[2021-08-04 10:14:22][DEBUG] : --- DEPENDANCY INFO ---
[2021-08-04 10:14:22][DEBUG] : --- DEPENDANCY INSTALL ---
[2021-08-04 10:14:22][DEBUG] : --- DEPENDANCY INFO ---
[2021-08-04 10:14:22][DEBUG] : --- DEPENDANCY INFO ---
[2021-08-04 10:15:02][DEBUG] : --- DEPENDANCY INFO ---
[2021-08-04 10:15:02][DEBUG] : --- DEPENDANCY INFO ---
[2021-08-04 10:17:13][DEBUG] : %%%%%%%%%%%%%%%% BEGIN GET AUTHORIZE URL %%%%%%%%%%%%%%%%
[2021-08-04 10:17:13][DEBUG] : --- CALLBACK http://#######IP_JEEDOM_HIDE########/index.php?v=d&m=spotify&p=spotify ---
[2021-08-04 10:17:13][DEBUG] : --- CLIENT ID #######CLIENT_ID_HIDE######## ---
[2021-08-04 10:17:13][DEBUG] : --- CLIENT SECRET #######CLIENT_SECRET_HIDE######## ---
[2021-08-04 10:17:13][DEBUG] : --- AUTHORIZE URL https://accounts.spotify.com/authorize?client_id=#######CLIENT_ID_HIDE########&redirect_uri=http%3A%2F%2F#######IP_JEEDOM_HIDE########%2Findex.php%3Fv%3Dd%26m%3Dspotify%26p%3Dspotify&response_type=code&scope=user-library-modify+user-library-read+app-remote-control+streaming+playlist-read-private+playlist-read-collaborative+playlist-modify-public+playlist-modify-private+user-follow-modify+user-follow-read+user-read-recently-played+user-top-read+user-read-email+user-read-private+user-read-currently-playing+user-read-playback-state+user-modify-playback-state ---
[2021-08-04 10:17:13][DEBUG] : %%%%%%%%%%%%%%%% END GET AUTHORIZE URL %%%%%%%%%%%%%%%%
[2021-08-04 10:17:14][DEBUG] : ### CODE #######CODE_HIDE######## ###
[2021-08-04 10:17:14][DEBUG] : %%%%%%%%%%%%%%%% BEGIN GET TOKEN %%%%%%%%%%%%%%%%
[2021-08-04 10:17:14][DEBUG] : --- CALLBACK http://#######IP_JEEDOM_HIDE########/index.php?v=d&m=spotify&p=spotify ---
[2021-08-04 10:17:14][DEBUG] : --- CLIENT ID #######CLIENT_ID_HIDE######## ---
[2021-08-04 10:17:14][DEBUG] : --- CLIENT SECRET #######CLIENT_SECRET_HIDE######## ---
[2021-08-04 10:17:14][DEBUG] : --- CODE #######CODE_HIDE######## ---
[2021-08-04 10:17:14][DEBUG] : --- ACCESS TOKEN #######ACCES_TOKEN_HIDE######## ---
[2021-08-04 10:17:14][DEBUG] : --- REFRESH TOKEN #######REFRESH_TOKEN_HIDE######## ---
[2021-08-04 10:17:14][DEBUG] : --- EXPIRE 1628068634 ---
[2021-08-04 10:17:14][DEBUG] : %%%%%%%%%%%%%%%% END GET TOKEN %%%%%%%%%%%%%%%%
[2021-08-04 10:17:16][DEBUG] : --- DAEMON START ---
[2021-08-04 10:17:16][DEBUG] : --- DAEMON info {"log":"spotify_daemon","launchable":"ok","state":"ok"}---
[2021-08-04 10:17:16][DEBUG] : --- DAEMON ALREADY STARTED ---
[2021-08-04 10:17:55][DEBUG] : --- EXECUTE device_id_set / {"select":"","utid":"0"} ---
[2021-08-04 10:17:55][DEBUG] : --- CLIENT ID #######CLIENT_ID_HIDE######## ---
[2021-08-04 10:17:55][DEBUG] : --- CLIENT SECRET #######CLIENT_SECRET_HIDE######## ---
[2021-08-04 10:17:55][DEBUG] : --- EXPIRATION TIME 1628068634 ---
[2021-08-04 10:17:55][DEBUG] : --- ACCESS TOKEN #######ACCES_TOKEN_HIDE######## ---
[2021-08-04 10:17:55][DEBUG] : --- REFRESH TOKEN #######REFRESH_TOKEN_HIDE######## ---
[2021-08-04 10:17:55][DEBUG] : --- DEVICE REQUESTED ---
[2021-08-04 10:17:55][DEBUG] : --- DEVICE ID =  ---
[2021-08-04 10:18:19][DEBUG] : --- EXECUTE playlist_id_set / {"select":"spotify:user:erikilla93:playlist:5RMYNflzye4vUoVTlCegja","utid":"0"} ---
[2021-08-04 10:18:19][DEBUG] : --- CLIENT ID #######CLIENT_ID_HIDE######## ---
[2021-08-04 10:18:19][DEBUG] : --- CLIENT SECRET #######CLIENT_SECRET_HIDE######## ---
[2021-08-04 10:18:19][DEBUG] : --- EXPIRATION TIME 1628068634 ---
[2021-08-04 10:18:19][DEBUG] : --- ACCESS TOKEN #######ACCES_TOKEN_HIDE######## ---
[2021-08-04 10:18:19][DEBUG] : --- REFRESH TOKEN #######REFRESH_TOKEN_HIDE######## ---
[2021-08-04 10:18:19][DEBUG] : --- PLAYLIST REQUESTED ---
[2021-08-04 10:18:19][DEBUG] : --- PLAYLIST ID = spotify:user:erikilla93:playlist:5RMYNflzye4vUoVTlCegja ---
[2021-08-04 10:18:19][ERROR] : Erreur exécution de la commande [Chambre Enfant][test][Playlist Id Set] : An unknown error occurred.
[2021-08-04 10:18:21][DEBUG] : --- EXECUTE device_id_set / {"select":"","utid":"0"} ---
[2021-08-04 10:18:21][DEBUG] : --- CLIENT ID #######CLIENT_ID_HIDE######## ---
[2021-08-04 10:18:21][DEBUG] : --- CLIENT SECRET #######CLIENT_SECRET_HIDE######## ---
[2021-08-04 10:18:21][DEBUG] : --- EXPIRATION TIME 1628068634 ---
[2021-08-04 10:18:21][DEBUG] : --- ACCESS TOKEN #######ACCES_TOKEN_HIDE######## ---
[2021-08-04 10:18:21][DEBUG] : --- REFRESH TOKEN #######REFRESH_TOKEN_HIDE######## ---
[2021-08-04 10:18:21][DEBUG] : --- DEVICE REQUESTED ---
[2021-08-04 10:18:21][DEBUG] : --- DEVICE ID =  ---
[2021-08-04 10:56:02][DEBUG] : --- EXECUTE device_id_set / {"select":"","utid":"0"} ---
[2021-08-04 10:56:02][DEBUG] : --- CLIENT ID #######CLIENT_ID_HIDE######## ---
[2021-08-04 10:56:02][DEBUG] : --- CLIENT SECRET #######CLIENT_SECRET_HIDE######## ---
[2021-08-04 10:56:02][DEBUG] : --- EXPIRATION TIME 1628068634 ---
[2021-08-04 10:56:02][DEBUG] : --- ACCESS TOKEN #######ACCES_TOKEN_HIDE######## ---
[2021-08-04 10:56:02][DEBUG] : --- REFRESH TOKEN #######REFRESH_TOKEN_HIDE######## ---
[2021-08-04 10:56:02][DEBUG] : --- DEVICE REQUESTED ---
[2021-08-04 10:56:02][DEBUG] : --- DEVICE ID =  ---
[2021-08-04 10:58:02][DEBUG] : --- EXECUTE device_id_set / {"select":"","utid":"0"} ---
[2021-08-04 10:58:02][DEBUG] : --- CLIENT ID #######CLIENT_ID_HIDE######## ---
[2021-08-04 10:58:02][DEBUG] : --- CLIENT SECRET #######CLIENT_SECRET_HIDE######## ---
[2021-08-04 10:58:02][DEBUG] : --- EXPIRATION TIME 1628068634 ---
[2021-08-04 10:58:02][DEBUG] : --- ACCESS TOKEN #######ACCES_TOKEN_HIDE######## ---
[2021-08-04 10:58:02][DEBUG] : --- REFRESH TOKEN #######REFRESH_TOKEN_HIDE######## ---
[2021-08-04 10:58:02][DEBUG] : --- DEVICE REQUESTED ---
[2021-08-04 10:58:02][DEBUG] : --- DEVICE ID =  ---
[2021-08-04 10:58:18][DEBUG] : --- DAEMON START ---
[2021-08-04 10:58:18][DEBUG] : --- DAEMON info {"log":"spotify_daemon","launchable":"ok","state":"ok"}---
[2021-08-04 10:58:18][DEBUG] : --- DAEMON ALREADY STARTED ---
[2021-08-04 10:58:18][DEBUG] : --- DAEMON STOP ---
[2021-08-04 10:58:18][DEBUG] : --- DAEMON INFO {"log":"spotify_daemon","launchable":"ok","state":"ok"}---
[2021-08-04 10:58:18][DEBUG] : --- DAEMON FIRST STOP ---
[2021-08-04 10:58:18][DEBUG] : --- CMD = sudo kill $(ps aux | grep "spotify.js" | awk '{print $2}') ---
[2021-08-04 10:58:18][DEBUG] : --- RESULT =  ---
[2021-08-04 10:58:18][DEBUG] : --- DAEMON INFO {"log":"spotify_daemon","launchable":"ok","state":"nok"}---
[2021-08-04 10:58:18][DEBUG] : --- DAEMON STOP SUCCEED ---
[2021-08-04 10:58:18][DEBUG] : Lancement de : /var/www/html/core/class/../../core/php/jeePlugin.php  plugin_id=spotify function=remove callInstallFunction=1
[2021-08-04 10:58:20][INFO] : Début d'activation du plugin
[2021-08-04 10:58:21][INFO] : Info sur le démon : {"launchable_message":"","launchable":"nok","state":"nok","log":"nok","auto":0}
[2021-08-04 10:58:21][DEBUG] : Lancement de : /var/www/html/core/class/../../core/php/jeePlugin.php  plugin_id=spotify function=install callInstallFunction=1
[2021-08-04 10:58:36][ERROR] : Erreur exécution de la commande [Chambre Enfant][test][Playlist Id Set] : An unknown error occurred.
[2021-08-04 10:58:37][ERROR] : Erreur exécution de la commande [Chambre Enfant][test][Play] : An unknown error occurred.

Avez-vous déja rencontré ce type de phénomène ?

Merci par avance pour vos conseils à ce sujet.
Au plaisir de vous lire.

Cordialement,
Gaudouy

En écoutant de la musique sur mon tel, j’ai la couverture qui est apparrue dans Jeedom :open_mouth:

Cependant, je n’arrive pas à lire la musique dans mon navigateur :

Lorsque je souhaite changer de playlist ou effectuer une action j’ai le message d’erreur :

An unknown error occurred.

@sbarre35 As-tu déja rencontré ce phénomène ?

J’ai reconfiguré le plugin.

J’ai le raspotify qui remonte, mais je ne peux rien gérer :

Dans les logs, j’ai ces infos :

[2021:08:05 12:39:33][INFO-][devicePollingRequest] >> getUserPlaylists()
(node:5491) UnhandledPromiseRejectionWarning: WebapiError: [object Object]
    at _toError (/var/www/html/plugins/spotify/ressources/node_modules/spotify-web-api-node/src/http-manager.js:47:10)
    at /var/www/html/plugins/spotify/ressources/node_modules/spotify-web-api-node/src/http-manager.js:71:25
    at Request.callback (/var/www/html/plugins/spotify/ressources/node_modules/superagent/lib/node/index.js:905:3)
    at IncomingMessage.<anonymous> (/var/www/html/plugins/spotify/ressources/node_modules/superagent/lib/node/index.js:1127:20)
    at Stream.emit (events.js:400:28)
    at Unzip.<anonymous> (/var/www/html/plugins/spotify/ressources/node_modules/superagent/lib/node/unzip.js:53:12)
    at Unzip.emit (events.js:400:28)
    at endReadableNT (internal/streams/readable.js:1317:12)
    at processTicksAndRejections (internal/process/task_queues.js:82:21)
(node:5491) UnhandledPromiseRejectionWarning: Unhandled promise rejection. This error originated either by throwing inside of an async function without a catch block, or by rejecting a promise which was not handled with .catch(). To terminate the node process on unhandled promise rejection, use the CLI flag `--unhandled-rejections=strict` (see https://nodejs.org/api/cli.html#cli_unhandled_rejections_mode). (rejection id: 1181)
(node:5491) UnhandledPromiseRejectionWarning: WebapiError: [object Object]
    at _toError (/var/www/html/plugins/spotify/ressources/node_modules/spotify-web-api-node/src/http-manager.js:47:10)
    at /var/www/html/plugins/spotify/ressources/node_modules/spotify-web-api-node/src/http-manager.js:71:25
    at Request.callback (/var/www/html/plugins/spotify/ressources/node_modules/superagent/lib/node/index.js:905:3)
    at IncomingMessage.<anonymous> (/var/www/html/plugins/spotify/ressources/node_modules/superagent/lib/node/index.js:1127:20)
    at Stream.emit (events.js:400:28)
    at Unzip.<anonymous> (/var/www/html/plugins/spotify/ressources/node_modules/superagent/lib/node/unzip.js:53:12)
    at Unzip.emit (events.js:400:28)
    at endReadableNT (internal/streams/readable.js:1317:12)
    at processTicksAndRejections (internal/process/task_queues.js:82:21)
(node:5491) UnhandledPromiseRejectionWarning: Unhandled promise rejection. This error originated either by throwing inside of an async function without a catch block, or by rejecting a promise which was not handled with .catch(). To terminate the node process on unhandled promise rejection, use the CLI flag `--unhandled-rejections=strict` (see https://nodejs.org/api/cli.html#cli_unhandled_rejections_mode). (rejection id: 1182)
[2021:08:05 12:39:34][INFO-][statusPollingRequest] >> getMyCurrentPlaybackState()

Est-ce un bug du plugin ? @sbarre35

Merci par avance,

gaudouy

Bonjour @gaudouy !

J’ai le même problème que vous, avez-vous finalement réussi à le résoudre ?

Merci !

Bonjour adriansinho, je n’ai pas réussi à faire fonctionner la solution.
Honettement, la gamme orangePi est une horreur. Je regrette mon achat.
Je suis passé sur un Picore Player avec un RPI3.
J’ai téléchargé l’ensemble des musiques de spotify en .mp3. J’ai stocké ces musiques sur le RPI3 avec PicorePlayer et je lance les musiques depuis Jeedom avec le plugin Squeezebox.

Le besoin était de pouvoir lancer des musiques pour endormir bébé :slight_smile:

Je suis désolé que tu n’aies pas pu le faire fonctionner. … Souvent, nous nous compliquons la vie alors que la solution la plus simple est plus facile hahaha J’espère que votre bébé se repose avec la musique :wink:

Au cas où cela vous intéresserait, la solution a consisté à créer un nouveau projet sur Spotify. Quelque chose se passait avec l’API qui rejetait les demandes, une situation très étrange en effet.

Merci de refaire les tests avec la dernière version publiée aujourd’hui, en veillant à réinstaller les dépendances, refaire le tokenize du device dans l’ihm, puis redémarrer le daemon … et faire une prière :slight_smile:

1 « J'aime »