# Set repeat as default for local files

**URL:** <https://discourse.mopidy.com/t/set-repeat-as-default-for-local-files/887>\
**Category:** Pi MusicBox (archive)\
**Created:** [September 21, 2015, 12:08pm UTC](https://discourse.mopidy.com/t/set-repeat-as-default-for-local-files/887 "2015-09-21T12:08:26Z")\
**Posts on this page:** 3\
**Page:** 1

<div class="post-metadata">

**Author:** ![TomGerace](https://avatars.discourse-cdn.com/v4/letter/t/d6d6ee/32.png) [@TomGerace](https://discourse.mopidy.com/u/TomGerace)\
**Post date:** [September 21, 2015, 12:08pm UTC](https://discourse.mopidy.com/t/set-repeat-as-default-for-local-files/887/1 "2015-09-21T12:08:26Z")

</div>

Hello everyone.

I want to turn on repeat for playing local files so that I Musicbox will cycle through all of my locally-stored files and play them repeatedly. Optionally, setting random as the default would be good too. I’ve tried several things to make this work, but none of them "stick’ – the setting is only for the current session and I have to reset after each reboot.

How can I set repeat (and perhaps random) as the defaults for Musicbox?

Thank you in advance!

Tom

---

<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:** [September 21, 2015, 12:21pm UTC](https://discourse.mopidy.com/t/set-repeat-as-default-for-local-files/887/2 "2015-09-21T12:21:41Z")

</div>

Try here [Can you set a Spotify autoplay URI to randomise song order?](https://discourse.mopidy.com/t/can-you-set-a-spotify-autoplay-uri-to-randomise-song-order/559)  
I’ve done similar thing.

---

<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/set-repeat-as-default-for-local-files/887/3 "2026-02-19T11:47:38Z")

</div>


