Kodi Community Forum
Autoexec.py on Nexus? - Printable Version

+- Kodi Community Forum (https://forum.kodi.tv)
+-- Forum: Support (https://forum.kodi.tv/forumdisplay.php?fid=33)
+--- Forum: General Support (https://forum.kodi.tv/forumdisplay.php?fid=111)
+---- Forum: Linux (https://forum.kodi.tv/forumdisplay.php?fid=52)
+---- Thread: Autoexec.py on Nexus? (/showthread.php?tid=374863)



Autoexec.py on Nexus? - extremeaudio - 2023-10-28

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:

Code:

import xbmc
import time
time.sleep(5)


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



RE: Autoexec.py on Nexus? - ultraman - 2023-10-28

From what I see PlayMedia command for folder is broken on Nexus and Omega.