summaryrefslogtreecommitdiff
path: root/src/lib/config.h
diff options
context:
space:
mode:
authorCarl Hetherington <cth@carlh.net>2025-03-02 00:39:36 +0100
committerCarl Hetherington <cth@carlh.net>2025-03-02 00:39:36 +0100
commit7bf9cf9c047a2df19e19d557a86f34585453660d (patch)
tree66cc1bb628f41ef49620b441b0f14b126b54857d /src/lib/config.h
parent7a9d77bc3573d85a5066e3472ae15b8b700a226c (diff)
Add KDM debug log file option.
Diffstat (limited to 'src/lib/config.h')
-rw-r--r--src/lib/config.h10
1 files changed, 10 insertions, 0 deletions
diff --git a/src/lib/config.h b/src/lib/config.h
index f598ffbc6..d9a95ebfd 100644
--- a/src/lib/config.h
+++ b/src/lib/config.h
@@ -110,6 +110,7 @@ public:
PLAYER_CONTENT_DIRECTORY,
PLAYER_PLAYLIST_DIRECTORY,
PLAYER_DEBUG_LOG,
+ KDM_DEBUG_LOG,
HISTORY,
SHOW_EXPERIMENTAL_AUDIO_PROCESSORS,
AUDIO_MAPPING,
@@ -576,6 +577,10 @@ public:
return _player_debug_log_file;
}
+ boost::optional<boost::filesystem::path> kdm_debug_log_file() const {
+ return _kdm_debug_log_file;
+ }
+
boost::optional<boost::filesystem::path> player_content_directory() const {
return _player_content_directory;
}
@@ -1122,6 +1127,10 @@ public:
changed(PLAYER_DEBUG_LOG);
}
+ void set_kdm_debug_log_file(boost::filesystem::path p) {
+ maybe_set(_kdm_debug_log_file, p, KDM_DEBUG_LOG);
+ }
+
void set_player_content_directory(boost::filesystem::path p) {
maybe_set(_player_content_directory, p, PLAYER_CONTENT_DIRECTORY);
}
@@ -1457,6 +1466,7 @@ private:
bool _respect_kdm_validity_periods;
/** Log file containing debug information for the player */
boost::optional<boost::filesystem::path> _player_debug_log_file;
+ boost::optional<boost::filesystem::path> _kdm_debug_log_file;
/** A directory containing DCPs whose contents are presented to the user
in the dual-screen player mode. DCPs on the list can be loaded
for playback.