Playing album; PLAY_URIS is closer to what it actually does
This commit is contained in:
@ -52,7 +52,7 @@ class ContextMenu extends React.Component{
|
||||
for( var i = 0; i < selected_tracks.length; i++ ){
|
||||
selected_tracks_uris.push( selected_tracks[i].uri );
|
||||
}
|
||||
this.props.mopidyActions.playTracks(selected_tracks_uris);
|
||||
this.props.mopidyActions.playURIs(selected_tracks_uris);
|
||||
this.props.uiActions.hideContextMenu();
|
||||
}
|
||||
|
||||
|
||||
@ -165,7 +165,7 @@ class TrackList extends React.Component{
|
||||
|
||||
// if we've got a specific action, run it
|
||||
if( typeof(this.props.playTracks) !== 'undefined' ){
|
||||
return this.props.playTracks( tracks );
|
||||
return this.props.playURIs( tracks );
|
||||
}
|
||||
|
||||
// default to playing a bunch of uris
|
||||
@ -173,7 +173,7 @@ class TrackList extends React.Component{
|
||||
for( var i = 0; i < tracks.length; i++ ){
|
||||
uris.push( tracks[i].uri )
|
||||
}
|
||||
return this.props.mopidyActions.playTracks( uris )
|
||||
return this.props.mopidyActions.playURIs( uris )
|
||||
}
|
||||
|
||||
removeTracks(){
|
||||
|
||||
Reference in New Issue
Block a user