Soundcloud Playlist Finder allows you to select two songs and find playlists that contain both of those songs.
- The Soundcloud instant song search is done on the client side using the soundcloud api-v1 and angular.
- The Soundcloud playlist search is done on the sever side using the soundcloud api-v2, nodejs and angular. Unfortunately the soundcloud api-v2 does not support COORS and the API calls cannot be done on the client side.
- The app currently searches through 750 playlists for each song. More can be done if search time is increased.
- Would it be faster if instead of using a double for loop, to add all playlists to a single array, sort and then find duplicates? Or another method?
- Would it be faster if all of the data from server side is sent to the client side and then had the client perform calculations? Currently sort and playlist calculations are performed server side.
- Display number of playlists that each song is a part of / how many are being searched. Sometimes songs are a part of fewer than 750 playlists.