thanks it works
2023-07-20, 23:46
Hello @Angelinas.
I have problems with some functions of SHS.
- PVRThumbs in the OSD do not always load, I only get my channel logo.
(estimated probability of loading available PVRThumbs in OSD is 30%)
- SkinHelper.ShowInfoAtPlaybackStart almost never works on PVR.
I have a workaround for this problem. But I don't know if it's enough.
Could you please check my solution?
I increased "xbmc.sleep(100)" to "xbmc.sleep(500)" at "def show_info_panel(self)" and "def wait_for_player".
With this change I was able to increase the estimated probability that the display works to about 80-90%.
I have problems with some functions of SHS.
- PVRThumbs in the OSD do not always load, I only get my channel logo.
(estimated probability of loading available PVRThumbs in OSD is 30%)
- SkinHelper.ShowInfoAtPlaybackStart almost never works on PVR.
I have a workaround for this problem. But I don't know if it's enough.
Could you please check my solution?
I increased "xbmc.sleep(100)" to "xbmc.sleep(500)" at "def show_info_panel(self)" and "def wait_for_player".
With this change I was able to increase the estimated probability that the display works to about 80-90%.
2023-09-09, 21:03
@Angelinas. A bit confused regarding the addon. I saw the example of having upnext episodes but anyway we can merge both upnext and in progress episodes? Like after finishing the inprogress get replaced by the next episode. Hope you can tell me if its possible.
2023-10-31, 03:18
Hello @Angelinas.
I have a good news (SkinHelper.DisableScreenSaverOnFullScreenMusic) is working again.
Here is my change in script.skin.helper.service "listitem_monitor.py".
old:
new:
here is my "listitem_monitor.py" for testing:
https://paste.kodi.tv/izitikeliw.kodi
I have a good news (SkinHelper.DisableScreenSaverOnFullScreenMusic) is working again.
Here is my change in script.skin.helper.service "listitem_monitor.py".
old:
python:def check_screensaver(self):
'''Allow user to disable screensaver on fullscreen music playback'''
if getCondVisibility(
"Window.IsActive(visualisation) + Skin.HasSetting(SkinHelper.DisableScreenSaverOnFullScreenMusic)"):
if not self.screensaver_disabled:
# disable screensaver when fullscreen music active
self.screensaver_disabled = True
screensaver_setting = kodi_json('Settings.GetSettingValue', '{"setting":"screensaver.mode"}')
if screensaver_setting:
self.screensaver_setting = screensaver_setting
kodi_json('Settings.SetSettingValue', {"setting": "screensaver.mode", "value": None})
log_msg(
"Disabled screensaver while fullscreen music playback - previous setting: %s" %
self.screensaver_setting, xbmc.LOGINFO)
elif self.screensaver_disabled and self.screensaver_setting:
# enable screensaver again after fullscreen music playback was ended
kodi_json('Settings.SetSettingValue', {"setting": "screensaver.mode", "value": self.screensaver_setting})
self.screensaver_disabled = False
self.screensaver_setting = None
log_msg(
"fullscreen music playback ended - restoring screensaver: %s" %
self.screensaver_setting, xbmc.LOGINFO)
new:
python:def check_screensaver(self):
'''Allow user to disable screensaver on fullscreen music playback'''
if getCondVisibility(
"Window.IsActive(visualisation) + Skin.HasSetting(SkinHelper.DisableScreenSaverOnFullScreenMusic)"):
xbmc.executebuiltin('InhibitScreensaver(true)')
elif getCondVisibility(
"!Window.IsActive(visualisation) | !Skin.HasSetting(SkinHelper.DisableScreenSaverOnFullScreenMusic)"):
xbmc.executebuiltin('InhibitScreensaver(false)')
here is my "listitem_monitor.py" for testing:
https://paste.kodi.tv/izitikeliw.kodi