2018-03-10, 02:11
I'm using a recent LE8.2 fork and want to see what kernel version I've installed but since it's a dev version there's to much information for a single line. So I want to add the kernel version as a single new line to the systeminfo panel right between operating system & uptime.
https://kodi.wiki/view/File:Settings-SysInfoSummary.jpg
Full patch
https://pastebin.com/MM3DzKvZ
For this I've patched some files and I get my new line but the information is missing & it's just an empty line. I would be pleased if someone could give me a hint what's missing.
--- a/xbmc/utils/SystemInfo.cpp
+++ b/xbmc/utils/SystemInfo.cpp
@@ -257,7 +257,8 @@
m_info.internetState = GetInternetState();
m_info.videoEncoder = GetVideoEncoder();
m_info.cpuFrequency = GetCPUFreqInfo();
- m_info.osVersionInfo = CSysInfo::GetOsPrettyNameWithVersion() + " (kernel: " + CSysInfo::GetKernelName() + " " + CSysInfo::GetKernelVersionFull() + ")";
+ m_info.osVersionInfo = CSysInfo::GetOsPrettyNameWithVersion();
+ m_info.kernelVersionInfo = CSysInfo::GetKernelName() + " " + CSysInfo::GetKernelVersionFull(); <-- missing information
m_info.macAddress = GetMACAddress();
m_info.batteryLevel = GetBatteryLevel();
return true;
https://kodi.wiki/view/File:Settings-SysInfoSummary.jpg
Full patch
https://pastebin.com/MM3DzKvZ
For this I've patched some files and I get my new line but the information is missing & it's just an empty line. I would be pleased if someone could give me a hint what's missing.
--- a/xbmc/utils/SystemInfo.cpp
+++ b/xbmc/utils/SystemInfo.cpp
@@ -257,7 +257,8 @@
m_info.internetState = GetInternetState();
m_info.videoEncoder = GetVideoEncoder();
m_info.cpuFrequency = GetCPUFreqInfo();
- m_info.osVersionInfo = CSysInfo::GetOsPrettyNameWithVersion() + " (kernel: " + CSysInfo::GetKernelName() + " " + CSysInfo::GetKernelVersionFull() + ")";
+ m_info.osVersionInfo = CSysInfo::GetOsPrettyNameWithVersion();
+ m_info.kernelVersionInfo = CSysInfo::GetKernelName() + " " + CSysInfo::GetKernelVersionFull(); <-- missing information
m_info.macAddress = GetMACAddress();
m_info.batteryLevel = GetBatteryLevel();
return true;