problem about libspotify-Collection of common programming errors
quetzalcoatl
spotify libspotify
Currently we’re implementing Libspotify in a win 7 64 bit system. Everything seems to work fine except the playback. We get data from the callback , but even using audicity on the saved audio, is filled with abnormalities. So to research further we took the win32 sample (spshell ) and modified it to save the music data to file. Same problem, definitely music with these ticks in it. I’m sure there’s something simple I’m missing here, but I’m at a loss as to what could be the problem. Any help wo
TiagoOliveira
c spotify libspotify
I was testing out libspotify library (version 12.1.51 x86 for linux) and the application keeps crashing when I call sp_session_create() with a segmentation fault. I don’t have application key, nor a Premium Spotify account (yet), but that shouldn’t be the reason for the crash, since if I remember correctly, there is an error code for invalid application key.My code is as follows:static uint_8_t g_appkey[] = {1, 2, 3}; static const char *username = “MyUsername”; static const char *password = “MyP
Ivan Kelly
c segmentation-fault spotify libspotify
I’m getting a segmentation fault using if I try to call sp_session_logout after playing a song. I can’t really say much about the segfault, as I don’t have the symbols, With the following code the segfault occurs every time after logout is called https://gist.github.com/ivankelly/5564318#0 0x00007ffff7ac5746 in ?? () from /home/ivan/Apps/lib/libspotify.so.12 #1 0x00007ffff7a38289 in ?? () from /home/ivan/Apps/lib/libspotify.so.12 #2 0x00007ffff7a38535 in ?? () from /home/ivan/Apps/lib/libspot
FrontierPsychiatrist
node.js libspotify
I am trying to write a module for nodeJS which wraps libspotify. The goal is to write a webapp that allows the remote control of a device playing music from spotify.I have decided to go along the spshell example to ensure thread safety and write a “Spotify Service” in plain C that starts a seperate thread which calls all the API functions.The nodeJS module then just calls a few provided functions to interact with spotify. The code for the service can be found here: http://pastebin.com/KB6uwSC8 T
Web site is in building