search: don't return empty dict if browseid is missing
This commit is contained in:
parent
4251896c39
commit
defb621407
1 changed files with 0 additions and 2 deletions
|
|
@ -126,8 +126,6 @@ def parse_search_result(data, search_result_types, result_type, category):
|
|||
|
||||
if result_type in ['artist', 'album', 'playlist']:
|
||||
search_result['browseId'] = nav(data, NAVIGATION_BROWSE_ID, True)
|
||||
if not search_result['browseId']:
|
||||
return {}
|
||||
|
||||
if result_type in ['song', 'album']:
|
||||
search_result['isExplicit'] = nav(data, BADGE_LABEL, True) is not None
|
||||
|
|
|
|||
Loading…
Reference in a new issue