The Eversolo DMP-A6 player is a high-end 'streamer', a device capable of connecting to different music platforms, of listing audio files found on a local network or on its internal disk in order to present on its front screen a music listening interface. However, this device lacks browser control from a local network.
I really like this device: it really allows you to manage your music library (listening only), to listen to web radio easily, and without advertising. Its interface is also clear and presents different ways to listen to music (by title, genre, year, artist, etc.). The software is not free of bugs but regular updates fix them.
To control the device, there are several possibilities:
Control from a computer is therefore not available, unless you install the APK of the application on your operating system, but this is not always compatible. This is why I created a web interface dedicated to this device.
For this project, I started from the style of the interface created by neoheresy, on audiosciencereview.com, which I found interesting but which was only in sending mode. This interface does not know, for example, the status of the inputs/outputs nor the title currently playing:
The redesigned interface looks like this:
It therefore allows you to turn off the device or change titles when you are in another room, with a PC on hand, without having a phone with the application next to you.
Browsers block by default calls to resources present on a domain name other than the place where the files are hosted, unless the called server returns CORS (Cross-Origin resource sharing) call authorization information via an "Access-Control-Allow-Origin" header. This is not the case for device APIs.
To get around this blocking, it is possible to use a proxy. So I created one in PHP, in a few lines of code, but which therefore requires the installation of Apache and PHP.
It is possible to do this directly on the device, by installing Termux then Apache and PHP. However, Apache must be launched at startup but the Eversolo player does not allow/do not offer this possibility. Android, the system present on the device, seems to lock any launch at startup...
The software provided here requires you to have your own PHP server (on a NAS for example). It has been tested on DMP-A6 only.
If the Eversolo player is not powered on or the IP specified for the player is incorrect, you should see the following screen:
janv. 01 2025 | Il y avait bien une coquille dans le fichier proxy. Elle ne s'affichait que selon certains paramétrages du serveur. Je l'ai corrigée dans la version 1.2 | Eric |
janv. 01 2025 | OK j'ai trouvé, c est le cache du navigateur qui était en cause, avec navigateur jamais utilisé .. cela fonctionne parfaitement Désolé tout est OK :) | MADMIKE92 |
janv. 01 2025 | Bonjour Utilisateur de la version 1.0 , avec succès sur apache/php sur un raspberry PI J'ai voulu testé la 1.1 ce jour Voici ma config (ips et config inchangées entre la 1.0 et 1.1) pi@raspberrypi:/var/www/html/dmpa6/js $ cat config.js /* Eversolo DMP-A6 - Interface WEB Eric Quillévéré 2024 v 1.1 (26/12/2024) */ // IP of player const IP_DMP='192.168.1.60'; // IP of proxy (for CORS calls). Can be the same as current server const IP_PROXY='192.168.1.14'; const PORT_PROXY='8181'; const SHOW_COVERS_ON_SEARCH=true; // Show covers on search by albums (grid otherwise) const USE_PROXY_FOR_COVERS=true; // Use proxy for loading covers (faster because browser can use cache) const LAZY_LOADING=true; // Load covers with lazy loading (faster) // Proxy to access title information const URL_PROXY='http://' IP_PROXY ':' PORT_PROXY '/proxy/?url='; J'ai un message d erreur dans les logs APache [Wed Jan 01 12:15:53.194649 2025] [:error] [pid 31049] [client 192.168.1.49:50927] PHP Notice: Undefined variable: sURL in /var/www/html/dmpa6/proxy/index.php on line 12, referer: http://192.168.1.14:8181/ Sur Chrome via http://192.168.1.14:8181/ la page s'affiche globalement (icônes et mise en page pétée nouvelles fonctions inaccessibles) avec ceci DMP player is not detected on IP 192.168.1.60, with PROXY 192.168.1.14. 01/01/2025, 12:15:28 Sur Safari via http://192.168.1.14:8181/ la page n'affiche que le logo et ce message et rien d 'autre DMP player is not detected on IP 192.168.0.100, with PROXY 192.168.0.1. 01/01/2025, 12:20:11 J'ai relancé Apache , et le PI sans succés Je pense qu'il y a un petit soucis dans le code, mais cela dépasse mes compétences techniques ;) Merci en tout cas pour ce super outil, et meilleurs voeux pour 2025 Cdt madmike31@hotmail.com | MADMIKE92 |
déc. 14 2024 | Testé ce jour, sur un raspberry PI avec Apache&Php, ça marche au top super , merci !!! | MADMIKE92 |
RSS | Informations |