Anything and everything to do with DCP-o-matic.
Post Reply
Posts: 3
Joined: Fri Jan 14, 2022 10:25 pm


Post by dimidx »


I'am trying to find a way to prepare some DCP and then encode them over night. I have found that dcpomatic2_cli car start the encoding. This is great so I can prepare DCP's with the GUI and then run it via scripts. I have a question about the "json server":

dcpomatic2_cli -j seems to start a json server on a defined port. I use it and a server is listening on my defined port but that is all.

"curl --request GET --url http://localhost:8080 --header 'Accept: application/json'" get nothing and the console show only: "request: / reply:"

Is that a REST API to command dcpomatic ? Is it documentation ?

Site Admin
Posts: 1640
Joined: Thu Nov 14, 2013 2:53 pm

Re: dcpomatic2_cli

Post by carl »

At the moment the JSON server is very limited; all you can do is request /?action=status and some JSON will be returned with the progress of the job. It's left over from some experiments a long time ago in making an online (web-based) version of DCP-o-matic.
Post Reply