+ _player_content_directory = boost::none;
+ changed (PLAYER_CONTENT_DIRECTORY);
+ }
+
+ void set_player_playlist_directory (boost::filesystem::path p) {
+ maybe_set (_player_playlist_directory, p, PLAYER_PLAYLIST_DIRECTORY);
+ }
+
+ void unset_player_playlist_directory () {
+ if (!_player_playlist_directory) {
+ return;
+ }
+ _player_playlist_directory = boost::none;
+ changed (PLAYER_PLAYLIST_DIRECTORY);
+ }
+
+ void set_player_kdm_directory (boost::filesystem::path p) {
+ maybe_set (_player_kdm_directory, p);
+ }
+
+ void unset_player_kdm_directory () {
+ if (!_player_kdm_directory) {
+ return;
+ }
+ _player_kdm_directory = boost::none;
+ changed ();
+ }
+
+#ifdef DCPOMATIC_VARIANT_SWAROOP
+ void set_player_background_image (boost::filesystem::path p) {
+ maybe_set (_player_background_image, p, PLAYER_BACKGROUND_IMAGE);
+ }
+
+ void unset_player_background_image () {
+ if (!_player_background_image) {
+ return;
+ }
+ _player_background_image = boost::none;
+ changed (PLAYER_BACKGROUND_IMAGE);
+ }
+
+ void set_kdm_server_url (std::string s) {
+ maybe_set (_kdm_server_url, s);
+ }
+
+ void set_player_watermark_theatre (std::string p) {
+ maybe_set (_player_watermark_theatre, p);
+ }
+
+ void set_player_watermark_period (int minutes) {
+ maybe_set (_player_watermark_period, minutes);
+ }
+
+ void set_player_watermark_duration (int milliseconds) {
+ maybe_set (_player_watermark_duration, milliseconds);
+ }
+
+ void set_required_monitors (std::vector<Monitor> monitors) {
+ maybe_set (_required_monitors, monitors);
+ }
+
+ void set_player_lock_file (boost::filesystem::path p) {
+ maybe_set (_player_lock_file, p);
+ }
+
+ void unset_player_lock_file () {
+ if (!_player_lock_file) {
+ return;
+ }
+ _player_lock_file = boost::none;