B"H add track count to Album model
This commit is contained in:
parent
8226a35bc2
commit
6a87ebe8e2
1 changed files with 2 additions and 1 deletions
|
@ -349,7 +349,8 @@ class SubsonicApi():
|
||||||
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'),
|
||||||
uri=uri.get_artist_uri(album.get('artistId')))])
|
uri=uri.get_artist_uri(album.get('artistId')))],
|
||||||
|
num_tracks=album.get('songCount'))
|
||||||
|
|
||||||
def raw_directory_to_ref(self, directory):
|
def raw_directory_to_ref(self, directory):
|
||||||
if directory is None:
|
if directory is None:
|
||||||
|
|
Loading…
Add table
Reference in a new issue