summaryrefslogtreecommitdiff
path: root/src/lib/http_server.h
diff options
context:
space:
mode:
Diffstat (limited to 'src/lib/http_server.h')
-rw-r--r--src/lib/http_server.h6
1 files changed, 6 insertions, 0 deletions
diff --git a/src/lib/http_server.h b/src/lib/http_server.h
index 7ca5fa534..42307b124 100644
--- a/src/lib/http_server.h
+++ b/src/lib/http_server.h
@@ -82,6 +82,11 @@ public:
_dcp_name = name;
}
+ void set_current_playlist(std::vector<std::string> playlist) {
+ boost::mutex::scoped_lock lm(_mutex);
+ _current_playlist = playlist;
+ }
+
private:
void handle(std::shared_ptr<Socket> socket) override;
Response request(std::vector<std::string> const& request, std::string const& body);
@@ -93,5 +98,6 @@ private:
bool _playing = false;
dcpomatic::DCPTime _position;
std::string _dcp_name;
+ std::vector<std::string> _current_playlist;
};