what's wrong with my Autoexec.py script?

  • I have created my autoexec.py file and placed it in /storage/.kodi/userdata/

    I'm trying to just start a recurring slideshow using the contents of my picture folder in the default location...

    SyntaxEditor Code Snippet

    Code
    xbmc.executebuiltin('RecursiveSlideShow(/storage/.kodi/pictures/)')

    I'm assuming I have my pathing wrong, but can't work it out. On restart Kodi does nothing

    Edited once, last by griffindodd (April 26, 2019 at 9:41 PM).

  • I also tried this, but still no bananas...

    SyntaxEditor Code Snippet

    Code
    import xbmc
    xbmc.executebuiltin( "RecursiveSlideShow(/storage/.kodi/pictures/)" )
    xbmc.executebuiltin( "PlayerControl(RepeatAll)" )
  • Do you have pictures in folder /storage/.kodi/Pictures/ ? I bet no.

    I have .jpgs and some video files (with show videos in list checked in the options). I can run the slideshow successfully manually from within Kodi, but I just need it to auto start on boot.

  • I tried file from your first and works here. Enable kodi debug logging and look inside log for errors.

    well, some kind of pathing issue, but not much to go off...

    SyntaxEditor Code Snippet

    Code
    2019-04-26 20:43:56.120 T:140404304259200   ERROR: GetDirectory - Error getting /pictures