From 38dd823ef30612715b16495ba421909a5a6a7629 Mon Sep 17 00:00:00 2001 From: jb-alvarado Date: Mon, 29 Jan 2024 08:23:21 +0100 Subject: [PATCH] add version to stats --- ffplayout-api/src/utils/system.rs | 2 ++ ffplayout-frontend | 2 +- 2 files changed, 3 insertions(+), 1 deletion(-) diff --git a/ffplayout-api/src/utils/system.rs b/ffplayout-api/src/utils/system.rs index cef409b6..20a9237f 100644 --- a/ffplayout-api/src/utils/system.rs +++ b/ffplayout-api/src/utils/system.rs @@ -48,6 +48,7 @@ pub struct MySystem { pub name: Option, pub kernel: Option, pub version: Option, + pub ffp_version: Option, } #[derive(Debug, Serialize)] @@ -148,6 +149,7 @@ pub fn stat(config: PlayoutConfig) -> SystemStat { name: System::name(), kernel: System::kernel_version(), version: System::os_version(), + ffp_version: Some(env!("CARGO_PKG_VERSION").to_string()), }; SystemStat { diff --git a/ffplayout-frontend b/ffplayout-frontend index 413406ca..f04d9ce0 160000 --- a/ffplayout-frontend +++ b/ffplayout-frontend @@ -1 +1 @@ -Subproject commit 413406ca6e8da802ee272e100611029b01190120 +Subproject commit f04d9ce0e0df1c79c037b9585c175fa93c35ea35