I want try but i can't access at : "/home/pi/.xbmc/userdata/"
I don't found "home" in "/"
Can you help me ?
[EDIT] IT'S OK !!!
Your link is for Raspberry i think, so i modify path folder
I put autoexec.py in ProfileFolder (/home isn't accessible on system. So on odroid C2, ProfileFolder = "/storage/.kodi/userdata")
Modified code :
Code
import xbmc
xbmc.executebuiltin( "PlayMedia(/storage/.kodi/userdata/playlists/video/2018.m3u)" )
xbmc.executebuiltin( "PlayerControl(repeat)" )
Work perfectly
For odroid C2 the path is "/storage/.kodi/userdata" For Raspberry is "/home/pi/.xbmc/userdata"
Thank you for your help