• 1
  • 39
  • 40
  • 41(current)
  • 42
  • 43
  • 77
Release Picture Slideshow Screensaver
Bleh, the log files cycled out. I did have debug turned on, I don't recall seeing that.

I can also report that the last 5 times I tried the add-on functioned perfectly. It was only yesterday that it was failing almost 100% of the time. If I see the error happen again, I'll definitely look for that and post back here.
Reply
Hi,
Since a few days, the screensaver display video fanarts instead of my photos located on a NAS.
I already had the problem a few times, and rebuilding the index always solved it.
But it seems you have remove the index build option in advanced settings?
Why this choice? Any other way to rebuild it?
Reply
Here is the options i've got :
Image

And here is the debug log of the screensaver launching :
Code:
21:49:40 T:2396   DEBUG: CAnnouncementManager - Announcement: OnScreensaverActivated from xbmc
21:49:40 T:2396   DEBUG: GOT ANNOUNCEMENT, type: 4, from xbmc, message OnScreensaverActivated
21:49:40 T:2396   DEBUG: Activating window ID: 12900
21:49:40 T:2396   DEBUG: ------ Window Deinit (SettingsCategory.xml) ------
21:49:40 T:2396   DEBUG: ------ Window Init () ------
21:49:40 T:1788   DEBUG: Thread LanguageInvoker start, auto delete: false
21:49:40 T:1788    INFO: initializing python engine.
21:49:40 T:1788   DEBUG: CPythonInvoker(31, C:\Users\Julien\AppData\Roaming\Kodi\addons\screensaver.picture.slideshow\default.py): start processing
21:49:40 T:1788   DEBUG: -->Python Interpreter Initialized<--
21:49:40 T:1788   DEBUG: CPythonInvoker(31, C:\Users\Julien\AppData\Roaming\Kodi\addons\screensaver.picture.slideshow\default.py): the source file to load is "C:\Users\Julien\AppData\Roaming\Kodi\addons\screensaver.picture.slideshow\default.py"
21:49:40 T:1788   DEBUG: CPythonInvoker(31, C:\Users\Julien\AppData\Roaming\Kodi\addons\screensaver.picture.slideshow\default.py): setting the Python path to C:\Users\Julien\AppData\Roaming\Kodi\addons\screensaver.picture.slideshow;C:\Users\Julien\AppData\Roaming\Kodi\addons\script.module.simplejson\lib;C:\Program Files (x86)\Kodi\system\python\DLLs;C:\Program Files (x86)\Kodi\system\python\Lib;C:\Program Files (x86)\Kodi\python27.zip;C:\Program Files (x86)\Kodi\system\python\lib\plat-win;C:\Program Files (x86)\Kodi\system\python\lib\lib-tk;C:\Program Files (x86)\Kodi;C:\Program Files (x86)\Kodi\system\python;C:\Program Files (x86)\Kodi\system\python\lib\site-packages
21:49:40 T:1788   DEBUG: CPythonInvoker(31, C:\Users\Julien\AppData\Roaming\Kodi\addons\screensaver.picture.slideshow\default.py): entering source directory C:\Users\Julien\AppData\Roaming\Kodi\addons\screensaver.picture.slideshow
21:49:40 T:1788   DEBUG: CPythonInvoker(31, C:\Users\Julien\AppData\Roaming\Kodi\addons\screensaver.picture.slideshow\default.py): instantiating addon using automatically obtained id of "screensaver.picture.slideshow" dependent on version 2.24.0 of the xbmc.python api
21:49:41 T:1788 WARNING: CSkinInfo: failed to load skin settings
21:49:41 T:2396   DEBUG: ------ Window Init (C:\Users\Julien\AppData\Roaming\Kodi\addons\screensaver.picture.slideshow\resources\skins\default\720p\script-python-slideshow.xml) ------
21:49:41 T:2396    INFO: Loading skin file: C:\Users\Julien\AppData\Roaming\Kodi\addons\screensaver.picture.slideshow\resources\skins\default\720p\script-python-slideshow.xml, load type: LOAD_ON_GUI_INIT
21:49:41 T:2396   DEBUG: SECTION:LoadDLL(special://xbmcbin/system/ImageLib.dll)
21:49:41 T:2396   DEBUG: CGUIMediaWindow::GetDirectory ()
21:49:41 T:2396   DEBUG:   ParentPath = []
21:49:41 T:1788   DEBUG: CVideoDatabase::RunQuery took 10 ms for 697 items query: select * from movie_view
21:49:41 T:1788   DEBUG: CVideoDatabase::RunQuery took 6 ms for 75 items query: SELECT * FROM tvshow_view
21:49:41 T:1972   DEBUG: CVideoDatabase::RunQuery took 10 ms for 697 items query: select * from movie_view
21:49:41 T:4560   DEBUG: Thread JobWorker start, auto delete: true
21:49:41 T:1972   DEBUG: CVideoDatabase::RunQuery took 6 ms for 75 items query: SELECT * FROM tvshow_view
21:49:41 T:3500   DEBUG: PERIPHERALS::CPeripherals::GetMappingForDevice - device (2548:1002) mapped to Pulse-Eight CEC Adapter (type = cec)
21:49:48 T:2396   DEBUG: Previous line repeats 1 times.
21:49:48 T:2396   DEBUG: Keyboard: scancode: 0x4d, sym: 0x0113, unicode: 0x0000, modifier: 0x0
21:49:48 T:2396   DEBUG: CGUIWindowManager::PreviousWindow: Deactivate
21:49:48 T:2396   DEBUG: started alarm with name: sssssscreensaver
21:49:48 T:2396   DEBUG: ------ Window Deinit () ------
21:49:48 T:2396   DEBUG: CGUIWindowManager::PreviousWindow: Activate new
21:49:48 T:2396   DEBUG: ------ Window Init (SettingsCategory.xml) ------
Reply
Here is the settings.xml :
Code:
<settings>
    <setting id="background" value="true" />
    <setting id="date" value="false" />
    <setting id="effect" value="2" />
    <setting id="iptc" value="false" />
    <setting id="label" value="0" />
    <setting id="level" value="100" />
    <setting id="music" value="false" />
    <setting id="path" value="smb://NAS/Zepool/photos/" />
    <setting id="random" value="true" />
    <setting id="scale" value="false" />
    <setting id="time" value="10" />
    <setting id="type" value="2" />
</settings>

And here is the content of the e0e722a38d8d8803fb60138f15fa5301 file :
Code:
[]
Reply
I've deleted the e0e722a38d8d8803fb60138f15fa5301 file, launch again the screensaver, and it has rebuild the index and populated the e0e722a38d8d8803fb60138f15fa5301 file, and now i've got my photos!!

Cool. I don't know why it stopped working however.

And I have a question then : if I add new photos to the used dir, how can i rebuild the index without removing the file?
Reply
(2016-01-05, 22:40)djoole Wrote: Why this choice? Any other way to rebuild it?

the cache is now automatically recreated while the screensaver is running.
however, i just noticed there's a bug in the code, so it's not working properly atm.
thanx for the report!

(2016-01-05, 22:57)djoole Wrote: Cool. I don't know why it stopped working however.

probably kodi couldn't get a list of images from your nas when the screensaver started.
perhaps it was down or the request timed out.
Do not PM or e-mail Team-Kodi members directly asking for support.
Always read the Forum rules, Kodi online-manual, FAQ, Help and Search the forum before posting.
Reply
(2016-01-05, 22:57)djoole Wrote: I've deleted the e0e722a38d8d8803fb60138f15fa5301 file, launch again the screensaver, and it has rebuild the index and populated the e0e722a38d8d8803fb60138f15fa5301 file, and now i've got my photos!!

Cool. I don't know why it stopped working however.

And I have a question then : if I add new photos to the used dir, how can i rebuild the index without removing the file?

That did it for me too !!!

Question, what happens if we don't check "Create Image Index" in Settings ? Is the screensaver just more ressource hungry but all else is the same ?
Reply
(2016-01-06, 00:20)dwardo Wrote: Question, what happens if we don't check "Create Image Index" in Settings ? Is the screensaver just more ressource hungry but all else is the same ?

with the option disabled, the screensaver will scan the selected folder for images each time it starts.
in case you have a lot of images this may take a while and will delay the screensaver from starting.
(it will display the spinning circle while it's busy)


but as mentioned above, this setting is no longer present.
the addon will now handle it itself.
Do not PM or e-mail Team-Kodi members directly asking for support.
Always read the Forum rules, Kodi online-manual, FAQ, Help and Search the forum before posting.
Reply
(2016-01-06, 00:26)ronie Wrote:
(2016-01-06, 00:20)dwardo Wrote: Question, what happens if we don't check "Create Image Index" in Settings ? Is the screensaver just more ressource hungry but all else is the same ?

with the option disabled, the screensaver will scan the selected folder for images each time it starts.
in case you have a lot of images this may take a while and will delay the screensaver from starting.
(it will display the spinning circle while it's busy)


but as mentioned above, this setting is no longer present.
the addon will now handle it itself.

I have version 2.1.9 of the add-on and "Create Image Index" is still in the add-on settings". I Just looked and there is not update available yet from the KODI settings interface.
Reply
can't remember in which version i've removed it. might be the one for kodi jarvis.
Do not PM or e-mail Team-Kodi members directly asking for support.
Always read the Forum rules, Kodi online-manual, FAQ, Help and Search the forum before posting.
Reply
(2016-01-06, 00:44)ronie Wrote: can't remember in which version i've removed it. might be the one for kodi jarvis.

Yep you are right. I just checked... Guess I'll wait till Jarvis is out (and in osmc)

Thanks a bunch !
Reply
(2016-01-05, 23:03)ronie Wrote:
(2016-01-05, 22:40)djoole Wrote: Why this choice? Any other way to rebuild it?

the cache is now automatically recreated while the screensaver is running.
however, i just noticed there's a bug in the code, so it's not working properly atm.
thanx for the report!

Ok no problem Smile
Reply
Would it be possible to add function to exclude hidden (i.e. .thumb and similar) folders?
Or even better (but more complicated of course) to be able to exclude folders by user selection...
Reply
(2016-01-07, 11:48)JockeSve Wrote: Would it be possible to add function to exclude hidden (i.e. .thumb and similar) folders?
Or even better (but more complicated of course) to be able to exclude folders by user selection...

it's been requested a few times to be able to exclude folders,
so i guess i'll have to look into it :-)

as been suggested here: 1574750 (post)
i'll probably use the kodi advancedsettings.xml file to check for folders that should be excluded.
Do not PM or e-mail Team-Kodi members directly asking for support.
Always read the Forum rules, Kodi online-manual, FAQ, Help and Search the forum before posting.
Reply
(2016-01-07, 12:40)ronie Wrote: it's been requested a few times to be able to exclude folders,
so i guess i'll have to look into it :-)


Thanks!! Cool
Reply
  • 1
  • 39
  • 40
  • 41(current)
  • 42
  • 43
  • 77

Logout Mark Read Team Forum Stats Members Help
Picture Slideshow Screensaver4