diff options
| author | Carl Hetherington <cth@carlh.net> | 2024-12-15 00:17:07 +0100 |
|---|---|---|
| committer | Carl Hetherington <cth@carlh.net> | 2025-02-02 21:25:06 +0100 |
| commit | 7657c79558287f0f16cfd0b1ee321bd4e0712058 (patch) | |
| tree | 2993c660ff55843f78c68b1c8c5d8cd50ac05241 /src/lib | |
| parent | 8533efde9d16a5d6e2b879c61cb579a97f501b40 (diff) | |
WIP: add playlists web interface.
Diffstat (limited to 'src/lib')
| -rw-r--r-- | src/lib/http_server.cc | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/src/lib/http_server.cc b/src/lib/http_server.cc index 61264df14..c69a8b496 100644 --- a/src/lib/http_server.cc +++ b/src/lib/http_server.cc @@ -124,6 +124,8 @@ HTTPServer::get(string const& url) { if (url == "/") { return Response(200, String::compose(dcp::file_to_string(resources_path() / "web" / "index.html"), variant::dcpomatic_player())); + } else if (url == "/playlists") { + return Response(200, String::compose(dcp::file_to_string(resources_path() / "web" / "playlists.html"), variant::dcpomatic_player())); } else if (url == "/api/v1/status") { nlohmann::json json; { |
