# Autoplay all local files on startup

**URL:** <https://discourse.mopidy.com/t/autoplay-all-local-files-on-startup/2592>\
**Category:** Pi MusicBox (archive)\
**Created:** [June 19, 2018, 7:21pm UTC](https://discourse.mopidy.com/t/autoplay-all-local-files-on-startup/2592 "2018-06-19T19:21:16Z")\
**Posts on this page:** 3\
**Page:** 1

<div class="post-metadata">

**Author:** ![ilya\_t](https://avatars.discourse-cdn.com/v4/letter/i/b782af/32.png) [@ilya\_t](https://discourse.mopidy.com/u/ilya_t)\
**Post date:** [June 19, 2018, 7:21pm UTC](https://discourse.mopidy.com/t/autoplay-all-local-files-on-startup/2592/1 "2018-06-19T19:21:16Z")

</div>

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.

---

<div class="post-metadata">

**Author:** ![Steve\_Lambert](https://yyz2.discourse-cdn.com/flex036/user_avatar/discourse.mopidy.com/steve_lambert/32/1149_2.png) [@Steve\_Lambert](https://discourse.mopidy.com/u/Steve_Lambert)\
**Post date:** [June 19, 2018, 9:28pm UTC](https://discourse.mopidy.com/t/autoplay-all-local-files-on-startup/2592/2 "2018-06-19T21:28:15Z")

</div>

Have a look [here](https://discourse.mopidy.com/t/autoplay-all-tracks-random-and-repeat/1648) 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.

---

<div class="post-metadata">

**Author:** ![jodal](https://yyz2.discourse-cdn.com/flex036/user_avatar/discourse.mopidy.com/jodal/32/2564_2.png) [@jodal](https://discourse.mopidy.com/u/jodal)\
**Post date:** [February 19, 2026, 11:47am UTC](https://discourse.mopidy.com/t/autoplay-all-local-files-on-startup/2592/3 "2026-02-19T11:47:05Z")

</div>


