Skip to content

Commit

Permalink
Merge pull request #24 from rubencougil/master
Browse files Browse the repository at this point in the history
Include mbid in the album search results
  • Loading branch information
devilcius authored Aug 3, 2017
2 parents 5340be5 + 65b2723 commit b257bb9
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions src/lastfmapi/Api/AlbumApi.php
Original file line number Diff line number Diff line change
Expand Up @@ -246,6 +246,7 @@ public function search($methodVars)
$searchresults['results'][$i]['name'] = (string) $album->name;
$searchresults['results'][$i]['artist'] = (string) $album->artist;
$searchresults['results'][$i]['id'] = (string) $album->id;
$searchresults['results'][$i]['mbid'] = (string) $album->mbid;
$searchresults['results'][$i]['url'] = (string) $album->url;
$searchresults['results'][$i]['streamable'] = (string) $album->streamable;
$searchresults['results'][$i]['image']['small'] = (string) $album->image[0];
Expand Down

0 comments on commit b257bb9

Please sign in to comment.