Autoplay all local files on startup

I need pi musicbox to play all the local files on it automatically after boot up.
Also, i need shuffle and repeat all of the files.
How can i do that?

“autoplay =” on .ini config file is not working.

Have a look here I think it covers what you are looking for - make sure and read to the bottom though. Important thing is to make sure something, it doesn’t matter what, is written in the autoplay box in the Musicbox settings, otherwise startup.sh ignores the autoplay.