Jump to content

JSON output for MediaServer API


Recommended Posts

Posted

json
I've written a small Python proxy server that adds json functionality to the MediaServer.
I think you should install it on the same computer as the MediaServer (but it also works on a Raspberry Pi in the corner).
Use after installation: Instead of <mediaserver:8089>/api/<apicall>?parameter, call <proxyhost:PORT>/api/<apicall>?json=1&parameter.
If an XML response is recognized, you get it as a json string. Otherwise, you get the normal response from the MediaServer (even if you omit json).
Description and download at https://github.com/detlefm/MediaServerAPI

Feedback welcome.

  • Griga pinned this topic

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
Unfortunately, your content contains terms that we do not allow. Please edit your content to remove the highlighted words below.
Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

×
×
  • Create New...