From 4adb291343205ad09c927557e7420302748ef64a Mon Sep 17 00:00:00 2001 From: jjd-uk Date: Sun, 5 Jan 2025 14:44:36 +0000 Subject: [PATCH] Master - Refactor player process (#296) Thanks. --- 1080p/DialogPlayerProcessInfo.xml | 1054 +++++++++---------- language/resource.language.en_gb/strings.po | 74 +- 2 files changed, 564 insertions(+), 564 deletions(-) diff --git a/1080p/DialogPlayerProcessInfo.xml b/1080p/DialogPlayerProcessInfo.xml index 3f53cf18..b8d2d9c6 100644 --- a/1080p/DialogPlayerProcessInfo.xml +++ b/1080p/DialogPlayerProcessInfo.xml @@ -1,8 +1,9 @@ - 100 + 10000 dialogeffect DepthOSD + ClearProperty(PlayerInfoDialogFocus,Home) 0 0 @@ -12,570 +13,497 @@ DepthOSD+ media info background image - 0 - 0 - 1920 - 488 + -30 + 350r + 1980 + 350 black-back.png - - Header - 75 - 15 - 848 - 38 - - left - center - font13_title - blue - - - Hardware decoding - 75 - 60 - 248 - 38 - - left - center - font12 - grey2 - - - Hardware decoding value - 330 - 60 - 675 - 38 - true - - left - center - font12 - white - Player.Process(videohwdecoder) - - - Hardware decoding value - 330 - 60 - 675 - 38 - true - - left - center - font12 - white - !Player.Process(videohwdecoder) - - - Decoder - 75 - 98 - 248 - 38 - - left - center - font12 - grey2 - - - Decoder value - 330 - 98 - 675 - 38 - true - - left - center - font12 - white - - - Deinterlace - 75 - 135 - 248 - 38 - - left - center - font12 - grey2 - - - Deinterlace value - 330 - 135 - 675 - 38 - true - - left - center - font12 - white - - - Resolution - 75 - 173 - 248 - 38 - - left - center - font12 - grey2 - - - Resolution value - 330 - 173 - 675 - 38 - true - - left - center - font12 - white - - - Header - 75 - 218 - 848 - 38 - - left - center - font13_title - blue - - - Decoder - 75 - 263 - 248 - 38 - - left - center - font12 - grey2 - - - Decoder value - 330 - 263 - 675 - 38 - true - - left - center - font12 - white - - - Channels - 75 - 300 - 248 - 38 - - left - center - font12 - grey2 - - - Channels value - 330 - 300 - 675 - 38 - true - - left - center - font12 - white - - - Header - 75 - 345 - 848 - 38 - - left - center - font13_title - blue - - - CPU - 75 - 390 - 248 - 38 - - left - center - font12 - grey2 - - - CPU value - 330 - 390 - 675 - 38 - true - - left - center - font12 - white - - - Memory - 75 - 428 - 248 - 38 - - left - center - font12 - grey2 - - - Memory value - 330 - 428 - 675 - 38 - true - - left - center - font12 - white - - - - DepthOSD+ - VideoPlayer.Content(LiveTV) + system.getbool(pvrplayback.signalquality) - 960 - - Header - 75 - 15 - 848 - 38 - - left - center - font13_title - blue - - - Backend - 75 - 60 - 248 - 38 - - left - center - font12 - grey2 - - - Backend value - 330 - 60 - 675 - 38 - true - - left - center - font12 - white - - - Device - 75 - 98 - 248 - 38 - - left - center - font12 - grey2 - - - Device value - 330 - 98 - 675 - 38 - true - - left - center - font12 - white - - - Status - 75 - 135 - 248 - 38 - - left - center - font12 - grey2 - - - Status value - 330 - 135 - 675 - 38 - true - - left - center - font12 - white - - - Signal - 75 - 173 - 248 - 38 - - left - center - font12 - grey2 - - - Progressbar - 330 - 183 - 413 - 21 - PVR.ActStreamProgrSignal - - - Signal value - 818 - 173 - 270 - 38 - - left - center - font12 - white - - - SNR - 75 - 210 - 248 - 38 - - left - center - font12 - grey2 - - - Progressbar - 330 - 221 - 413 - 21 - - PVR.ActStreamProgrSNR - - - SNR value - 818 - 210 - 270 - 38 - - left - center - font12 - white - - - BER - 75 - 248 - 248 - 38 - - left - center - font12 - grey2 - - - BER value - 330 - 248 - 675 - 38 - true - - left - center - font12 - white - - - UNC - 75 - 285 - 248 - 38 - - left - center - font12 - grey2 - - - UNC value - 330 - 285 - 675 - 38 - true - - left - center - font12 - white - - - Service - 75 - 323 - 248 - 38 - - left - center - font12 - grey2 - - - Service value - 330 - 323 - 675 - 38 - true - - left - center - font12 - white - - - Encryption - 75 - 360 - 248 - 38 - - left - center - font12 - grey2 - - - Encryption value - 330 - 360 - 675 - 38 - true - - left - center - font12 - white - - - Provider - 75 - 398 - 248 - 38 - - left - center - font12 - grey2 - - - Provider value - 330 - 398 - 675 - 38 - true - - left - center - font12 - white - - - Mux - 75 - 435 - 248 - 38 - - left - center - font12 - grey2 - - - Mux value - 330 - 435 - 675 - 38 - true - - left - center - font12 - white + + 403r + HomeSubMenuCommonValues + + + 53 + 53 + HomeSubEnd.png + + + 53 + 270 + 240 + center + center + font12 + grey2 + white + true + HomeSubFO.png + HomeSubNF.png + false + + VideoPlayer.Content(livetv) + SetProperty(PlayerInfoDialogFocus,10001,Home) + + + 53 + 270 + 240 + center + center + font12 + grey2 + white + true + HomeSubFO.png + HomeSubNF.png + false + + SetProperty(PlayerInfoDialogFocus,10002,Home) + + + 53 + 270 + 240 + center + center + font12 + grey2 + white + true + HomeSubFO.png + HomeSubNF.png + false + + SetProperty(PlayerInfoDialogFocus,10003,Home) + + + 53 + 270 + 240 + center + center + font12 + grey2 + white + true + HomeSubFO.png + HomeSubNF.png + false + + SetProperty(PlayerInfoDialogFocus,10004,Home) + + + 53 + 53 + HomeSubEnd.png + + + + PVR - Left column + 50 + 340r + String.IsEqual(Window(Home).Property(PlayerInfoDialogFocus),10001) + + Header + 880 + 38 + + font13_title + blue + + + 880 + 38 + + font12 + black + + + 880 + 38 + + font12 + black + + + 880 + 38 + + font12 + black + + + 880 + 38 + + font12 + black + + + 880 + 38 + + font12 + black + + + 880 + 38 + + font12 + black + + + + PVR - Right column + 960 + 340r + String.IsEqual(Window(Home).Property(PlayerInfoDialogFocus),10001) + true + + Header + 880 + 38 + + font13_title + blue + + + 880 + 38 + + font12 + black + + + 880 + 38 + + font12 + black + + + 880 + 38 + + font12 + black + + + 880 + 38 + + font12 + black + + + 0 + 0 + 880 + 18 + PVR.ActStreamProgrSignal + + + 880 + 38 + + font12 + black + + + 0 + 0 + 880 + 21 + PVR.ActStreamProgrSNR + + + + Player info - Left column + 50 + 340r + String.IsEqual(Window(Home).Property(PlayerInfoDialogFocus),10002) + + Header + 880 + 38 + + font13_title + blue + + + Hardware decoding value + 880 + 38 + + font12 + Player.Process(videohwdecoder) + + + Hardware decoding value + 880 + 38 + true + + font12 + !Player.Process(videohwdecoder) + + + 880 + 38 + + font12 + black + Player.HasVideo + + + 880 + 38 + + font12 + black + Player.HasVideo + + + 880 + 38 + + font12 + black + Player.HasVideo + + + 880 + 38 + + font12 + black + Player.HasVideo + + + 880 + 38 + + font12 + black + Player.HasVideo + + + 0 + 0 + 880 + 21 + Player.CacheLevel + Player.HasVideo + + + + Player info - Right column + 990 + 340r + String.IsEqual(Window(Home).Property(PlayerInfoDialogFocus),10002) + + Header + 880 + 38 + + font13_title + blue + + + 1600 + 38 + + font12 + black + Player.HasVideo + + + 1600 + 38 + + font12 + black + Player.HasVideo + + + 1600 + 38 + + font12 + black + Player.HasVideo + + + + Media info - Left column + 50 + 340r + String.IsEqual(Window(Home).Property(PlayerInfoDialogFocus),10003) + + Header + 880 + 38 + + font13_title + blue + + + 830 + 38 + + font12 + black + !String.IsEmpty(VideoPlayer.VideoCodec) + + + 830 + 38 + + font12 + black + !String.IsEmpty(VideoPlayer.VideoResolution) + + + 830 + 38 + + font12 + black + !String.IsEmpty(VideoPlayer.HdrType) + + + 830 + 38 + + font12 + black + !String.IsEmpty(VideoPlayer.VideoAspect) + + + 830 + 38 + + font12 + black + !String.IsEmpty(VideoPlayer.VideoBitrate) + + + + Media info - Right column + 990 + 340r + String.IsEqual(Window(Home).Property(PlayerInfoDialogFocus),10003) + + Header + 880 + 38 + + font13_title + blue + + + 880 + 38 + + font12 + black + !String.IsEmpty(VideoPlayer.AudioCodec) + + + 880 + 38 + + font12 + black + !String.IsEmpty(VideoPlayer.AudioChannels) + + + 880 + 38 + + font12 + black + !String.IsEmpty(VideoPlayer.AudioBitrate) + + + 880 + 38 + + font12 + black + !String.IsEmpty(VideoPlayer.AudioLanguage) + + + + System info + 50 + 340r + String.IsEqual(Window(Home).Property(PlayerInfoDialogFocus),10004) + + Header + 880 + 38 + + font13_title + blue + + + 1600 + 38 + + font12 + black + !String.IsEmpty(System.ScreenResolution) + + + 1600 + 38 + + font12 + black + !String.IsEmpty(System.FPS) + + + 1600 + 38 + + font12 + black + !String.IsEmpty(System.CPUTemperature) + + + 1600 + 38 + + font12 + black + !String.IsEmpty(system.memory(used)) + + + 0 + 0 + 880 + 18 + System.Memory(used.percent) + + + 1600 + 38 + + font12 + black + System.SupportsCPUUsage + + + 0 + 0 + 880 + 18 + System.CpuUsage + - + \ No newline at end of file diff --git a/language/resource.language.en_gb/strings.po b/language/resource.language.en_gb/strings.po index f8a6b73c..df8e2f7d 100644 --- a/language/resource.language.en_gb/strings.po +++ b/language/resource.language.en_gb/strings.po @@ -483,6 +483,22 @@ msgctxt "#31309" msgid "Memory used:" msgstr "" +msgctxt "#31310" +msgid "PVR" +msgstr "" + +msgctxt "#31311" +msgid "Player" +msgstr "" + +msgctxt "#31312" +msgid "Media" +msgstr "" + +msgctxt "#31313" +msgid "System" +msgstr "" + #empty strings from id 31310 to 31318 msgctxt "#31319" @@ -527,7 +543,63 @@ msgctxt "#31331" msgid "Album details" msgstr "" -#empty strings from id 31332 to 31350 +msgctxt "#31332" +msgid "Signal details" +msgstr "" + +msgctxt "#31333" +msgid "Video information" +msgstr "" + +msgctxt "#31334" +msgid "Audio information" +msgstr "" + +msgctxt "#31335" +msgid "Video resolution" +msgstr "" + +msgctxt "#31336" +msgid "Video bitrate" +msgstr "" + +msgctxt "#31337" +msgid "Audio bitrate" +msgstr "" + +msgctxt "#31338" +msgid "Audio channels" +msgstr "" + +msgctxt "#31339" +msgid "Audio language" +msgstr "" + +msgctxt "#31340" +msgid "Stream" +msgstr "" + +msgctxt "#31341" +msgid "Pixel format" +msgstr "" + +msgctxt "#31342" +msgid "Player cache" +msgstr "" + +msgctxt "#31343" +msgid "Screen resolution" +msgstr "" + +msgctxt "#31344" +msgid "Screen rendering speed" +msgstr "" + +msgctxt "#31345" +msgid "System temperature" +msgstr "" + +#empty strings from id 31346 to 31350 msgctxt "#31351" msgid "Pause"