ffplayout/ffplayout-api
2022-06-27 10:55:07 +02:00
..
src simplify code 2022-06-27 10:55:07 +02:00
Cargo.toml control systemd service 2022-06-24 17:41:55 +02:00
README.md reorganize project 2022-06-23 22:39:13 +02:00

ffplayout-api

ffplayout-api (ffpapi) is a non strict REST API for ffplayout. It makes it possible to control the engine, read and manipulate the config, save playlist, etc.

To be able to use the API it is necessary to initialize the settings database first. To do that, run:

ffpapi -i

Then add an admin user:

ffpapi -u <USERNAME> -p <PASSWORD> -e <EMAIL ADDRESS>

Then run the API thru the systemd service, or like:

ffpapi -l 127.0.0.1:8080

For possible endpoints read: api endpoints