2023-01-22, 04:42
Hello @Angelinas .
I have recently solved this problem:
https://github.com/kodi-community-addons.../issues/20
Change in "script.skin.helper.widgets" pvr.py.
old:
The old behaviour was, if landscape was set then only a squashed poster was shown, if pvrartwork was present.
With my change, this function "pvr_bg_recordingsonly" is now also active in "script.skin.helper.backgrounds".
It made no difference before my change because it only used my tv recordings as the background image and as the "live tile". now the current tv programme is also included.
Now the problem is that pvr channel logos are no longer displayed via "script.skin.helper.widgets" in kodi nexus.
The problem exists with or without my change.
That concerns: "PVR TV Channels widget"
"PVR Latest Recordings widget" works with nexus, pvrartwork and pvr channel logos are displayed:
I have recently solved this problem:
https://github.com/kodi-community-addons.../issues/20
Change in "script.skin.helper.widgets" pvr.py.
old:
new:python:if not channellogo:
channellogo = self.metadatautils.get_channellogo(channelname)
if channellogo:
item["art"] = {"thumb": channellogo}
Now the landscape widget also shows fanart or landscape. If fanart or landscape is not present the pvr channel logo is shown.python:if not channellogo:
channellogo = self.metadatautils.get_channellogo(channelname)
if channellogo:
if not item.get("art"):
item["art"] = {}
if not item["art"].get("fanart"):
item["art"]["fanart"] = channellogo
if not item["art"].get("thumb"):
item["art"]["thumb"] = channellogo
The old behaviour was, if landscape was set then only a squashed poster was shown, if pvrartwork was present.
With my change, this function "pvr_bg_recordingsonly" is now also active in "script.skin.helper.backgrounds".
It made no difference before my change because it only used my tv recordings as the background image and as the "live tile". now the current tv programme is also included.
Now the problem is that pvr channel logos are no longer displayed via "script.skin.helper.widgets" in kodi nexus.
The problem exists with or without my change.
That concerns: "PVR TV Channels widget"
xml:plugin://script.skin.helper.widgets/?action=channels&mediatype=pvr&reload=$INFO[Window(Home).Property(widgetreload2)]&channelgroup=1
"PVR Latest Recordings widget" works with nexus, pvrartwork and pvr channel logos are displayed:
xml:plugin://script.skin.helper.widgets/?action=recordings&mediatype=pvr&reload=$INFO[Window(Home).Property(widgetreload2)]