|
2011-03-09
, 08:02
|
Posts: 564 |
Thanked: 693 times |
Joined on Apr 2010
|
#502
|
It does require some hacking it seems. libopenspotify is made after APIv4 specs and libspotify uses v7, and it doesn't support 96kbps. With some hacking I managed to compile qspot against libspotify but I didn't get it to actually work. If run as root it jammed at "connected to AP:" and if run as user it segfaulted. It was most likely my ugly hacks that caused the issues though. I had some warnings.
Aside from changeing #include <spotify/api.h> to #include <libspotify/api.h> and the .pro file, the main problems were the session bits that mostly return void in v7 where they kindly returned sp_error in v4. I just put whatever_error = SP_ERROR_OK;
sp_session_something()
instead of whatever_error = sp_session_something()
Also, turns out sp_session_init is now sp_session_create.
worked for that.Code:#if SPOTIFY_API_VERSION > 4 sp_session_create(&m_config, &m_session); #else sp_session_init(&m_config, &m_session); #endif
But as I said, it didn't actually work. But it compiled. Now zzz.
|
2011-03-16
, 12:45
|
|
Posts: 40 |
Thanked: 86 times |
Joined on Dec 2009
@ Sweden
|
#503
|
|
2011-03-16
, 16:48
|
Posts: 564 |
Thanked: 693 times |
Joined on Apr 2010
|
#504
|
The Following User Says Thank You to aenbacka For This Useful Post: | ||
|
2011-03-21
, 18:16
|
Posts: 1 |
Thanked: 0 times |
Joined on Mar 2011
@ Sweden
|
#505
|
|
2011-03-21
, 18:32
|
|
Posts: 230 |
Thanked: 185 times |
Joined on Jul 2010
@ Sweden
|
#506
|
|
2011-03-27
, 14:11
|
Guest |
Posts: n/a |
Thanked: 0 times |
Joined on
|
#507
|
In addition to this, it should also be possible to change the playback volume when the device is locked, which has been a requested feature.
The Following User Says Thank You to For This Useful Post: | ||
|
2011-03-27
, 18:00
|
Posts: 564 |
Thanked: 693 times |
Joined on Apr 2010
|
#508
|
Hi.
Thanks for this great application, it really is easy to use and works just fine. I've noticed some small annoyances though (ver. 0.8.1-1), which areOther than that I've had no issues with the functionality of the QSpot. Too bad though, that we can't have offline-playback, but that's up to Spotify to add it to the API, am I right?
- You can't exchange the bitrate once you've logged in
- Disconnection causes buffering to stop, even though it still claims to buffer. Re-connecting to the network doesn't fix this.
- Volume-button doesn't work when the device is locked
- Pressing the power-button causes a small skipping in the song, approx. 1-2 s.
Other than that keep up the good work. I'm on the limited 7 days Premium-trial and most likely won't be using Premium after that. If the situation does change and there would be a new version of QSpot I'd be happy to test it, since I'm already testing the Community SSU as well.
|
2011-03-27
, 18:41
|
Posts: 55 |
Thanked: 17 times |
Joined on Mar 2011
@ Finland
|
#509
|
The Following User Says Thank You to joonne For This Useful Post: | ||
|
2011-03-27
, 19:34
|
Guest |
Posts: n/a |
Thanked: 0 times |
Joined on
|
#510
|
Tags |
premium account, spotify |
Thread Tools | |
|
Aside from changeing #include <spotify/api.h> to #include <libspotify/api.h> and the .pro file, the main problems were the session bits that mostly return void in v7 where they kindly returned sp_error in v4. I just put whatever_error = SP_ERROR_OK;
sp_session_something()
instead of whatever_error = sp_session_something()
Also, turns out sp_session_init is now sp_session_create.
But as I said, it didn't actually work. But it compiled. Now zzz.
Class .. : Meddler, Thread watcher, Developer, Helper
Humor .. : [********--] Alignment: Pacifist
Patience : [*****-----] Weapon(s): N900, N950, Metal music
Agro ... : [----------] Relic(s) : N95, NGage, Tamyia Wild One
Try Tweed Suit for your hardcore twittering needs
http://twitter.com/mece66
I like my coffee black, like my metal.