# Musicbox spotify playlists not there?

**URL:** <https://discourse.mopidy.com/t/musicbox-spotify-playlists-not-there/276>\
**Category:** Pi MusicBox (archive)\
**Created:** [October 29, 2014, 7:03pm UTC](https://discourse.mopidy.com/t/musicbox-spotify-playlists-not-there/276 "2014-10-29T19:03:17Z")\
**Posts on this page:** 20\
**Page:** 1

<div class="post-metadata">

**Author:** ![jocoman](https://avatars.discourse-cdn.com/v4/letter/j/e274bd/32.png) [@jocoman](https://discourse.mopidy.com/u/jocoman)\
**Post date:** [October 29, 2014, 7:03pm UTC](https://discourse.mopidy.com/t/musicbox-spotify-playlists-not-there/276/1 "2014-10-29T19:03:17Z")

</div>

Hi folks  
I just upgraded to version 5.1 after a fairly long absence. I have Spotify running quite nicely, however I do not know how to navigate to my playlists. I can search for music and play the top 100, but no luck finding my playlists. (clicking on “playlists” just produces a blank page)  
Thanks for any assistance.

---

<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:** [October 29, 2014, 7:19pm UTC](https://discourse.mopidy.com/t/musicbox-spotify-playlists-not-there/276/2 "2014-10-29T19:19:11Z")

</div>

Take a look at [https://github.com/mopidy/mopidy-spotify/issues/27](https://github.com/mopidy/mopidy-spotify/issues/27)

---

<div class="post-metadata">

**Author:** ![jocoman](https://avatars.discourse-cdn.com/v4/letter/j/e274bd/32.png) [@jocoman](https://discourse.mopidy.com/u/jocoman)\
**Post date:** [October 29, 2014, 8:33pm UTC](https://discourse.mopidy.com/t/musicbox-spotify-playlists-not-there/276/3 "2014-10-29T20:33:50Z")

</div>

“Seems that this can also be fixed by removing the .config/mopidy/spotify directory, so it looks like a cache problem”

Thank you. I guess I’m not the only one. Unfortunately I am not the greatest at linux yet and I don’t quite understand what I need to do to clear this problem. I can’t even find the directory mentioned above in the quote on my raspberry PI.  
Would appreciate any help. Thank-you

---

<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:** [October 29, 2014, 9:23pm UTC](https://discourse.mopidy.com/t/musicbox-spotify-playlists-not-there/276/4 "2014-10-29T21:23:25Z")

</div>

If you run `service mopidy run config` you should see where your Spotify cache directory is located. On your musicbox it should be the service default, `/var/cache/mopidy/spotify`. You can run `rm -r /var/cache/mopidy/spotify` to remove it and then restart Mopidy with `service mopidy restart`.

---

<div class="post-metadata">

**Author:** ![jocoman](https://avatars.discourse-cdn.com/v4/letter/j/e274bd/32.png) [@jocoman](https://discourse.mopidy.com/u/jocoman)\
**Post date:** [October 29, 2014, 10:27pm UTC](https://discourse.mopidy.com/t/musicbox-spotify-playlists-not-there/276/5 "2014-10-29T22:27:20Z")

</div>

Thanks for your prompt response. When I run service mopidy run config the screen scrolls too fast and I can’t see the whole thing.When I went to /var/cache/mopidy it was an empty directory. The LS command didn’t show anything?

PS I am using musicbox on a raspberry pi. Txs for your help. Jim

---

<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:** [October 29, 2014, 10:47pm UTC](https://discourse.mopidy.com/t/musicbox-spotify-playlists-not-there/276/6 "2014-10-29T22:47:46Z")

</div>

Oh really? That's where mine is. You could run 'service mopidy run config | more' and then use space bar to go through the output one screen at a time.

---

<div class="post-metadata">

**Author:** ![jocoman](https://avatars.discourse-cdn.com/v4/letter/j/e274bd/32.png) [@jocoman](https://discourse.mopidy.com/u/jocoman)\
**Post date:** [October 29, 2014, 11:18pm UTC](https://discourse.mopidy.com/t/musicbox-spotify-playlists-not-there/276/7 "2014-10-29T23:18:17Z")

</div>

Ok I found the directory. It was in /var/lib/mopidy/spotify. I removed it and restarted the service but no joy. It seems that the directory just gets recreated again. So maybe this is not the fix to this very annoying problem.Txs again and I hope you may have other ideas.

---

<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:** [October 30, 2014, 12:03am UTC](https://discourse.mopidy.com/t/musicbox-spotify-playlists-not-there/276/8 "2014-10-30T00:03:04Z")

</div>

It will be recreated again when mopidy-spotify starts, and that’s what you want to happen. The theory being that the old one is somehow screwed up. It’s very weird this started happening to people and that it only works for some people.

Also `/var/lib/mopidy/spotify` should be the settings directory rather than the cache directory, was there actually a folder called `Storage` in there?

---

<div class="post-metadata">

**Author:** ![jocoman](https://avatars.discourse-cdn.com/v4/letter/j/e274bd/32.png) [@jocoman](https://discourse.mopidy.com/u/jocoman)\
**Post date:** [October 30, 2014, 1:13am UTC](https://discourse.mopidy.com/t/musicbox-spotify-playlists-not-there/276/9 "2014-10-30T01:13:07Z")

</div>

You are right, about the settings directory. It looks like no directory has been setup for the cache.cache\_dir =settings\_dir = /var/lib/mopidy/spotify

its just blank in the config file.

---

<div class="post-metadata">

**Author:** ![jocoman](https://avatars.discourse-cdn.com/v4/letter/j/e274bd/32.png) [@jocoman](https://discourse.mopidy.com/u/jocoman)\
**Post date:** [October 30, 2014, 1:37am UTC](https://discourse.mopidy.com/t/musicbox-spotify-playlists-not-there/276/10 "2014-10-30T01:37:54Z")

</div>

There is a spotify directory at /var/cache/mopidy/spotify. (not sure why I didn’t see it before) it does contain Storage, Users, and offline.bnk. I removed the spotify directory and restarted mopidy. I also set the cache\_dir to point there. But still no joy.

---

<div class="post-metadata">

**Author:** ![jocoman](https://avatars.discourse-cdn.com/v4/letter/j/e274bd/32.png) [@jocoman](https://discourse.mopidy.com/u/jocoman)\
**Post date:** [October 30, 2014, 1:47am UTC](https://discourse.mopidy.com/t/musicbox-spotify-playlists-not-there/276/11 "2014-10-30T01:47:41Z")

</div>

I restarted mopidy yet again and bang the playlists appeared.???It seems its sorted out now. Rebotted the rapberry and all is still good. Soo txs for all you help !Jm

---

<div class="post-metadata">

**Author:** ![J\_Markgren](https://avatars.discourse-cdn.com/v4/letter/j/7feea3/32.png) [@J\_Markgren](https://discourse.mopidy.com/u/J_Markgren)\
**Post date:** [November 1, 2014, 9:36am UTC](https://discourse.mopidy.com/t/musicbox-spotify-playlists-not-there/276/12 "2014-11-01T09:36:23Z")

</div>

Hello. I also have a raspberry pi with musicbox and have the same problem. I have tried the above solution above with no luck. Also restarted the device a lot of times with no effect. Any idea on how to solve this problem? Everything worked great until only a few days ago.

---

<div class="post-metadata">

**Author:** ![jocoman](https://avatars.discourse-cdn.com/v4/letter/j/e274bd/32.png) [@jocoman](https://discourse.mopidy.com/u/jocoman)\
**Post date:** [November 3, 2014, 11:53am UTC](https://discourse.mopidy.com/t/musicbox-spotify-playlists-not-there/276/13 "2014-11-03T11:53:49Z")

</div>

Thanks to Kingo sticks, the following has been working for me

run rm -r /var/cache/mopidy/spotify to remove the cache and then restart Mopidy with service mopidy restart.

sometimes I need to do the restart twice. But its working!

---

<div class="post-metadata">

**Author:** ![woutervanwijk](https://yyz2.discourse-cdn.com/flex036/user_avatar/discourse.mopidy.com/woutervanwijk/32/15_2.png) [@woutervanwijk](https://discourse.mopidy.com/u/woutervanwijk)\
**Post date:** [November 7, 2014, 10:30am UTC](https://discourse.mopidy.com/t/musicbox-spotify-playlists-not-there/276/14 "2014-11-07T10:30:40Z")

</div>

A couple of users reported this. They also said it came back after a day or so. Strange!

---

<div class="post-metadata">

**Author:** ![Fluffaille](https://avatars.discourse-cdn.com/v4/letter/f/bc79bd/32.png) [@Fluffaille](https://discourse.mopidy.com/u/Fluffaille)\
**Post date:** [November 8, 2014, 11:55pm UTC](https://discourse.mopidy.com/t/musicbox-spotify-playlists-not-there/276/15 "2014-11-08T23:55:29Z")

</div>

For me it works only a the last step.  
When I delete /var/lib/mopidy/spotify/

---

<div class="post-metadata">

**Author:** ![nilicule](https://yyz2.discourse-cdn.com/flex036/user_avatar/discourse.mopidy.com/nilicule/32/52_2.png) [@nilicule](https://discourse.mopidy.com/u/nilicule)\
**Post date:** [November 15, 2014, 8:34am UTC](https://discourse.mopidy.com/t/musicbox-spotify-playlists-not-there/276/17 "2014-11-15T08:34:05Z")

</div>

The following worked for me:

1. Remove, or comment out, the _cache\_dir_ and _settings\_dir_ options from /boot/config/settings.ini
2. Clean out _all_ the old Spotify cache folders:  
rm -rf /var/lib/mopidy/spotify  
rm -rf /var/cache/mopidy/spotify  
rm -rf /root/.cache/mopidy/spotify
3. Restart mopidy:  
service mopidy restart

---

<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:** [November 15, 2014, 8:47am UTC](https://discourse.mopidy.com/t/musicbox-spotify-playlists-not-there/276/18 "2014-11-15T08:47:49Z")

</div>

And then you uncommented those settings back in or left them out?

---

<div class="post-metadata">

**Author:** ![nilicule](https://yyz2.discourse-cdn.com/flex036/user_avatar/discourse.mopidy.com/nilicule/32/52_2.png) [@nilicule](https://discourse.mopidy.com/u/nilicule)\
**Post date:** [November 15, 2014, 10:29am UTC](https://discourse.mopidy.com/t/musicbox-spotify-playlists-not-there/276/19 "2014-11-15T10:29:34Z")

</div>

I’ve left them out, Spotify seems to default to a cache folder that way

---

<div class="post-metadata">

**Author:** ![NiPi](https://avatars.discourse-cdn.com/v4/letter/n/7ea924/32.png) [@NiPi](https://discourse.mopidy.com/u/NiPi)\
**Post date:** [November 19, 2014, 2:05pm UTC](https://discourse.mopidy.com/t/musicbox-spotify-playlists-not-there/276/20 "2014-11-19T14:05:50Z")

</div>

I had the same problem.  
When i run service mopidy run config there was no entry for the Spotify cache directory location.  
The problem was solved when i manualy set the location (changing the /boot/config/settings.ini) to point in /var/lib/mopidy/spotify.

Thank you for the insight.

---

<div class="post-metadata">

**Author:** ![woutervanwijk](https://yyz2.discourse-cdn.com/flex036/user_avatar/discourse.mopidy.com/woutervanwijk/32/15_2.png) [@woutervanwijk](https://discourse.mopidy.com/u/woutervanwijk)\
**Post date:** [November 20, 2014, 7:07pm UTC](https://discourse.mopidy.com/t/musicbox-spotify-playlists-not-there/276/21 "2014-11-20T19:07:59Z")

</div>

the solution of @nilicule does not work for me sadly ☹ Did you add any settings to the spotify config?

[Next page](https://discourse.mopidy.com/t/musicbox-spotify-playlists-not-there/276.md?page=2)
