v19 Bing: Photos of the Week
#35
@Lunatixz — indeed, as you say. From my previous email:
  1. Screen shows "info" instead of the name of the pictures currently being viewed
  2. Warning on the logs for "Skin has invalid include: contentpanelslide", followed by "ERROR <general>: Control 101 in window 13000 has been asked to focus, but it can't"
The first is possibly related to what @scott967 found out: possibly the URL for the link to get the images and associated data is being incorrectly constructed. While the image, by itself, doesn't require any special localisation (an image is, after all, just an image), Bing sends related text (namely, the image's caption) in several different languages (not many — and English is clearly the default — but it's a few). This is very likely what is not working and, as a consequence, we just get the actual box saying "Info" (or sometimes even just "", i.e., just the two quote symbols with nothing in-between). Others on this forum might have no issues since they rely on a different language (which gets downloaded correctly).

As to the issue related to the contentpanelslide, aye, if you're not using the animation, it should be removed. It's just a warning, sure, and has no direct impact on Kodi. However, as you can see from the posted logs, it is followed by an error. As said, I'm not really familiar with the whole Kodi ecosystem, but my best guess is that the failure to load the contentpanelslide has, as a consequence, some sort of small window/panel/element associated with it that cannot get the focus (possibly because it hasn't been correctly instantiated). Does that make a difference and/or an impact on Kodi? My guess is that it doesn't, but... there is a reason why Kodi flags it as an error as opposed to merely a warning. Just because you cannot see any difference, it does not mean that there isn't any impact; for example, Kodi might allocate some sort of memory buffer in advance, expecting that it will be instantiated correctly at some point. When this doesn't happen (due to lack of the animation panel thingy), 'something' is not working as it should, and, who knows, perhaps that memory buffer is never reclaimed by the system — meaning that every time the screensaver launches, a tiny little bit of memory never gets released back to the system; and, over time, that tiny little bit grows and grows, until eventually Kodi crashes.

Mind you, that is only speculation, of course. Because I use an underpowered Raspberri Pi Zero 2 W with only 512 MB of on-chip RAM, I see those kinds of memory-running-low-crashes much earlier than a 'normal' system with several GBytes of RAM to spare :-)

BTW, the reason I picked your screensaver by default is because it is available from the official Kodi repository, and, as such, a much more trustworthy source :-) There are other similar screensavers for Kodi elsewhere; I tested out Mark König's Bing Pictures Screensaver, which, however, only has a 19.X version available from the non-official kodinerds.net repo. It works flawlessly, so you might take a look at the relevant bits of code he used. It's not exactly a copy of yours, mind you; it lacks some features (such as a smoother transition) while adding some others (like pasting the current time in very big letters over the image). Nevertheless, it doesn't post any warnings or errors, and the Bing caption for the picture does work — and is even printed in the correct language. I'm sure it's worth taking a look at it Smile (I did!)

Cheers and thanks for all your work & efforts!
Reply


Messages In This Thread
Bing: Photos of the Week - by Lunatixz - 2017-08-11, 02:39
RE: Bing: Photos of the Week - by litemotiv - 2017-12-18, 00:34
RE: Bing: Photos of the Week - by Lunatixz - 2017-12-20, 22:50
RE: Bing: Photos of the Week - by klibanfan - 2018-03-14, 04:39
RE: Bing: Photos of the Week - by Lunatixz - 2018-03-14, 05:00
RE: Bing: Photos of the Week - by scott967 - 2018-08-24, 03:05
RE: Bing: Photos of the Week - by AcidZero - 2019-08-21, 21:52
RE: Bing: Photos of the Week - by Lunatixz - 2019-08-21, 21:55
RE: Bing: Photos of the Week - by Lunatixz - 2021-02-22, 04:11
RE: Bing: Photos of the Week - by scott967 - 2021-02-26, 00:56
RE: Bing: Photos of the Week - by MAX404 - 2021-03-07, 01:27
RE: Bing: Photos of the Week - by Lunatixz - 2021-03-07, 01:48
RE: Bing: Photos of the Week - by MAX404 - 2021-03-07, 03:35
RE: Bing: Photos of the Week - by Lunatixz - 2021-03-07, 04:31
RE: Bing: Photos of the Week - by MAX404 - 2021-03-07, 06:12
RE: Bing: Photos of the Week - by scott967 - 2021-03-08, 01:14
RE: Bing: Photos of the Week - by MAX404 - 2021-03-08, 04:29
RE: Bing: Photos of the Week - by Lunatixz - 2021-03-08, 01:17
RE: Bing: Photos of the Week - by MAX404 - 2021-03-08, 04:30
RE: Bing: Photos of the Week - by MAX404 - 2021-03-08, 23:23
RE: Bing: Photos of the Week - by fxj368 - 2021-03-14, 17:25
RE: Bing: Photos of the Week - by fxj368 - 2021-03-14, 17:26
RE: Bing: Photos of the Week - by Lunatixz - 2021-03-14, 22:10
RE: Bing: Photos of the Week - by fxj368 - 2021-03-15, 13:32
RE: Bing: Photos of the Week - by fxj368 - 2021-03-15, 18:36
RE: Bing: Photos of the Week - by emjaybee - 2021-09-17, 12:30
RE: Bing: Photos of the Week - by Lunatixz - 2021-09-17, 13:48
RE: Bing: Photos of the Week - by emjaybee - 2021-09-19, 00:48
RE: Bing: Photos of the Week - by matejdro - 2022-11-10, 16:30
RE: Bing: Photos of the Week - by scott967 - 2023-02-23, 03:31
RE: Bing: Photos of the Week - by Lunatixz - 2023-02-23, 16:06
RE: Bing: Photos of the Week - by Gwyneth Llewelyn - 2023-02-23, 18:46
RE: Bing: Photos of the Week - by Lunatixz - 2023-02-23, 22:08
RE: Bing: Photos of the Week - by scott967 - 2023-02-25, 23:20
Logout Mark Read Team Forum Stats Members Help
Bing: Photos of the Week2