mirror of
https://github.com/clementine-player/Clementine
synced 2025-01-18 20:40:43 +01:00
Use libspotify 11.1.56
This commit is contained in:
parent
5d4844acdd
commit
1c80cfbadb
@ -66,7 +66,7 @@ pkg_check_modules(PLIST libplist)
|
||||
pkg_check_modules(USBMUXD libusbmuxd)
|
||||
pkg_check_modules(LIBMTP libmtp>=1.0)
|
||||
pkg_check_modules(INDICATEQT indicate-qt)
|
||||
pkg_check_modules(SPOTIFY libspotify>=10.1.16)
|
||||
pkg_check_modules(SPOTIFY libspotify>=11.1.56)
|
||||
pkg_check_modules(CDIO libcdio)
|
||||
pkg_check_modules(QCA qca2)
|
||||
pkg_check_modules(CHROMAPRINT libchromaprint)
|
||||
|
@ -140,6 +140,7 @@ void SpotifyClient::LoggedInCallback(sp_session* session, sp_error error) {
|
||||
sp_playlistcontainer_add_callbacks(
|
||||
sp_session_playlistcontainer(session),
|
||||
&me->playlistcontainer_callbacks_, me);
|
||||
sp_session_flush_caches(me->session_);
|
||||
}
|
||||
}
|
||||
|
||||
@ -164,6 +165,8 @@ void SpotifyClient::Search(const pb::spotify::SearchRequest& req) {
|
||||
0, req.limit(),
|
||||
0, req.limit_album(),
|
||||
0, 0, // artists
|
||||
0, 0, // playlists
|
||||
SP_SEARCH_STANDARD,
|
||||
&SearchCompleteCallback, this);
|
||||
|
||||
pending_searches_[search] = req;
|
||||
@ -322,7 +325,8 @@ void SpotifyClient::Login(const pb::spotify::LoginRequest& req) {
|
||||
sp_session_login(session_,
|
||||
req.username().c_str(),
|
||||
req.password().c_str(),
|
||||
true); // Remember the password.
|
||||
true, // Remember the password.
|
||||
NULL);
|
||||
}
|
||||
}
|
||||
|
||||
|
@ -69,8 +69,8 @@ void SpotifyBlobDownloader::Start() {
|
||||
const QStringList filenames = QStringList()
|
||||
<< "blob"
|
||||
<< "blob" + QString(kSignatureSuffix)
|
||||
<< "libspotify.so.10.1.16"
|
||||
<< "libspotify.so.10.1.16" + QString(kSignatureSuffix);
|
||||
<< "libspotify.so.11.1.56"
|
||||
<< "libspotify.so.11.1.56" + QString(kSignatureSuffix);
|
||||
|
||||
foreach (const QString& filename, filenames) {
|
||||
const QUrl url(SpotifyService::kBlobDownloadUrl + version_ + "/" + filename);
|
||||
|
Loading…
Reference in New Issue
Block a user