Some API

Discussion in 'Eversolo DMP-A6' started by Eric777, Nov 9, 2023.

  1. Eric777

    Eric777 Member

    Hi,

    Here are a short list of API, for those who are curious like me, which you can call from a browser:
    • Volume up/down:
      http://<IP>:9529/ZidooControlCenter/RemoteControl/sendkey?key=Key.VolumeDown
      http://<IP>:9529/ZidooControlCenter/RemoteControl/sendkey?key=Key.VolumeUp

    • Previous music/next :
      http://<IP>:9529/ZidooMusicControl/v2/playNext
      http://<IP>:9529/ZidooMusicControl/v2/playLast

    • Show vumeter:
      http://<IP>:9529/ZidooMusicControl/v2/changVUDisplay?openType=1
    • Pause on/off:
      http://<IP>:9529/ZidooMusicControl/v2/playOrPause
    • Do a search on text (replace <text> with your search):
      http://<IP>:9529/ZidooMusicControl/v2/searchMusicV2?key=<text>+&start=0&count=100
      http://<IP>:9529/ZidooMusicControl/v2/searchArtistV2?key=<text>+&start=0&count=100
      http://<IP>:9529/ZidooMusicControl/v2/searchAlbumV2?key=<text>+&start=0&count=100

      As I ever said, there is a bug on accentuated characters: DMP-A6 does not found title/artist/album with it
    • Current song:
      http://<IP>:9529/ZidooMusicControl/v2/getState
    Lyrics seems to come from Kugou website (https://www.kugou.com). It would be nice if we could set our own server/url to download them!

    There are other urls but I don't know if Eversolo is OK to give them.
     
    Burki and Nutul like this.
  2. Burki

    Burki Member

    Eric777 likes this.
  3. atomic garden

    atomic garden Member

    Just what I needed, thanks! :)

    upload_2023-11-9_17-53-40.png
     
  4. Eric777

    Eric777 Member

    You've right, sorry for the duplicate.
    I've found their API system well done (I'm a senor programmer). It's possible in fact to realize a website, hosted on the DMP-A6.
    I don't know why Eversolo didn't to that, perhaps because people prefer applications.
     
    Last edited: Nov 10, 2023
  5. Burki

    Burki Member

    @Eric777
    do you know, if there are some controls for setting/changing the output device for the DMP-A6?
     
  6. Eric777

    Eric777 Member

    Hi Burki,

    Apparently, it is this API : http://<IP>:9529/ZidooMusicControl/v2/setOutInputList?tag=<val>&index=<val>

    tag can be RCA, XLRRCA, XLR, HDMI, SPDIF
    val can be 1,2,3,4

    I don't have time to search deeper the subject, you can try with this and write your results here. :)
     
    Burki likes this.
  7. Burki

    Burki Member

    Hallo Eric,

    thanks very much. It's working (with val=1) without any problems. Hopefully, the complete API will published soon.
    I'm using it with my really old Philips Pronto Pro system (added with serial and wifi extenders), where I can add requests easily with ProntoScript.
     
  8. Robsp

    Robsp New Member

    Similar to last question - Is there any way of switching source input USB vs Internal player via API
    You can switch output via remote but no way to switch input?
     
  9. Burki

    Burki Member

    No, it's the opposite: For switching through the inputs, there exists an IR code
     
  10. Robsp

    Robsp New Member

    Yes your right. Its confusing how eversolo manages inputs and outputs.

    I did manage to work out what I needed.
    I wanted to switch input to internal then set output to USB DAC or XLR

    Switch input to internal
    http://<IPADDRESS>:9529/ZidooMusicControl/v2/setInputList?index=0&tag=XMOS

    Switch to USB output
    http://<IPADDRESS>:9529/ZidooMusicControl/v2/setOutInputList?index=0&tag=USB

    Switch to XLR output
    http://<IPADDRESS>:9529/ZidooMusicControl/v2/setOutInputList?index=0&tag=XLR
     
  11. Robsp

    Robsp New Member

    Another question for @Eric777 or anyonee
    Once you get results of search artist, music or album does anyone know how what api call would be to get a particular album or song
     
  12. Eric777

    Eric777 Member

    It plays music with its id (from database I presume):
    example: http://<IP>:9529/ZidooMusicControl/v2/playMusic?type=4&id=18917
    It seems that type=4 ask to play track now.
     

Share This Page