Autoexec.py on Nexus?

I am using Coreelec 20 Nexus. I have created the service addon and placed autoexec.py as dictated by the new procedure as of Matrix. However it is not working as intended. I read something about changes that may have occurred on account of Python 3 but I am unable to figure out how to adapt to that. Requesting help, thank you.

Contents of my autoexec.py in the addon folder are as below:

import xbmc
import time
time.sleep(5)


xbmc.executebuiltin("PlayMedia(/storage/music,isdir)")
xbmc.executebuiltin("PlayerControl(RepeatAll)")
xbmc.executebuiltin("PlayerControl(RandomOn)")

Looks like PlayMedia from folder is broken because I can’t get it to work even from using kodi-send program.

One alternative would be to make playlist and play that one.

1 Like

This topic was automatically closed 91 days after the last reply. New replies are no longer allowed.