• 1
  • 54
  • 55
  • 56(current)
  • 57
  • 58
  • 78
Release Picture Slideshow Screensaver
it doesn't ;-)

a simple regex to exclude some folders
Code:
<pictureexcludes>
  <regexp>foldername1|foldername2|foldername3</regexp>
</pictureexcludes>
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
Hi Ronie,

Thanks for your reply.
that's how far I already came reading the posts and the wiki.
But - what would this "regex" be exactly? I have no clou unfortunately Sad
Can you give a real example?
Reply
(2017-08-19, 08:59)heula Wrote:
(2017-08-19, 08:58)heula Wrote: Is it possible to have Picture Slideshow Screensaver not only as a screensaver but als as a normal photo addon to watch photos? I love the info that Picture Slideshow Screensaver shows in the the selected images such as tag info and date and time from the exif info. When I watch my photos with the Kodi photo viewer non of that info is directly visible. I have not find any other Kodi addon that does all that.

The one thing that is nice to see and Picture Slideshow Screensaver does not have for as far as I have seen is location info.

Great addon!

Thanks.

Hi Heula - I love this add-on - I am using it to view my family photos sitting on my Synology NAS.  I'm running 17.3 Estuary on a RPi3.  I was able to manually turn on the screen saver by mapping a remote button to the "ActivateScreensaver" function.  this may give you the capability you are looking for!  I have a T3 airmouse remote, and map to the Red key.  Works a treat.


<keymap>
  <global>
    <keyboard>
      <key id="61587">ActivateScreensaver</key>  <!-- 61587 = Red button -->
    </keyboard>
  </global>
</keymap>


Hi ronie
Is it possible to activate your screensaver app without setting it as the screensaver?  On my Estuary RPI3 setup, the normal picture viewer takes soooo long to load pictures it is inoperable.  Your app is slick - it just works - I have photos with Pan and zoom effects changing every 4 seconds without an issue.     I want to be able to manually turn on this add-on (eg to have it running when we are listening to music), but not have it setup as my screensaver ( I don't want Kodi to be continually burning energy pulling pictures from my NAS when the TV is turned off).  I've tried mapping various functions to my remote to start the app including "RunAddon", "RunPlugin" and "RunScript" functions, but they don't work.  

Debug log for RunAddon
16:59:56.907 T:1962357872   DEBUG: Keyboard: scancode: 0x3f, sym: 0x011e, unicode: 0x0000, modifier: 0x0
16:59:56.907 T:1962357872   DEBUG: OnKey: f5 (0xf094) pressed, action is RunAddon(screensaver.picture.slideshow)
16:59:56.908 T:1962357872   ERROR: RunAddon: unknown add-on id 'screensaver.picture.slideshow', or unexpected add-on type (not a script or plugin).
16:59:57.150 T:1962357872   DEBUG: Keyboard: scancode: 0x3f, sym: 0x011e, unicode: 0x0000, modifier: 0x0

debug log for RunPlugin
16:06:31.324 T:1961714800   DEBUG: Keyboard: scancode: 0x40, sym: 0x011f, unicode: 0x0000, modifier: 0x0
16:06:31.324 T:1961714800   DEBUG: OnKey: f6 (0xf095) pressed, action is RunPlugin(plugin://screensaver.picture.slideshow)
16:06:31.326 T:1961714800   ERROR: Unable to find plugin screensaver.picture.slideshow
16:06:31.566 T:1961714800   DEBUG: Keyboard: scancode: 0x40, sym: 0x011f, unicode: 0x0000, modifier: 0x0

debug log for RunScript
16:06:35.544 T:1961714800   DEBUG: Keyboard: scancode: 0x41, sym: 0x0120, unicode: 0x0000, modifier: 0x0
16:06:35.544 T:1961714800   DEBUG: OnKey: f7 (0xf096) pressed, action is RunScript(/storage/.kodi/addons/screensaver.picture.slideshow)
16:06:35.544 T:1961714800   ERROR: ExecuteAsync - Not executing non-existing script /storage/.kodi/addons/screensaver.picture.slideshow
16:06:35.815 T:1961714800   DEBUG: Keyboard: scancode: 0x41, sym: 0x0120, unicode: 0x0000, modifier: 0x0

Any suggestion on a hack I could attempt to change the screensaver app into a standalone picture viewer add-on?
Reply
should be as simple as
Code:
RunScript(screensaver.picture.slideshow)
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
(2017-11-02, 07:36)Forumfan Wrote: Hi Ronie,

Thanks for your reply.
that's how far I already came reading the posts and the wiki.
But - what would this "regex" be exactly? I have no clou unfortunately Sad
Can you give a real example?

that is a real example ;-)

you just list the foldernames you want to exclude in the <regex> field
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
Oh - and I thought that "regex" stands for a specific expression.... :Smile

Ok, I'll try it then. 
And surely the nomedia option will not work?
Reply
(2017-11-02, 15:16)Forumfan Wrote: And surely the nomedia option will not work?

nope, it won't work ;-)
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
OK.

One more question : just the folder name, or some kind of (relative) path? And my folder names contain blanks - how to deal with that? Use "xxxxxx xxxxxx"?
Reply
(2017-11-02, 13:42)ronie Wrote: should be as simple as
Code:
RunScript(screensaver.picture.slideshow)

Hi ronie, awesome, that worked. Thanks so much.  Just checked the logfile which shows a warning about the behavior being deprecated.  Is this an issue?


5.685 T:1962304624   DEBUG: OnKey: f7 (0xf096) pressed, action is RunScript(screensaver.picture.slideshow)
07:03:15.686 T:1962304624 WARNING: RunScript called for a non-script addon 'screensaver.picture.slideshow'. This behaviour is deprecated.
07:03:15.686 T:1506821024   DEBUG: Thread LanguageInvoker start, auto delete: false
07:03:15.686 T:1506821024    INFO: initializing python engine.
07:03:15.686 T:1506821024   DEBUG: CPythonInvoker(6, /storage/.kodi/addons/screensaver.picture.slideshow/default.py): start processing
07:03:15.727 T:1506821024   DEBUG: -->Python Interpreter Initialized<--
07:03:15.727 T:1506821024   DEBUG: CPythonInvoker(6, /storage/.kodi/addons/screensaver.picture.slideshow/default.py): the source file to load is "/storage/.kodi/addons/screensaver.picture.slideshow/default.py"
07:03:15.727 T:1506821024   DEBUG: CPythonInvoker(6, /storage/.kodi/addons/screensaver.picture.slideshow/default.py): setting the Python path to /storage/.kodi/addons/screensaver.picture.slideshow:/storage/.kodi/addons/script.module.elementtree/lib:/usr/lib/python27.zip:/usr/lib/python2.7:/usr/lib/python2.7/plat-linux2:/usr/lib/python2.7/lib-tk:/usr/lib/python2.7/lib-old:/usr/lib/python2.7/lib-dynload:/usr/lib/python2.7/site-packages:/usr/lib/python2.7/site-packages/gtk-2.0
07:03:15.727 T:1506821024   DEBUG: CPythonInvoker(6, /storage/.kodi/addons/screensaver.picture.slideshow/default.py): entering source directory /storage/.kodi/addons/screensaver.picture.slideshow
07:03:15.728 T:1506821024   DEBUG: CPythonInvoker(6, /storage/.kodi/addons/screensaver.picture.slideshow/default.py): instantiating addon using automatically obtained id of "screensaver.picture.slideshow" dependent on version 2.25.0 of the xbmc.python api
07:03:15.779 T:1962304624   DEBUG: Keyboard: scancode: 0x41, sym: 0x0120, unicode: 0x0000, modifier: 0x0
07:03:15.829 T:1506821024   DEBUG: screensaver.picture.slideshow: script version 4.2.1 started
07:03:15.954 T:1506821024 WARNING: CSkinInfo: failed to load skin settings
07:03:15.962 T:1962304624   DEBUG: ------ Window Init (/storage/.kodi/addons/screensaver.picture.slideshow/resources/skins/default/720p/script-python-slideshow.xml) ------
07:03:15.962 T:1962304624    INFO: Loading skin file: /storage/.kodi/addons/screensaver.picture.slideshow/resources/skins/default/720p/script-python-slideshow.xml, load type: LOAD_ON_GUI_INIT
07:03:15.983 T:1962304624   DEBUG: CGUIMediaWindow::GetDirectory ()
07:03:15.983 T:1962304624   DEBUG:   ParentPath = []
07:03:16.076 T:1506821024   DEBUG: screensaver.picture.slideshow: slideshow type: 2
07:03:16.076 T:1506821024   DEBUG: screensaver.picture.slideshow: image path: smb://192.168.14.21/Photo/
07:03:16.076 T:1506821024   DEBUG: screensaver.picture.slideshow: update: False
07:03:17.106 T:1506821024   DEBUG: screensaver.picture.slideshow: items: 21669
07:03:18.039 T:1874850720   DEBUG: screensaver.picture.slideshow: slideshow type: 2
07:03:18.039 T:1874850720   DEBUG: screensaver.picture.slideshow: image path: smb://192.168.14.21/Photo/
07:03:18.039 T:1874850720   DEBUG: screensaver.picture.slideshow: update: True
07:03:18.042 T:1874850720   DEBUG: screensaver.picture.slideshow: create cache
07:03:18.437 T:1725875104   DEBUG: Thread JobWorker start, auto delete: true
Reply
(2017-11-02, 22:14)FatDuckz Wrote: Hi ronie, awesome, that worked. Thanks so much.  Just checked the logfile which shows a warning about the behavior being deprecated.  Is this an issue?

technically this addon is not a script, but a screensaver... so you're not really supposed to run it like this.
in the future, the ability the use RunScript() on anything that is not a real script will be removed.
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
Ronie, could you please answer my last question too? That might save me some trouble Smile
Reply
Hey Ronie,

I just created the file and copied it to the userdata folder of kodi. It looks like this:


Code:
<pictureexcludes>
  <regexp>2017-10-15 Birthday | 2016-05-12 Game</regexp>
</pictureexcludes>

So, there is no path (all folders are located on my NAS), and no account for the spaces in the folder name.

I am not sure this works - or does the expression matches the folder names in the folder directory that is set in the screensaver settings?
Reply
Hi,

My try definitely does not work, the screen saver does not exclude the named folders in the advanced settings file.
Am not sure what the problem might be - do the spaces in the folder name might cause the problem?
As this might maybe be more of a general regex problem, where could I post this question?

Cheers
Reply
Hy, i´m new here and i have not much practice with Raspberry Pi, XBian and Kodi. So please excuse me for my (maybe) stupid questions. 
Yesterday i installed Kodi and the Picture Slideshow on a Raspberry Pi 3 and it works nice. 
I configured the Screensaver to take out the Pictures from a USB Drive because i want to change them easily without plug in a Mouse or Keyboard. (it should work as a easy standalone Slide Show) 

As transition i choose the pan and zoom effect and it looks nice for the first seconds. After that it looks like the Pi skips frames. So i think the Pi is not powerful enough to work with this effect smoothly. Is it possible to change the speed of the pan ad zoom effect so that it is not so extreme visible that frames get loss. 

Maybe anyone knows a good solution for this little issue. 

Thanks and best regards,
Reply
(2017-11-19, 09:59)centurio Wrote: Hy, i´m new here and i have not much practice with Raspberry Pi, XBian and Kodi. So please excuse me for my (maybe) stupid questions. 
Yesterday i installed Kodi and the Picture Slideshow on a Raspberry Pi 3 and it works nice. 
I configured the Screensaver to take out the Pictures from a USB Drive because i want to change them easily without plug in a Mouse or Keyboard. (it should work as a easy standalone Slide Show) 

As transition i choose the pan and zoom effect and it looks nice for the first seconds. After that it looks like the Pi skips frames. So i think the Pi is not powerful enough to work with this effect smoothly. Is it possible to change the speed of the pan ad zoom effect so that it is not so extreme visible that frames get loss. 

Maybe anyone knows a good solution for this little issue. 

Thanks and best regards,
you could try if increasing the 'amount of seconds to display each image' helps a bit.
the higher this value, the lower the pan/slide speed will be.
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
  • 1
  • 54
  • 55
  • 56(current)
  • 57
  • 58
  • 78

Logout Mark Read Team Forum Stats Members Help
Picture Slideshow Screensaver4
This forum uses Lukasz Tkacz MyBB addons.