![]() |
v17 Kodi 17.6 / LE8.2 / adding the kernel version to systeminfo as new line / patch inc. - Printable Version +- Kodi Community Forum (https://forum.kodi.tv) +-- Forum: Development (https://forum.kodi.tv/forumdisplay.php?fid=32) +--- Forum: Kodi Application (https://forum.kodi.tv/forumdisplay.php?fid=93) +--- Thread: v17 Kodi 17.6 / LE8.2 / adding the kernel version to systeminfo as new line / patch inc. (/showthread.php?tid=329401) |
Kodi 17.6 / LE8.2 / adding the kernel version to systeminfo as new line / patch inc. - 5schatten - 2018-03-10 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; |