Track loading lyrics; Playlist more tracks not working

This commit is contained in:
James Barnsley
2018-09-19 16:59:48 +12:00
parent 4538c379ea
commit 2c4c4e146e
4 changed files with 13939 additions and 10656 deletions

View File

@ -48,6 +48,10 @@ class Track extends React.Component{
if (nextProps.params.uri != this.props.params.uri){
this.props.coreActions.loadTrack(nextProps.params.uri);
if (this.props.tracks.artists){
this.props.geniusActions.findTrackLyrics(this.props.track);
}
// if mopidy has just connected AND we're not a Spotify track, go get
} else if (!this.props.mopidy_connected && nextProps.mopidy_connected){
if (helpers.uriSource(this.props.params.uri) != 'spotify'){