# Support offline Spotify music

**URL:** <https://discourse.mopidy.com/t/support-offline-spotify-music/476>\
**Category:** Misc\
**Created:** [December 21, 2014, 9:15am UTC](https://discourse.mopidy.com/t/support-offline-spotify-music/476 "2014-12-21T09:15:36Z")\
**Posts on this page:** 5\
**Page:** 1

<div class="post-metadata">

**Author:** ![jodal](https://yyz2.discourse-cdn.com/flex036/user_avatar/discourse.mopidy.com/jodal/32/2651_2.png) [@jodal](https://discourse.mopidy.com/u/jodal)\
**Post date:** [December 21, 2014, 9:15am UTC](https://discourse.mopidy.com/t/support-offline-spotify-music/476/1 "2014-12-21T09:15:37Z")

</div>

Continuing the discussion from [Musicbox spotify playlists not there?](https://discourse.mopidy.com/t/musicbox-spotify-playlists-not-there/276/24):

> [@Musicbox spotify playlists not there?](https://discourse.mopidy.com/t/musicbox-spotify-playlists-not-there/276/24):
>
> Hi all - coming into this discussion a little bit late.
> 
> Can anyone confirm that mopidy does work with the spotify premium offline feature? In other words, if I set a playlist/album to be available offline in Spotify - Mopidy will download and play it locally from a cache?

The offline state in the Spotify client is specific to that single client, and isn’t synced with other computers/devices. For example, you have different sets of offline music on your computer and your phone. Thus, what you set as offline in your Spotify client does in no way affect Mopidy-Spotify.

In the current version of Mopidy-Spotify, there is no support for offline music. I’m working on finishing Mopidy-Spotify 2 this holiday. It will not initially support offline music either, but all the foundations for supporting it is there, and the feature is high on the wish list, ref. [Offline Playlists/Albums/Artists · Issue #10 · mopidy/mopidy-spotify · GitHub](https://github.com/mopidy/mopidy-spotify/issues/10).

---

<div class="post-metadata">

**Author:** ![surfacescan](https://yyz2.discourse-cdn.com/flex036/user_avatar/discourse.mopidy.com/surfacescan/32/62_2.png) [@surfacescan](https://discourse.mopidy.com/u/surfacescan)\
**Post date:** [December 22, 2014, 7:24pm UTC](https://discourse.mopidy.com/t/support-offline-spotify-music/476/2 "2014-12-22T19:24:06Z")

</div>

@jodal - really appreciate the run down on Spotify, I have to admit I was introduced through Spotify through Mopidy as I live in a country that doesnt support it yet (Tanzania). But after exploring, the benefits are obvious. But I also happen to live in a place where internet bandwidth is expensive, slow (comparatively) and unreliable. So the idea of haing any locally cached copy of Spotify or even Soundcloud would be amazing.

Keep up the great work and I’ll stay tuned for the new version.

Happy coding over the holidays!

---

<div class="post-metadata">

**Author:** ![beckerben](https://avatars.discourse-cdn.com/v4/letter/b/46a35a/32.png) [@beckerben](https://discourse.mopidy.com/u/beckerben)\
**Post date:** [August 11, 2015, 3:04pm UTC](https://discourse.mopidy.com/t/support-offline-spotify-music/476/3 "2015-08-11T15:04:54Z")

</div>

I see the 2015-08-11 commit which suggests maybe offline playlist support is being added, is this the case?

---

<div class="post-metadata">

**Author:** ![jodal](https://yyz2.discourse-cdn.com/flex036/user_avatar/discourse.mopidy.com/jodal/32/2651_2.png) [@jodal](https://discourse.mopidy.com/u/jodal)\
**Post date:** [August 12, 2015, 7:31am UTC](https://discourse.mopidy.com/t/support-offline-spotify-music/476/4 "2015-08-12T07:31:20Z")

</div>

For now, the commits you refer to is mostly about keeping Mopidy-Spotify from crashing in the seconds before the Spotify authentication succeeds and when the network/Spotify service becomes unavailable.

With time, I’d like to add proper offline support. I guess the main blocker is to decide how to mark playlists for offline storage. One old pull request did so by adding a config to list the names/URIs of all playlists you want to have available offline. Personally, I’d like to be able to mark playlists for offline syncing without changing the config and restarting Mopidy. Currently, there’s no APIs in Mopidy we can use for this, so if we’re going down this path, there’s more thinking and designing to do.

---

<div class="post-metadata">

**Author:** ![beckerben](https://avatars.discourse-cdn.com/v4/letter/b/46a35a/32.png) [@beckerben](https://discourse.mopidy.com/u/beckerben)\
**Post date:** [August 12, 2015, 11:26am UTC](https://discourse.mopidy.com/t/support-offline-spotify-music/476/5 "2015-08-12T11:26:02Z")

</div>

This makes sense, thank you for the detailed response and clarification!
