sampsyo/beets — pull request #920 by andriykohut (2014-08-25 16:26:13+00:00)
Title: With new api there is no need to filter releases with isinstance

```discogs_client.Client.search``` accepts ```type``` parameter now, so there is no need for filtering releases with ```isinstance```, also it supports pagination and since we need only first 5 results we can just grab slice [:5] from page 1 + it works considerably faster this way.