Skip to content

Commit

Permalink
Fixed nukeop#246 : Play Now on youtube links videos or playlists
Browse files Browse the repository at this point in the history
The play now button doesn't throw the previous error anymore.
The play now button doesn't work for me because of nukeop#195
  • Loading branch information
trekiteasy committed Feb 8, 2019
1 parent a18cbe2 commit 5a47329
Show file tree
Hide file tree
Showing 3 changed files with 10 additions and 0 deletions.
3 changes: 3 additions & 0 deletions app/components/SearchResults/AllResults/index.js
Original file line number Diff line number Diff line change
Expand Up @@ -47,6 +47,9 @@ class AllResults extends React.Component {
playlistSearchStarted={this.props.playlistSearchStarted}
playlistSearchResults={this.props.playlistSearchResults}
addToQueue={this.props.addToQueue}
clearQueue={this.props.clearQueue}
startPlayback={this.props.startPlayback}
selectSong={this.props.selectSong}
musicSources={this.props.musicSources}
/>
</div>
Expand Down
3 changes: 3 additions & 0 deletions app/components/SearchResults/PlaylistResults/index.js
Original file line number Diff line number Diff line change
Expand Up @@ -47,6 +47,9 @@ class PlaylistResults extends React.Component {
return (<div>
{this.renderAddAllButton(this.props.playlistSearchResults.info)}
<TracksResults
clearQueue={this.props.clearQueue}
startPlayback={this.props.startPlayback}
selectSong={this.props.selectSong}
addToQueue={this.props.addToQueue}
tracks={this.props.playlistSearchResults.info}
limit='100'
Expand Down
4 changes: 4 additions & 0 deletions app/components/SearchResults/index.js
Original file line number Diff line number Diff line change
Expand Up @@ -94,11 +94,15 @@ class SearchResults extends React.Component {
}
}


renderPlaylistPane () {
return (<PlaylistResults
playlistSearchStarted={this.props.playlistSearchStarted}
playlistSearchResults={this.props.playlistSearchResults}
addToQueue={this.props.addToQueue}
clearQueue={this.props.clearQueue}
startPlayback={this.props.startPlayback}
selectSong={this.props.selectSong}
musicSources={this.props.musicSources}
/>);
}
Expand Down

0 comments on commit 5a47329

Please sign in to comment.