# Pi Musicbox Autoplay problems

**URL:** <https://discourse.mopidy.com/t/pi-musicbox-autoplay-problems/2111>\
**Category:** Pi MusicBox (archive)\
**Created:** [December 15, 2017, 8:04pm UTC](https://discourse.mopidy.com/t/pi-musicbox-autoplay-problems/2111 "2017-12-15T20:04:22Z")\
**Posts on this page:** 6\
**Page:** 1

<div class="post-metadata">

**Author:** ![LaneHD](https://yyz2.discourse-cdn.com/flex036/user_avatar/discourse.mopidy.com/lanehd/32/1584_2.png) [@LaneHD](https://discourse.mopidy.com/u/LaneHD)\
**Post date:** [December 15, 2017, 8:04pm UTC](https://discourse.mopidy.com/t/pi-musicbox-autoplay-problems/2111/1 "2017-12-15T20:04:22Z")

</div>

I have Problems with Autoplay on Pi Musicbox:  
I want to autoplay a Playlist I’ve created and sometimes it works but sometimes not!  
The Log after the IP stuff:  
`Waiting for Mopidy to accept connections...`  
`OK MPD 0.19.0`  
`Mopidy startup complete, playing spotify:user:laurin-135:playlist:5UIUocffT8zO0FjZZQOhKj`  
`error: directory or file not found`

My Setup:  
Raspberry Pi 3  
Analog Speakers, charged with usb  
Built-In Wifi

I know it’s not that hard to go to spotify and press play, but I want the convenience of it autoplaying

---

<div class="post-metadata">

**Author:** ![kingosticks](https://avatars.discourse-cdn.com/v4/letter/k/858c86/32.png) [@kingosticks](https://discourse.mopidy.com/u/kingosticks)\
**Post date:** [December 15, 2017, 8:19pm UTC](https://discourse.mopidy.com/t/pi-musicbox-autoplay-problems/2111/2 "2017-12-15T20:19:15Z")

</div>

Could you try adding a sleep command to maybe give mopidy a chance to load the cached playlist data.

---

<div class="post-metadata">

**Author:** ![LaneHD](https://yyz2.discourse-cdn.com/flex036/user_avatar/discourse.mopidy.com/lanehd/32/1584_2.png) [@LaneHD](https://discourse.mopidy.com/u/LaneHD)\
**Post date:** [December 15, 2017, 8:41pm UTC](https://discourse.mopidy.com/t/pi-musicbox-autoplay-problems/2111/3 "2017-12-15T20:41:48Z")

</div>

where do I need to add the sleep command?

---

<div class="post-metadata">

**Author:** ![kingosticks](https://avatars.discourse-cdn.com/v4/letter/k/858c86/32.png) [@kingosticks](https://discourse.mopidy.com/u/kingosticks)\
**Post date:** [December 15, 2017, 9:14pm UTC](https://discourse.mopidy.com/t/pi-musicbox-autoplay-problems/2111/4 "2017-12-15T21:14:20Z")

</div>

Ahh, so what do you currently have for the autoplay setting? This may well explain the problem

---

<div class="post-metadata">

**Author:** ![LaneHD](https://yyz2.discourse-cdn.com/flex036/user_avatar/discourse.mopidy.com/lanehd/32/1584_2.png) [@LaneHD](https://discourse.mopidy.com/u/LaneHD)\
**Post date:** [December 16, 2017, 10:08am UTC](https://discourse.mopidy.com/t/pi-musicbox-autoplay-problems/2111/5 "2017-12-16T10:08:20Z")

</div>

It was on 60 Seconds waiting time and now I have it on 100 seconds and it works

---

<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/pi-musicbox-autoplay-problems/2111/6 "2026-02-19T11:47:13Z")

</div>


