It is possible to get image slideshow functionality with a VLC player if you just simply drag and drop selected images to it. In this case every image will get displayed for 10 seconds. How can I achive the same with python VLC bindings? I could do this manually, but isn't there a more native way to do it? For example where I just pass a list of image file names to a player?
import vlc
import time
vlc_instance = vlc.Instance()
player = vlc_instance.media_player_new()
player.set_fullscreen(True)
Media = vlc_instance.media_new( "/home/pi/image1.jpg" )
player.set_media(Media)
player.play()
time.sleep(10)
Media = vlc_instance.media_new( "/home/pi/image2.jpg" )
player.set_media(Media)
player.play()