![]() |
Release Picture Slideshow Screensaver - Printable Version +- Kodi Community Forum (https://forum.kodi.tv) +-- Forum: Support (https://forum.kodi.tv/forumdisplay.php?fid=33) +--- Forum: Add-on Support (https://forum.kodi.tv/forumdisplay.php?fid=27) +---- Forum: Look and feel (https://forum.kodi.tv/forumdisplay.php?fid=178) +---- Thread: Release Picture Slideshow Screensaver (/showthread.php?tid=154032) |
RE: Picture Slideshow Screensaver - DeawD8t - 2020-05-28 (2020-05-26, 00:13)DeawD8t Wrote: (...) Update: I investigated a little bit further (I have never poked that deep into Kodi, so I am still in a steep learning curve and apologize for any naive or dumb questions and assumptions). tl;dr: IMHO the culprit of this lies somewhere in how the overlay of music track duration / progress is rendered in the GUI. Disabling "Display music info (...)" is a quick and dirty workaround for cpu utilization to calm down. Some more details of what I have tried so far:
At the moment I trying to tie together the information I get from .kodi/addons/screensaver.picture.slideshow/resources/skins/default/720p/script-python-slideshow.xml and .kodi/addons/screensaver.picture.slideshow/resources/lib/gui.py; if I am not mistaken (I am no programmer ...), the music info control gets startet ("self._set_prop('Music', 'show')") inside self._get_settings() when the Screensaver gets activated, but my wisdom ends when trying to understand how the elapsed time of the music playing ("$INFO[Player.Time(hh:mm ![]() Any hint where to look further is appreciated, also if this is the wrong forum thread, e.g. if this is a more GUI / rendering specific problem that should be addressed elsewhere (where?). My (probably naive) approach would be to find out, if I can "regionize" somehow the Display music info Control, so it is properly picked up as a dirty region and not the whole screen. An alternative I am going to try is to remove the progress and "time" label controls, which whould still be an ugly workaround. RE: Picture Slideshow Screensaver - ronie - 2020-05-28 enabling the musicinfo on the screensaver doesn't make a whole lot of a difference on my end. it roughly adds ~ 5% to the cpu usage. updating the Player.Time label as well as the progress bar is handled in Kodi core, it isn't done in any kind of loop in the addon. RE: Picture Slideshow Screensaver - DeawD8t - 2020-05-28 (2020-05-28, 10:04)DeawD8t Wrote: (...) An alternative I am going to try is to remove the progress and "time" label controls, which whould still be an ugly workaround. As expected the above works on my system - I completely removed the entire <control type="group"> with the 3 elements Player.Time, Player.Progress, Player.Duration from script-python-slideshow.xml and now the Picture Slideshow behaves normally in regards to CPU utilization (decreased from > 70 % down to ~ 10 %) - I suspect the "no moving parts" really helps the software renderer. I am considering this as my "personal" workaround (so I will probably have to remove the above referenced control group from script-python-slideshow.xml every time the addon gets updated?). I find the workaround not as ugly any more as I first thought - actually it aligns pretty well with how the skin (Estuary) is handling the Music Info (at least in my environment): if the screensaver is not active - i.e. in the regular gui view - it does not show any "moving parts" like elapsed time, progress etc. either, only a little "play" triangle symbol and "Artist - Song". (2020-05-28, 17:38)ronie Wrote: enabling the musicinfo on the screensaver doesn't make a whole lot of a difference on my end. it roughly adds ~ 5% to the cpu usage. Have you tried it with software rendering only? (e.g. pass "LIBGL_ALWAYS_SOFTWARE=true" as env variable to kodi if I remember correctly) RE: Picture Slideshow Screensaver - ronie - 2020-05-28 sorry to disappoint you, but as i said in my initial reply: i'm not an expert in rendering, so can't offer any advice i'm afraid. RE: Picture Slideshow Screensaver - DeawD8t - 2020-05-29 (2020-05-28, 21:57)ronie Wrote: sorry to disappoint you, but as i said in my initial reply: i'm not an expert in rendering, so can't offer any advice i'm afraid.No problem - as I laid out in my post, I helped myself, it works now, it is solved for me by removing the "moving parts" from the slide show (=removed elapsed time & progress bar in "show Music" control). :-) I was just speculating academically on the reason why you do not see that much of an improvement in your environment, my guess: you have hardware accelerated rendering, but it is just academic interest, not important. I'll test it for myself if I find the time to recreate the environment on a hardware accelerated system. If my use case wasn't so niche, I would even suggest to implement my solution as an improvement in the official version of the add-on, e.g. create a configurable "show time & progress" sub-setting item in the settings menu ("disabling this setting might help lower CPU usage on low-end systems" as a help text). RE: Picture Slideshow Screensaver - AbRASiON - 2020-06-05 Feature suggestion: I wish a piece of text in the corner (random, changes) came up just gently, light font, says the name of each entry, so I know what the art is for. RE: Picture Slideshow Screensaver - ronie - 2020-06-05 if it's about fanart, you can already display the name of the movie an/or artist. you need to select this setting 'Display image name: use filename' for pictures, the 'Display additional picture tags' setting can be used. that will get the 'title' from the embedded IPTC/XMP tags. to avoid screen burn in, the screensaver already displays this info using a slightly transparent font. RE: Picture Slideshow Screensaver - nicr4wks - 2020-06-09 Any chance this supports video and picture files in the same folder? Have the screensaver setup as a digital photo frame but adding in short video clips would be awesome ![]() RE: Picture Slideshow Screensaver - ronie - 2020-06-09 it's not possible to add such a feature. kodi will stop the screensaver as soon as video playback is started. RE: Picture Slideshow Screensaver - Ksm67 - 2020-08-15 Hi folks, is there any chance to increase the picture change time higher than 60 seconds. I want to change pictures every 15 minutes for example. Thx in advance Martin RE: No success adding features - inowheeno - 2020-08-18 Hi there, I've been enjoying this plugin for some time now for putting random images from my NAS on my TV screen. But I'm having trouble adding features. I'm trying to implement the following features:
Any pointers to what I might be doing wrong? RE: Picture Slideshow Screensaver - Fietspomp - 2020-09-22 I have a strange bug with the Picture Slideshow Screensaver and the skin "Madnox" (Madnox topic) I've set it to display Video Fanart and that works fine. However I also activated "Display filename". But the filename doesn't show with this skin, it does with other skins (Aeon Madnox and Esturary). There's also nothing in the debug log as far as I can tell. Will try to debug more! Here's what I see in the logs: Quote:2020-09-22 23:53:47.722 T:139958916458240 DEBUG: screensaver.picture.slideshow: script version 5.0.9 startedI see the exact same message with any other skin were the Filename does show. RE: Picture Slideshow Screensaver - heisenberg818 - 2020-09-27 Hello, i have a wish. Can the cool screensaver an option to show the time? RE: Picture Slideshow Screensaver - heisenberg818 - 2020-10-28 @ronie Hello Ronie, Can you help me please. I wish me a option for the time in you beautiful screensaver. RE: Picture Slideshow Screensaver - ZapCod75 - 2021-01-13 hello, how can i stop/start the screensaver with terminal command or crontab ? thank you |