Kodi Community Forum

Full Version: Google Drive and photos
You're currently viewing a stripped down version of our content. View the full version with proper formatting.
hi, I would like Kodi to enter the google drive and start the photos when kodi starts.
i tried with the following
code:
import xbmc
xbmc.executebuiltin ("RunAddon (plugin.image.flickr)")

it goes no further and I don't know what the right syntax is.
You can help me?
now I read that:
import xbmc

xbmc.executebuiltin ("ActivateWindow (Pictures, / storage / pictures / slideshow /)")
xbmc.executebuiltin ("Action (Play)")

explain me the right syntax to connect a folder on the G drive
Help me
can you help me to start the presentation of images on the google drive directly when kodi is started?

how to do it
I have already set the drive, I enter but I can not go further, I do something wrong, I don't know how to do it.
(2020-10-26, 00:46)salvo Wrote: [ -> ]can you help me to start the presentation of images on the google drive directly when kodi is started?

how to do it
I have already set the drive, I enter but I can not go further, I do something wrong, I don't know how to do it.

Did not test with google drive but regarding to example above you may use the script (not python) like this:

#!/bin/sh
kodi-send -a "ActivateWindow(Pictures,/storage/screenshots/)"
kodi-send -a "Play"
(2020-10-26, 00:00)salvo Wrote: [ -> ]hi

Please don't pick an old forum thread for your own Kodi issues.
Simply create a new thread in the appropriate forum section.

I've split your posts this time.
(2020-11-28, 14:09)Klojum Wrote: [ -> ]
(2020-10-26, 00:00)salvo Wrote: [ -> ]hi

Please don't pick an old forum thread for your own Kodi issues.
Simply create a new thread in the appropriate forum section.

I've split your posts this time.



sorry, i'm new and i still don't understand how well it works.
Thanks again.