# Spotify Search don´t work

**URL:** <https://discourse.mopidy.com/t/spotify-search-don-t-work/2133>\
**Category:** Pi MusicBox (archive)\
**Created:** [December 21, 2017, 5:08pm UTC](https://discourse.mopidy.com/t/spotify-search-don-t-work/2133 "2017-12-21T17:08:50Z")\
**Posts on this page:** 1\
**Showing post:** 8

<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:** [January 8, 2018, 4:23pm UTC](https://discourse.mopidy.com/t/spotify-search-don-t-work/2133/8 "2018-01-08T16:23:01Z")

</div>

@briho and/or @joda

Could you try this version that I’ve hacked the OAuth Web API functionality into:

```auto
pip install --no-deps --upgrade https://github.com/pimusicbox/mopidy-spotify/zipball/backport-oauth

```

Then go to [https://www.mopidy.com/authenticate/#spotify](https://www.mopidy.com/authenticate/#spotify), click the button to authenticate with Spotify and copy the `client_id` and `client_secret` that it gives you to the `[spotify]` section of /boot/config/settings.ini so it’ll end up looking something like this:

```auto
# -----------
# | Spotify |
# -----------
# https://github.com/mopidy/mopidy-spotify
[spotify]
# Supply your PREMIUM account credentials to enable Spotify
enabled = true
username = YOUR_USERNAME_HERE
password = YOUR_PASSWORD_HERE
client_id = OBTAINED_FROM_MOPIDY_AUTH_WEBPAGE
client_secret = ALSO_OBTAINED_FROM_MOPIDY_AUTH_WEBPAGE
# The bitrate, the quality of the music played by Spotify, can be set to 96, 160 (default) or 320
bitrate = 320
cache_dir = ""

```

Finally, restart Mopidy with `service mopidy restart` and try searching.

---

_[View the full topic](https://discourse.mopidy.com/t/spotify-search-don-t-work/2133)._
