Comments; Handle empty current artwork

This commit is contained in:
James Barnsley
2017-03-31 08:46:44 +13:00
parent e724ecdcc7
commit 7c008fed1f
2 changed files with 4 additions and 1 deletions

View File

@ -182,6 +182,9 @@ class IrisCore(object):
##
def get_config(self, data):
# handle config setups where there is no username/password
# Iris won't work properly anyway, but at least we won't get server errors
if 'spotify' in self.config and 'username' in self.config['spotify']:
spotify_username = self.config['spotify']['username']
else:

View File

@ -69,7 +69,7 @@ class FullPlayer extends React.Component{
!this.props.current_track.album.images ){
return (
<span className="artwork">
<Thumbnail size="huge" images={[]} />
<Thumbnail size="huge" />
</span>
)
}