search: fix profile edge case (closes #429)

This commit is contained in:
sigma67 2023-08-25 22:20:25 +02:00
commit c5dca0ae34
No known key found for this signature in database
GPG key ID: 1C314227DF0103D0

View file

@ -77,7 +77,7 @@ def parse_search_result(data, search_result_types, result_type, category):
search_result['playlistId'] = nav(data, NAVIGATION_PLAYLIST_ID)
elif result_type == 'profile':
search_result['name'] = get_item_text(data, 1, 2)
search_result['name'] = get_item_text(data, 1, 2, True)
elif result_type == 'song':
search_result['album'] = None