Change of plan - use playlist uri and load all tracks on demand

This commit is contained in:
James Barnsley
2017-04-06 21:24:21 +12:00
parent 62ed217021
commit b052cd09f5
2 changed files with 20 additions and 3 deletions

View File

@ -70,8 +70,7 @@ class Playlist extends React.Component{
play(){
ReactGA.event({ category: 'Playlist', action: 'Play', label: this.props.playlist.uri })
var tracks_uris = helpers.asURIs(this.props.playlist.tracks)
this.props.mopidyActions.playURIs(tracks_uris, this.props.params.uri)
this.props.mopidyActions.playURIs([this.props.playlist.uri], this.props.params.uri)
}
follow(){