Fix error on missing album browseId of unplayable item (#124)
This commit is contained in:
parent
c110ea71ff
commit
8f64cf7a7a
1 changed files with 1 additions and 1 deletions
|
|
@ -68,7 +68,7 @@ class Parser:
|
||||||
if len(runs) - last_artist_index == 5: # has album
|
if len(runs) - last_artist_index == 5: # has album
|
||||||
search_result['album'] = {
|
search_result['album'] = {
|
||||||
'name': runs[last_artist_index + 2]['text'],
|
'name': runs[last_artist_index + 2]['text'],
|
||||||
'id': nav(runs[last_artist_index + 2], NAVIGATION_BROWSE_ID)
|
'id': nav(runs[last_artist_index + 2], NAVIGATION_BROWSE_ID, True)
|
||||||
}
|
}
|
||||||
|
|
||||||
search_result['duration'] = runs[-1]['text']
|
search_result['duration'] = runs[-1]['text']
|
||||||
|
|
|
||||||
Loading…
Reference in a new issue