Thank you for your donation!


Cloudsmith graciously provides open-source package management and distribution for our project.


Solved: HTTP API Commands for USB Numpad Controller - Need Help with Station Loading
#2
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:
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"}
Enjoy the Music!
moodeaudio.org | Mastodon Feed | GitHub
Reply


Messages In This Thread
RE: HTTP API Commands for USB Numpad Controller - Need Help with Station Loading - by Tim Curtis - 06-11-2025, 10:30 AM

Forum Jump: