Fixing context menu add to playlist
This commit is contained in:
@ -492,7 +492,7 @@ export function getLibraryArtists(){
|
||||
|
||||
dispatch({ type: 'SPOTIFY_LIBRARY_ARTISTS_LOADED', data: false });
|
||||
|
||||
sendRequest( dispatch, getState, 'me/following?type=artist' )
|
||||
sendRequest( dispatch, getState, 'me/following?type=artist&limit=50' )
|
||||
.then( response => {
|
||||
dispatch({
|
||||
type: 'SPOTIFY_LIBRARY_ARTISTS_LOADED',
|
||||
@ -589,7 +589,7 @@ export function getLibraryAlbums(){
|
||||
|
||||
dispatch({ type: 'SPOTIFY_LIBRARY_ALBUMS_LOADED', data: false });
|
||||
|
||||
sendRequest( dispatch, getState, 'me/albums' )
|
||||
sendRequest( dispatch, getState, 'me/albums?limit=40' )
|
||||
.then( response => {
|
||||
dispatch({
|
||||
type: 'SPOTIFY_LIBRARY_ALBUMS_LOADED',
|
||||
|
||||
@ -157,7 +157,8 @@ export function removeTracksFromPlaylist( playlist_uri, tracks_indexes ){
|
||||
}
|
||||
}
|
||||
|
||||
export function addTracksToPlaylist( playlist_uri, tracks_uris ){
|
||||
export function addTracksToPlaylist( playlist_uri, tracks ){
|
||||
var tracks_uris = helpers.asURIs(tracks)
|
||||
switch( helpers.uriSource( playlist_uri ) ){
|
||||
|
||||
case 'spotify':
|
||||
|
||||
Reference in New Issue
Block a user