B"H shuffle code a bit to make it clearer
This commit is contained in:
parent
ff66d4fa40
commit
8f5d3e0216
1 changed files with 2 additions and 2 deletions
|
@ -347,11 +347,11 @@ class SubsonicApi():
|
|||
return None
|
||||
return 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')),
|
||||
artists=[Artist(
|
||||
name=album.get('artist'),
|
||||
uri=uri.get_artist_uri(album.get('artistId')))],
|
||||
num_tracks=album.get('songCount'))
|
||||
uri=uri.get_artist_uri(album.get('artistId')))])
|
||||
|
||||
def raw_directory_to_ref(self, directory):
|
||||
if directory is None:
|
||||
|
|
Loading…
Add table
Reference in a new issue