我在我的 Raspberry Pi 上使用 libspotify 12.1.103.gd51f6226 Release Linux-armv6-bcm2708hardfp,我认为按照自述文件中的说明一切正常。
我按照 spotify 给我的 appkey 更改了 appkey.c 但是当我运行 spshell 示例并尝试登录时,我得到一个错误
FATAL, TERMINATING: failed to log in to Spotify: Cannot connect to Spotify
Logged out
Exiting...
我确定我使用了正确的用户名(我也尝试过电子邮件)和密码(我也尝试过更改密码),并且我也尝试了点唱机示例并得到了类似的错误。我可以很好地登录网站和 Windows 应用程序。
我认为我可能出错的一个地方是:
After this, ensure your PKG_CONFIG_PATH is set tocd
include the libspotify control file, and that the lib directory is
in the library search path.
我很确定我做得很好,并且在构建过程中我没有收到任何错误。
有任何想法吗?