jberkel / spotify-api Goto Github PK
View Code? Open in Web Editor NEWan api for spotify, based on jotify
Home Page: http://zegoggl.es/2009/08/build-your-own-spotify-api.html
License: Other
an api for spotify, based on jotify
Home Page: http://zegoggl.es/2009/08/build-your-own-spotify-api.html
License: Other
and return appropriate error msg
(java.util.concurrent.TimeoutException)
need to be able to rename playlist, toggle collaborative status
Everytime I try to connect it shows always same message from spotify: Client upgrade required and a link to download the las version of spotify.
i believe this is supported by the lastest version of jotify
eg.
{
"name": "my playlist",
"collaborative": false
"tracks": []
}
just name + id
For some reason, the line query('user.getLovedTracks', :user=>user_id, :limit=>limit)['lovedtracks']['track'] sometimes returns an array in the loved_tracks -method in lastfm.rb even though it's supposed to return a hash. This causes an error that I catched by altering the method so that it simply ignores the result from the line if it is an array and returns a hash with sample information instead. This error seems to only occur with certain usernames, try mine, it's jomakko2
Hi,
Just two problems I encountered, am I doing something incorrectly?:
(1) Searching "should return a result for a search" fails with:
Connected to 'ap7.spotify.com./78.31.12.10:4070' NativeException: java.lang.NullPointerException: null de/felixbruns/jotify/JotifyConnection.java:267:in `search' de/felixbruns/jotify/JotifyPool.java:168:in `search' de/felixbruns/jotify/JotifyConnection.java:267:in `search' de/felixbruns/jotify/JotifyPool.java:168:in `search' C:/Users/user/RubymineProjects/spotify-api/spec/integration_spec.rb:18 -e:1:
(2) Integration playlists "should return name and id, not tracks (GH-3)" fails with:
NoMethodError: undefined method `getName' for [Track: null, null, ]:Java::DeFelixbrunsJotifyMedia::Track C:/Users/user/RubymineProjects/spotify-api/spec/integration_spec.rb:48 C:/Users/user/RubymineProjects/spotify-api/spec/integration_spec.rb:46 C:/Users/user/RubymineProjects/spotify-api/spec/integration_spec.rb:42:in `each' C:/Users/user/RubymineProjects/spotify-api/spec/integration_spec.rb:42 -e:1:
A couple of changes and I can get them to pass but I just wondered if I am missing something.
Cheers, <bb />
A declarative, efficient, and flexible JavaScript library for building user interfaces.
๐ Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. ๐๐๐
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google โค๏ธ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.