get_album: add other versions (closes #279)
also added isExplicit label to all album type results
This commit is contained in:
parent
c2d5e46805
commit
dd5d753432
4 changed files with 24 additions and 6 deletions
|
|
@ -205,7 +205,8 @@ def parse_album(result):
|
|||
'title': nav(result, TITLE_TEXT),
|
||||
'year': nav(result, SUBTITLE2, True),
|
||||
'browseId': nav(result, TITLE + NAVIGATION_BROWSE_ID),
|
||||
'thumbnails': nav(result, THUMBNAIL_RENDERER)
|
||||
'thumbnails': nav(result, THUMBNAIL_RENDERER),
|
||||
'isExplicit': nav(result, SUBTITLE_BADGE_LABEL, True) is not None
|
||||
}
|
||||
|
||||
|
||||
|
|
|
|||
Loading…
Reference in a new issue