# Search artist URI

**URL:** <https://discourse.mopidy.com/t/search-artist-uri/750>\
**Category:** Misc\
**Created:** [May 29, 2015, 2:33pm UTC](https://discourse.mopidy.com/t/search-artist-uri/750 "2015-05-29T14:33:24Z")\
**Posts on this page:** 3\
**Page:** 1

<div class="post-metadata">

**Author:** ![mmmunk](https://avatars.discourse-cdn.com/v4/letter/m/ec9cab/32.png) [@mmmunk](https://discourse.mopidy.com/u/mmmunk)\
**Post date:** [May 29, 2015, 2:33pm UTC](https://discourse.mopidy.com/t/search-artist-uri/750/1 "2015-05-29T14:33:25Z")

</div>

I was wondering how to perform a “clean” search related to a specific artist URI to give me albums and some tracks for this artist only.

For example: Artist “H.E.A.T”, URI=spotify:artist:7M4PCSo5DDasGginrPHSDd

I can do `core.library.search(artist=['H.E.A.T'], exact=True)` but it returns a lot of artists/tracks, fx “Canned Heat”, “Thomas Heat” etc.

Do I have to filter the results myself or can Mopidy do this?

---

<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:** [May 29, 2015, 4:03pm UTC](https://discourse.mopidy.com/t/search-artist-uri/750/2 "2015-05-29T16:03:22Z")

</div>

The current 1.x version of mopidy-spotify can’t do this but upcoming 2.x release does support searching by uri. In the meantime, you could probably hack around the limitation by having your calling code do `lookup` instead of `search` in these situations.

---

<div class="post-metadata">

**Author:** ![mmmunk](https://avatars.discourse-cdn.com/v4/letter/m/ec9cab/32.png) [@mmmunk](https://discourse.mopidy.com/u/mmmunk)\
**Post date:** [June 1, 2015, 8:10am UTC](https://discourse.mopidy.com/t/search-artist-uri/750/3 "2015-06-01T08:10:22Z")

</div>

Thanks for the answer. I managed to build a good list of an artist’s tracks by combining (and doing my own filtering) of results from both `search` and `lookup`.
