RunScript and PlayMedia issue



I try to run a python script in favourites.xml as in 

       <favourite name=”MusicSlideshow” thumb=”image.jpg”>RunScript(my_python_script.py)</favourite>
       
in order to have a picture slideshow displayed while playing a music playlist. I want to get the
music information display on top of the slideshow.

This is my attempt in my python script (my_python_script.py):

    import xbmc
    
    # play music stream without switching to fullscreen 
    xbmc.executebuiltin(‘PlayMedia(music.strm, false, 1)’)
    xbmc.executebuiltin(‘SlideShow(picture_directory, recursive, random)’)
    sys.modules.clear()
    
but still with no luck. Is this even possible?

Per