#if SPOTIFY_API_VERSION > 4
sp_session_create(&m_config, &m_session);
#else
sp_session_init(&m_config, &m_session);
#endif
#if SPOTIFY_API_VERSION > 4
sp_session_create(&m_config, &m_session);
#else
sp_session_init(&m_config, &m_session);
#endif
So I have a QSpot ready version that can be used with the official lib in case the terms of usage will allow it at some point (hopefully)..
Quite a lot of changes were required as you stated due to libopenspotify using api version 4, while libspotify is already at version 7. In case the official library can be used, then we can add support directly for e.g., playlist management (creation / editing), starring tracks, playlist folders, caching of tracks etc.
I have actually planned to add support for bluetooth headsets to a future QSpot version. It should be possible to implement without any major problems.
| The Following User Says Thank You to aenbacka For This Useful Post: | ||

| The Following User Says Thank You to For This Useful Post: | ||


I am planning a new update in the near future (hopefully during next week) which will address some of the issues (e.g., such as possibility to control the volume when the device is locked). I am also investigating the disconnection problem, I hope to implement a fix for this as soon as possible (the problem is due to being disconnected from the Spotify backend service, in which case a re-authentication is necessary). I have not noticed the issue with pressing the power button before you mentioned it, I will need to look into what could be the cause of that.
Still it will be interesting to see if we could utilize the official libspotify library in case Spotify makes changes to the current usage terms.
I noticed the same thing when I pressed the power button: a 1-2 second pause appeared. The app works greatly, it is fast and smooth, atleast in my opinion. I have tried every other spotift clients for maemo but this is the best.
Offline playlists would be awesome but maybe some day if Spotify gives permission.
| The Following User Says Thank You to joonne For This Useful Post: | ||

One more thing though, which I forgot to mention : pause playback when removing headset. Alternatively pausing and disconnecting would be nice as an option to save some battery.