search: Add default value None for album property of song results
This commit is contained in:
parent
65b0d2c622
commit
0332269949
2 changed files with 3 additions and 2 deletions
|
|
@ -54,6 +54,7 @@ class Parser:
|
|||
|
||||
elif resultType == 'song':
|
||||
search_result['duration'] = None
|
||||
search_result['album'] = None
|
||||
if 'menu' in data:
|
||||
toggle_menu = find_object_by_key(nav(data, MENU_ITEMS),
|
||||
'toggleMenuServiceItemRenderer')
|
||||
|
|
|
|||
Loading…
Reference in a new issue