+
+ bool analyse_ebur128 () const {
+ return _analyse_ebur128;
+ }
+
+ bool automatic_audio_analysis () const {
+ return _automatic_audio_analysis;
+ }
+
+#ifdef DCPOMATIC_WINDOWS
+ bool win32_console () const {
+ return _win32_console;
+ }
+#endif
+
+ std::vector<boost::filesystem::path> history () const {
+ return _history;
+ }
+
+ std::vector<boost::filesystem::path> player_history () const {
+ return _player_history;
+ }
+
+ boost::shared_ptr<DKDMGroup> dkdms () const {
+ return _dkdms;
+ }
+
+ boost::filesystem::path cinemas_file () const {
+ return _cinemas_file;
+ }
+
+ bool show_hints_before_make_dcp () const {
+ return _show_hints_before_make_dcp;
+ }
+
+ bool confirm_kdm_email () const {
+ return _confirm_kdm_email;
+ }
+
+ dcp::NameFormat kdm_container_name_format () const {
+ return _kdm_container_name_format;
+ }
+
+ dcp::NameFormat kdm_filename_format () const {
+ return _kdm_filename_format;
+ }
+
+ dcp::NameFormat dcp_metadata_filename_format () const {
+ return _dcp_metadata_filename_format;
+ }
+
+ dcp::NameFormat dcp_asset_filename_format () const {
+ return _dcp_asset_filename_format;
+ }
+
+ bool jump_to_selected () const {
+ return _jump_to_selected;
+ }
+
+ enum Nag {
+ NAG_DKDM_CONFIG,
+ NAG_ENCRYPTED_METADATA,
+ NAG_ALTER_DECRYPTION_CHAIN,
+ NAG_BAD_SIGNER_CHAIN,
+ /* Not really a nag but it's the same idea */
+ NAG_INITIAL_SETUP,
+ NAG_IMPORT_DECRYPTION_CHAIN,
+ NAG_DELETE_DKDM,
+ NAG_32_ON_64,
+ NAG_COUNT
+ };
+
+ bool nagged (Nag nag) const {
+ return _nagged[nag];
+ }
+
+ bool sound () const {
+ return _sound;
+ }
+
+ std::string cover_sheet () const {
+ return _cover_sheet;
+ }
+
+ boost::optional<std::string> sound_output () const {
+ return _sound_output;
+ }
+
+ boost::optional<boost::filesystem::path> last_player_load_directory () const {
+ return _last_player_load_directory;
+ }
+
+ enum KDMWriteType {
+ KDM_WRITE_FLAT,
+ KDM_WRITE_FOLDER,
+ KDM_WRITE_ZIP
+ };
+
+ boost::optional<KDMWriteType> last_kdm_write_type () const {
+ return _last_kdm_write_type;
+ }
+
+ enum DKDMWriteType {
+ DKDM_WRITE_INTERNAL,
+ DKDM_WRITE_FILE
+ };
+
+ boost::optional<DKDMWriteType> last_dkdm_write_type () const {
+ return _last_dkdm_write_type;
+ }
+
+ int frames_in_memory_multiplier () const {
+ return _frames_in_memory_multiplier;
+ }
+
+ boost::optional<int> decode_reduction () const {
+ return _decode_reduction;
+ }
+
+ bool default_notify () const {
+ return _default_notify;
+ }
+
+ enum Notification {
+ MESSAGE_BOX,
+ EMAIL,
+ NOTIFICATION_COUNT
+ };
+
+ bool notification (Notification n) const {
+ return _notification[n];
+ }
+
+ boost::optional<std::string> barco_username () const {
+ return _barco_username;
+ }
+
+ boost::optional<std::string> barco_password () const {
+ return _barco_password;
+ }
+
+ boost::optional<std::string> christie_username () const {
+ return _christie_username;
+ }
+
+ boost::optional<std::string> christie_password () const {
+ return _christie_password;
+ }
+
+ boost::optional<std::string> gdc_username () const {
+ return _gdc_username;
+ }
+
+ boost::optional<std::string> gdc_password () const {
+ return _gdc_password;
+ }
+
+ enum Interface {
+ INTERFACE_SIMPLE,
+ INTERFACE_FULL
+ };
+
+ Interface interface_complexity () const {
+ return _interface_complexity;
+ }
+
+ enum PlayerMode {
+ PLAYER_MODE_WINDOW, ///< one window containing image and controls
+ PLAYER_MODE_FULL, ///< just the image filling the screen
+ PLAYER_MODE_DUAL ///< image on one monitor and extended controls on the other
+ };
+
+ PlayerMode player_mode () const {
+ return _player_mode;
+ }
+
+ int image_display () const {
+ return _image_display;
+ }
+
+ enum VideoViewType {
+ VIDEO_VIEW_SIMPLE,
+ VIDEO_VIEW_OPENGL
+ };
+
+ VideoViewType video_view_type () const {
+ return _video_view_type;
+ }
+
+ bool respect_kdm_validity_periods () const {
+ return _respect_kdm_validity_periods;
+ }
+
+ boost::optional<boost::filesystem::path> player_activity_log_file () const {
+ return _player_activity_log_file;
+ }
+
+ boost::optional<boost::filesystem::path> player_debug_log_file () const {
+ return _player_debug_log_file;
+ }
+
+ boost::optional<boost::filesystem::path> player_content_directory () const {
+ return _player_content_directory;
+ }
+
+ boost::optional<boost::filesystem::path> player_playlist_directory () const {
+ return _player_playlist_directory;
+ }
+
+ boost::optional<boost::filesystem::path> player_kdm_directory () const {
+ return _player_kdm_directory;
+ }
+
+ AudioMapping audio_mapping (int output_channels);
+
+#ifdef DCPOMATIC_VARIANT_SWAROOP
+ boost::optional<boost::filesystem::path> player_background_image () const {
+ return _player_background_image;
+ }
+
+ std::string kdm_server_url () const {
+ return _kdm_server_url;
+ }
+
+ std::string player_watermark_theatre () const {
+ return _player_watermark_theatre;
+ }
+
+ int player_watermark_period () const {
+ return _player_watermark_period;
+ }
+
+ int player_watermark_duration () const {
+ return _player_watermark_duration;
+ }
+
+ std::vector<Monitor> required_monitors () const {
+ return _required_monitors;
+ }
+
+ boost::optional<boost::filesystem::path> player_lock_file () const {
+ return _player_lock_file;
+ }
+#endif
+
+ /* SET (mostly) */
+
+ void set_master_encoding_threads (int n) {
+ maybe_set (_master_encoding_threads, n);
+ }
+
+ void set_server_encoding_threads (int n) {
+ maybe_set (_server_encoding_threads, n);