-
Notifications
You must be signed in to change notification settings - Fork 67
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Error in parse_url(url) : length(url) == 1 is not TRUE #196
Comments
Did some investigation. Inside So I printed the value of I passed it the value of the playlist ID on it's own (instead of |
Well. Even though I can get the tracks, I cannot get the features as
It's not a connection issue as far as I can tell, as re-running the previous line of code to get the tracks again, immediately after the error, is fine. EDIT after some more diagnosing, the issue seems to be related to the format of the input ids parameter. The Running the code as follows returns the audio features correctly:
|
Hello, I'm trying to make a loop with the 'for' function to get the tracks from a bunch of playlists at once. I'm getting the same error, because i have my playlist Ids saved as a vector. If I put a single string (just one ID by itself) the function works perfectly, but I cannot get it to work with the loop that I need. Do you have any ideas on how can I fix this?
|
@vicmermon I'm trying to remember how I fixed this but I'd suggest checking the creation of your vector. Once I looked at |
I know this has been posted before #73 (comment)
Steps to reproduce:
Fails on the
get_playlist_tracks()
function. Other features of spotifyr work fine, that work fails. Can't tell why. Any clue?The text was updated successfully, but these errors were encountered: