Reduce log level from warning to info (fix #71)
This commit is contained in:
parent
79771d6e2c
commit
6708ab79de
@ -40,6 +40,9 @@ No description yet.
|
|||||||
- Better error messages on wrong login or network problems. Thanks to Antoine
|
- Better error messages on wrong login or network problems. Thanks to Antoine
|
||||||
Pierlot-Garcin for patches to Mopidy and Pyspotify. (Fixes: :issue:`77`)
|
Pierlot-Garcin for patches to Mopidy and Pyspotify. (Fixes: :issue:`77`)
|
||||||
|
|
||||||
|
- Reduce log level for trivial log messages from warning to info. (Fixes:
|
||||||
|
:issue:`71`)
|
||||||
|
|
||||||
- Local backend:
|
- Local backend:
|
||||||
|
|
||||||
- Fix crash in :command:`mopidy-scan` if a track has no artist name. Thanks
|
- Fix crash in :command:`mopidy-scan` if a track has no artist name. Thanks
|
||||||
|
|||||||
@ -23,7 +23,7 @@ class SpotifyPlaybackProvider(BasePlaybackProvider):
|
|||||||
self.backend.output.set_state('PLAYING')
|
self.backend.output.set_state('PLAYING')
|
||||||
return True
|
return True
|
||||||
except SpotifyError as e:
|
except SpotifyError as e:
|
||||||
logger.warning('Play %s failed: %s', track.uri, e)
|
logger.info('Playback of %s failed: %s', track.uri, e)
|
||||||
return False
|
return False
|
||||||
|
|
||||||
def resume(self):
|
def resume(self):
|
||||||
|
|||||||
@ -60,5 +60,5 @@ class SpotifyTranslator(object):
|
|||||||
tracks=[cls.to_mopidy_track(t) for t in spotify_playlist],
|
tracks=[cls.to_mopidy_track(t) for t in spotify_playlist],
|
||||||
)
|
)
|
||||||
except SpotifyError, e:
|
except SpotifyError, e:
|
||||||
logger.warning(u'Failed translating Spotify playlist '
|
logger.info(u'Failed translating Spotify playlist '
|
||||||
'(probably a playlist folder boundary): %s', e)
|
'(probably a playlist folder boundary): %s', e)
|
||||||
|
|||||||
Loading…
Reference in New Issue
Block a user