(2019-10-21, 23:27)ronie Wrote: [ -> ]@diddle i added the future three years ago...
go to the addon settings and enable 'resume slideshow from last position'
@
ronie
Oops. ;-) Got me.
I'm using your screensaver with Kodi on my little picture-frame. Quite old, yes. I found your promise/comment, but no "done" in this thread, sorry.
However, thanks a lot!
Did a few tests, but found that the offset is only saved on clean exit (self._save_offset() called from _exit()).
Unformtunately my picture-frame tends to be killed / powered off, instead of being shut down cleanly. ;-)
So I'm thinking about moving the self._save_offset() into the "loop until onScreensaverDeactivated is called".
This way chances would increase that the offset is "somwhat more recent" than currently.
What do you think?
Cheers
Diddle.
hmmmm, that will make the addon write to the harddisk every few seconds, right?
if so, i'd rather not add such code to the addon... feel free to make such a change locally though :-)
(2019-10-22, 11:27)ronie Wrote: [ -> ]hmmmm, that will make the addon write to the harddisk every few seconds, right?
if so, i'd rather not add such code to the addon... feel free to make such a change locally though :-)
You are right... however, the writes are async and buffered usually. I believe there's more going on with Kodi running. ;-)
However, I will try this... and play with /proc/sys/vm/dirty_expire_centisecs on my Pi (maybe sync every 3min or so)
Thx,
Diddle.
Hi! Thanks for all the great work. Have been having an issue for a while and curious if others are seeing something similar... When playing audio, screensaver starts up fine and dims screen to 18%. However, every time the audio changes track, the screen lights up momentarily to 100% brightness then goes back to the 18% dim. Simple user error or logs required?
Been using this addon for ages, thanks!
I am using Kodi on a Raspberry Pi. Like listening to music whilst having the screensaver display my photos from a share on a NAS (usually whilst having Sunday Lunch). Problem is with the "always on" Pi even when I turn the TV off the Pi is still "displaying" the screensaver and pulling images from the NAS. I get round this by every time disabling the screensaver before turning TV off and then re-enabling when I turn on - this obviously works but is clunky to say the least.
Is there any way of mapping "enable & use screensaver" to a remote button and "disable screensaver" to another - or any other workarounds?
(2019-12-14, 12:51)Getyogrooveon Wrote: [ -> ]any way of mapping "enable & use screensaver"
There is nothing in the GUI nor advanced settings for this; I suppose if you're industrious enough to mod a skin, or have one of those remotes in which sequences are handled might be a possibility. Work-round might be setting up a path to the picture folder and using the picture slideshow viewer instead of a screen blanker or investigate some add-ons that might accomplish the task.
it indeed would require an addon to handle that, so i wrote one:
script.controlscreensaver-0.0.1.zip
once installed, you can map these actions to buttons of your remote:
RunScript(script.controlscreensaver,disable)
RunScript(script.controlscreensaver,enable)
(2019-12-14, 22:22)ronie Wrote: [ -> ]it indeed would require an addon to handle that, so i wrote one:
script.controlscreensaver-0.0.1.zip
once installed, you can map these actions to buttons of your remote:
RunScript(script.controlscreensaver,disable)
RunScript(script.controlscreensaver,enable)
Hey, thanks so much - been bugging me for years!
Away to try it now!
(2019-12-14, 22:22)ronie Wrote: [ -> ]it indeed would require an addon to handle that, so i wrote one:
script.controlscreensaver-0.0.1.zip
once installed, you can map these actions to buttons of your remote:
RunScript(script.controlscreensaver,disable)
RunScript(script.controlscreensaver,enable)
Hi
Wonder if you could provide some further help?
I have:
1. Transferred the zip file you kindly made available to the Pi
2. In Kodi gone to addons, install from Zip File and installed the addon (and got the install successfully message)
3. Edited the remote.xml file in Userdata>KeyMaps to include the following in the Global section:
<red>RunScript(script.controlscreensaver,disable)</red>
<green>RunScript(script.controlscreensaver,enable)</green>
4. Rebooted
Pressing red or green on the remote does nothing, and the screensaver still kicks in! Tried on both my Pi (running OSMC) and Windows 10 PC installs.
Am I missing something fundamental here?
Any help very gratefully received. Thanks
(2019-12-15, 11:20)Getyogrooveon Wrote: [ -> ] (2019-12-14, 22:22)ronie Wrote: [ -> ]it indeed would require an addon to handle that, so i wrote one:
script.controlscreensaver-0.0.1.zip
once installed, you can map these actions to buttons of your remote:
RunScript(script.controlscreensaver,disable)
RunScript(script.controlscreensaver,enable)
Hi
Wonder if you could provide some further help?
I have:
1. Transferred the zip file you kindly made available to the Pi
2. In Kodi gone to addons, install from Zip File and installed the addon (and got the install successfully message)
3. Edited the remote.xml file in Userdata>KeyMaps to include the following in the Global section:
<red>RunScript(script.controlscreensaver,disable)</red>
<green>RunScript(script.controlscreensaver,enable)</green>
4. Rebooted
Pressing red or green on the remote does nothing, and the screensaver still kicks in! Tried on both my Pi (running OSMC) and Windows 10 PC installs.
Am I missing something fundamental here?
Any help very gratefully received. Thanks
Hi
Completely ignore me - working like a dream, thank you so much (it helps if you spell screensaver right in the remote.xml!!!)
Hello Ronie, long time
I modified your screensaver slightly to show the title in a large font with a blueish-gray color, visible legible from across the room with my aging eyes.
I was wondering if there is a possibility to add a preference to "Not show watched fanart" when the screensaver runs.
Or, maybe I could add a few lines of code in my version. (5.0.9)
Thanks in advance
Hi,
I am using the latest
Milhouse build, already based on Python 3.
The Picture Slideshow Screensaver addon now always shows video fanart. I set up a photo directory where it should show my own photos. This is completely ignored. And the third option "music fanart" does not work, too. Only a loading screen is shown.
Maybe you have an idea about this issue.
Cheers,
Roi
I have the same problem even if the image folder contains several subfolders