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

File diff suppressed because one or more lines are too long

File diff suppressed because one or more lines are too long

View File

@ -98,7 +98,7 @@
// Release details
// These are automatically injected to built HTML
var build = "1537260075";
var build = "1537312704";
var version = "3.25.1";
// Construct the script tag

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'){