2020-03-25, 09:11
(2020-03-24, 21:15)Rychem28 Wrote: @Wintermute0110 just a quick question regarding the plugin and the built-in screensaver (add-on).
When running the add-on (launching MAME) the screensaver launches in the background. For me the screensaver that I use is Video Screensaver and the audio for the video plays while in MAME.
Are you aware of a way for the plugin to communicate with Kodi so that it does not go into idle mode? I am going to post a similar question in the Kodi general forum asking if this is a normal thing for Kodi in general.
Cheers,
Rychem
Actually this is a good idea. In addition of what you say (background sound in case the screensaver outputs an audio stream) in my case I use the matrix screensaver which does not produce any sound but increases the CPU usage of Kodi a bit in detriment of the launched emulator. Other screensavers can be CPU intensive. I will have a look at the Python and the JSON RPC APIs, I think there should be a way for addons to disable the screensaver temporarily. If so, I will create a setting enabled by default. Also will include this in AEL.
I will keep you posted.
EDIT 1: I found a way to disable the screensaver using JSON RPC. I need to do some research but looks promising.
EDIT 2: the feature is now implemented in Github. Please test it when you have a chance.