Merge branch 'hhm0-album_obj_numtracks'
This commit is contained in:
commit
da58978427
1 changed files with 1 additions and 0 deletions
|
@ -347,6 +347,7 @@ class SubsonicApi():
|
||||||
return None
|
return None
|
||||||
return Album(
|
return Album(
|
||||||
name=album.get('title') or album.get('name') or UNKNOWN_ALBUM,
|
name=album.get('title') or album.get('name') or UNKNOWN_ALBUM,
|
||||||
|
num_tracks=album.get('songCount'),
|
||||||
uri=uri.get_album_uri(album.get('id')),
|
uri=uri.get_album_uri(album.get('id')),
|
||||||
artists=[Artist(
|
artists=[Artist(
|
||||||
name=album.get('artist'),
|
name=album.get('artist'),
|
||||||
|
|
Loading…
Add table
Reference in a new issue