search: add browseId to album top results (closes #448)
This commit is contained in:
parent
40e5650de3
commit
05a5fb8153
1 changed files with 3 additions and 0 deletions
|
|
@ -39,6 +39,9 @@ def parse_top_result(data, search_result_types):
|
||||||
song_info = parse_song_runs(runs)
|
song_info = parse_song_runs(runs)
|
||||||
search_result.update(song_info)
|
search_result.update(song_info)
|
||||||
|
|
||||||
|
if result_type in ['album']:
|
||||||
|
search_result['browseId'] = nav(data, NAVIGATION_BROWSE_ID, True)
|
||||||
|
|
||||||
search_result['thumbnails'] = nav(data, THUMBNAILS, True)
|
search_result['thumbnails'] = nav(data, THUMBNAILS, True)
|
||||||
return search_result
|
return search_result
|
||||||
|
|
||||||
|
|
|
||||||
Loading…
Reference in a new issue