#ifdef DCPOMATIC_VARIANT_SWAROOP
_player_background_image = boost::none;
_kdm_server_url = "http://localhost:8000/{CPL}";
+ _player_watermark = boost::none;
#endif
_allowed_dcp_frame_rates.clear ();
#ifdef DCPOMATIC_VARIANT_SWAROOP
_player_background_image = f.optional_string_child("PlayerBackgroundImage");
_kdm_server_url = f.optional_string_child("KDMServerURL").get_value_or("http://localhost:8000/{CPL}");
+ _player_watermark = f.optional_string_child("PlayerWatermark");
#endif
/* Replace any cinemas from config.xml with those from the configured file */
root->add_child("PlayerBackgroundImage")->add_child_text(_player_background_image->string());
}
root->add_child("KDMServerURL")->add_child_text(_kdm_server_url);
+ if (_player_watermark) {
+ root->add_child("PlayerWatermark")->add_child_text(_player_watermark->string());
+ }
#endif
try {