2022-04-06, 04:55
This function would have to be entered in the setting of "script.module.metadatautils".
I believe a change in "skin.helper.servicescript" at "listitem_monitor.py" would be required.
I found that:
"PVR.HasTVChannels" (can not distinguish between PVR TV and PVR radio).
I hope this helps you.
I believe a change in "skin.helper.servicescript" at "listitem_monitor.py" would be required.
I found that:
python:def get_settings(self):
'''collect our skin settings that control the monitoring'''
self.enable_extendedart = getCondVisibility("Skin.HasSetting(SkinHelper.EnableExtendedArt)") == 1
self.enable_musicart = getCondVisibility("Skin.HasSetting(SkinHelper.EnableMusicArt)") == 1
self.enable_animatedart = getCondVisibility("Skin.HasSetting(SkinHelper.EnableAnimatedPosters)") == 1
self.enable_extrafanart = getCondVisibility("Skin.HasSetting(SkinHelper.EnableExtraFanart)") == 1
self.enable_extraposter = getCondVisibility("Skin.HasSetting(SkinHelper.EnableExtraPoster)") == 1
self.enable_pvrart = getCondVisibility(
"Skin.HasSetting(SkinHelper.EnablePVRThumbs) + PVR.HasTVChannels") == 1
self.enable_forcedviews = getCondVisibility("Skin.HasSetting(SkinHelper.ForcedViews.Enabled)") == 1
studiologos_path = xbmc.getInfoLabel("Skin.String(SkinHelper.StudioLogos.Path)")
if studiologos_path != self.metadatautils.studiologos_path:
self.listitem_details = {}
self.metadatautils.studiologos_path = studiologos_path
# set additional window props to control contextmenus as using the skinsetting gives unreliable results
for skinsetting in ["EnableAnimatedPosters", "EnableMusicArt", "EnablePVRThumbs"]:
if getCondVisibility("Skin.HasSetting(SkinHelper.%s)" % skinsetting):
self.win.setProperty("SkinHelper.%s" % skinsetting, "enabled")
else:
self.win.clearProperty("SkinHelper.%s" % skinsetting)
"PVR.HasTVChannels" (can not distinguish between PVR TV and PVR radio).
I hope this helps you.