06-11-2025, 10:30 AM
(This post was last modified: 06-11-2025, 10:30 AM by Tim Curtis.)
The REST API is documented in the Setup Guide (I just added the syntax for HTTP and CURL)
https://github.com/moode-player/docs/blo...1-rest-api
CURL syntax is:
Example for playing a Radio Station on host "trx"
https://github.com/moode-player/docs/blo...1-rest-api
CURL syntax is:
Code:
curl -G -S -s --data-urlencode "cmd=REST_API_COMMAND" http://moode/command/
Example for playing a Radio Station on host "trx"
Code:
# Command
curl -G -S -s --data-urlencode "cmd=play_item RADIO/Soma FM - Fluid.pls" http://trx/command/
# Returns
{"info":"OK"}