Autoplay Loop Videos OSMC

Anyone know of a way to loop/autoplay video files in a folder on OSMC?

I have found scripts for Kodi, but have not seen any for OSMC. Thanks!

OSMC uses Kodi.

Anyone? The scripts I have found do not work on the current OSMC/Kodi version.