[WIP] Multi Slideshow Screensaver

  Thread Rating:
  • 2 Vote(s) - 5 Average
  • 1
  • 2
  • 3
  • 4
  • 5
Post Reply
ex_directory Offline
Member
Posts: 55
Joined: Dec 2009
Reputation: 0
Location: UK
Post: #121
(2015-11-05 01:21)teredactle Wrote:  1.The new version, do we need to download and manually install, or will checking for updates in Kodi pull it automatically?

Download manually from my link. I am not yet familiar with pushing and git.

(2015-11-05 01:21)teredactle Wrote:  2.Is the SMB process differently than the "Picture Slideshow Screensaver" addon? This works fine for me on FTV (well also on OE actually), but the Multi Slideshow (0.1.0) gives me the problems.

Probably, I will contact Ronnie and ask him some questions.

Ex
find quote
iskonje Offline
Junior Member
Posts: 15
Joined: Jan 2015
Reputation: 0
Post: #122
(2015-11-04 23:21)ex_directory Wrote:  OK, every day is a learning day...

Samba (the linux implementation of SMB) apparently has some high protocol overhead, so trying to access 6000 files was then very slow.

NFS is better, I just posted over in the support thread with some more details.

To use NFS, I enabled it on the NAS and then changed settings as follows:
Code:
<setting id="image_path" value="nfs://192.168.1.1/volume1/Photo/" />

Worked first time except the synology stores thumbnails so I tweaked the script to ignore "@eaDir" files/folders.

Time to load 6000 images as follows:

SMB (Windows7, 15.1, wireless 802.11n) : 2.4s
Samba (AFTV, 14.2, wireless 2.4GHz): 31.21s
NFS (Without @eaDir fix, 14.2, wireless 2.4GHz): 93.78s
NFS (With @eaDir fix, 14.2, wireless 2.4GHz): 4.59s

I will post an updated screensaver again soon when I add some other useful features.

Hi, thanks for your help on this addon but how did you do that ?

Best regards.
find quote
ex_directory Offline
Member
Posts: 55
Joined: Dec 2009
Reputation: 0
Location: UK
Post: #123
(2015-11-17 20:51)iskonje Wrote:  Hi, thanks for your help on this addon but how did you do that ?
Best regards.

I specifically wrote some python code to ignore them. It is not configurable.
find quote
The Cheshire Cat Offline
Junior Member
Posts: 30
Joined: Jan 2016
Reputation: 0
Post: #124
Any clue why I can't pick an smb file share for my source folder
find quote
browned Offline
Member
Posts: 94
Joined: Sep 2015
Reputation: 0
Post: #125
I get this error trying to use my kodi picture library which points to a picture share on my windows server(SMB).

07:36:19 T:1441560880 NOTICE: EMBY KodiMonitor -> Method: GUI.OnScreensaverActivated Data: null
456.07:36:19 T:1587534128 ERROR: EXCEPTION Thrown (PythonToCppException) : -->Python callback/script returned the following error<--
457. - NOTE: IGNORING THIS CAN LEAD TO MEMORY LEAKS!
458. Error Type: <type 'exceptions.ImportError'>
459. Error Contents: No module named simplejson
460. Traceback (most recent call last):
461. File "/storage/emulated/0/Android/data/com.semperpax.spmc16/files/.spmc/addons/script.screensaver.multi_slideshow/screensaver.py", line 30, in <module>
462. import simplejson as json
463. ImportError: No module named simplejson
464. -->End of Python script error report<--
465.07:36:24 T:1441560880 NOTICE: EMBY KodiMonitor -> Method: GUI.OnScreensaverDeactivated Data: {"shuttingdown":false}
466.07:37:25 T:1441560880 NOTICE: EMBY KodiMonitor -> Method: GUI.OnScreensaverActivated Data: null
467.07:37:25 T:1561323824 ERROR: EXCEPTION Thrown (PythonToCppException) : -->Python callback/script returned the following error<--
468. - NOTE: IGNORING THIS CAN LEAD TO MEMORY LEAKS!
469. Error Type: <type 'exceptions.ImportError'>
470. Error Contents: No module named simplejson
471. Traceback (most recent call last):
472. File "/storage/emulated/0/Android/data/com.semperpax.spmc16/files/.spmc/addons/script.screensaver.multi_slideshow/screensaver.py", line 30, in <module>
473. import simplejson as json
474. ImportError: No module named simplejson
475. -->End of Python script error report<--
476.07:37:34 T:1441560880 NOTICE: EMBY KodiMonitor -> Method: GUI.OnScreensaverDeactivated Data: {"shuttingdown":false}

Any thoughts?

Oh this is on a Nvidia Shield TV.
(This post was last modified: 2016-03-27 21:20 by browned.)
find quote
rcrh Offline
Fan
Posts: 547
Joined: Aug 2004
Reputation: 0
Post: #126
I'm guessing this addon is broken since no one is responding to the errors it is throwing off.
find quote
tommibot Offline
Junior Member
Posts: 3
Joined: Apr 2016
Reputation: 0
Post: #127
Hello there,

I am writing here because after combing the net for the last couple of hours i cant seem to find an answer to my problem.

First of all, love this screensaver, its an awesome idea, so big love to those who spend their personal time making stuff that other can enjoy.

But enough kiss-ass.

The issues i am having are as follows:

1. The screensaver runs but it will tend to stutter fairly regularly through its animations. Which is a shame, because it takes away from the polished look of the desired effect.

2. If i launch something via a different add-on (eg. rom collection browser), then after i am done with that item for example done playing a game and it comes back to kodi, once i exit to the menu screen, i get the screensaver loading icon immediately, and if i dont press cancel/back like a madman, than it will launch the screensaver lickety split, and then after about 10 second of animation once the last image has transitioned, it will go black and kodi will freeze.

My setup is a HTPC, pretty maxed out (i7-6700 CPU, 16GB DDR4 ram, GTX970 GPU) so i would not think that the demands of this screensaver are something that would place a heavy load on my system to the point that there would be any lag that is hardware related.
The only issue i can think of is that i have the image source pointed at directory of photos from last year (a whole years worth of photos) and maybe the fact that the folder (with its sub folders, sub-sub folder, and images) is heavy enough that this is causing an issue. of course this is just a guess, because i have no idea.. but as a reference, i originally pointed had the image source pointing to the complete photos folder (with year folder, and then the previous mentioned structure of sub & and sub-sub etc), and when it was like this, the screensaver would starts with the little loading animation (circle-y thing), but it would only show this, and the images would not load.

So I have 3 questions:
1. If my assumptions are wrong, and its a setup problem or something, does anyone know of a solution to make it run smooth?
2. If my assumptions about folder load being too much are correct, then would anyone know of a way that I could point the image source at the global photos folder, but have the program randomly (at the beginning of screensaver startup only) choose a single (smaller) sub-sub folder to load images for the screensaver for that particullar run? So of course everytime the screensaver fired up it would display a different set of images.
3. Is this screen saver able to (or can it be altered to) have multiple sources assigned to it, that it would choose from randomly at each start up instance?

Sorry for the longish post, but like i said: cant find a similar thread, so hopefully with detail, if we get a solution, someone in the future will have an easy time of finding the answer they need. (I hope)

Thank you in advance.

tommi

p.s. i forgot to mention that i trying to have this run with the apple-tv like setting. with the updated the version, apple-tv like screensaver goes nuts, with images distorted to be too big and stretched and frozen on various areas of the screen.
(This post was last modified: 2016-05-25 06:18 by tommibot.)
find quote
robwebset Offline
Posting Freak
Posts: 1,876
Joined: Sep 2013
Reputation: 85
Post: #128
(2016-04-04 20:24)rcrh Wrote:  I'm guessing this addon is broken since no one is responding to the errors it is throwing off.

Hi rcrh,

I think sphere has stopped the support for the screensaver (Not 100% certain however).

If it helps, a long time ago I asked sphere if I could re-use some of his code (obviuously altered for my own uses) in one of my addons.

This means that a lot of very similar behaviour is available in the TvTunesScreensaver. Although the name does hint at TvTunes integration - that is only part of it's behaviour. By selecting "Image Source: Folder" in the settings, you can use it for just images.

Just in case this helps people having issues.

If you have any questions or issues with TvTunesScreensaver please make sure you post them on the TvTunesScreensaver thread. (And not on this thread).

Thanks
Rob

AudioBooks, eBooks, FilmWise, PinSentry, RandomScreensaver, Recap, Sleep, Sonos, Suitability, TvTunes, TvTunesScreensaver, VideoExtras, VideoScreensaver, WeatherScreensaver, AddonSync

Check out: robwebset repo
find quote
patpend Offline
Member
Posts: 56
Joined: Jul 2010
Reputation: 0
Post: #129
(2016-03-27 20:55)browned Wrote:  I get this error trying to use my kodi picture library which points to a picture share on my windows server(SMB).

07:36:19 T:1441560880 NOTICE: EMBY KodiMonitor -> Method: GUI.OnScreensaverActivated Data: null
456.07:36:19 T:1587534128 ERROR: EXCEPTION Thrown (PythonToCppException) : -->Python callback/script returned the following error<--
457. - NOTE: IGNORING THIS CAN LEAD TO MEMORY LEAKS!
458. Error Type: <type 'exceptions.ImportError'>
459. Error Contents: No module named simplejson
460. Traceback (most recent call last):
461. File "/storage/emulated/0/Android/data/com.semperpax.spmc16/files/.spmc/addons/script.screensaver.multi_slideshow/screensaver.py", line 30, in <module>
462. import simplejson as json
463. ImportError: No module named simplejson
464. -->End of Python script error report<--
465.07:36:24 T:1441560880 NOTICE: EMBY KodiMonitor -> Method: GUI.OnScreensaverDeactivated Data: {"shuttingdown":false}
466.07:37:25 T:1441560880 NOTICE: EMBY KodiMonitor -> Method: GUI.OnScreensaverActivated Data: null
467.07:37:25 T:1561323824 ERROR: EXCEPTION Thrown (PythonToCppException) : -->Python callback/script returned the following error<--
468. - NOTE: IGNORING THIS CAN LEAD TO MEMORY LEAKS!
469. Error Type: <type 'exceptions.ImportError'>
470. Error Contents: No module named simplejson
471. Traceback (most recent call last):
472. File "/storage/emulated/0/Android/data/com.semperpax.spmc16/files/.spmc/addons/script.screensaver.multi_slideshow/screensaver.py", line 30, in <module>
473. import simplejson as json
474. ImportError: No module named simplejson
475. -->End of Python script error report<--
476.07:37:34 T:1441560880 NOTICE: EMBY KodiMonitor -> Method: GUI.OnScreensaverDeactivated Data: {"shuttingdown":false}

Any thoughts?

Oh this is on a Nvidia Shield TV.

I'm also getting this error in Jarvis 16.1 running on an Android box with Android 4,4. However, this screensaver works fine on a Linux 14.04 LTS box running Helix 14.1. I suspect either Jarvis or Android is causing this screensaver to fail. Has anyone gotten this to work in Jarvis?
(This post was last modified: 2016-08-31 17:26 by patpend.)
find quote
IIIdefconIII Offline
Senior Member
Posts: 135
Joined: Mar 2015
Reputation: 2
Post: #130
does the windows media center screensaver also come in soon? would be lovely

also an question: tabledrop, some pictures are coming up side down. please any advise
find quote
robwebset Offline
Posting Freak
Posts: 1,876
Joined: Sep 2013
Reputation: 85
Post: #131
Hi All,

For anyone getting the error reported by patpend and browned you should be able to solve this by getting the simplejson module.

If you can't get that directly, try installing "TvTunes Screensaver" as that also requires it and will pull in the dependency for you. At that point "Multi Slideshow Screensaver" should start working again.

Thanks
Rob

AudioBooks, eBooks, FilmWise, PinSentry, RandomScreensaver, Recap, Sleep, Sonos, Suitability, TvTunes, TvTunesScreensaver, VideoExtras, VideoScreensaver, WeatherScreensaver, AddonSync

Check out: robwebset repo
find quote
Post Reply