Clementine: spotify fail to connect

Created on 14 Dec 2013  Â·  23Comments  Â·  Source: clementine-player/Clementine

_From [email protected] on October 29, 2013 18:41:14_

What steps will reproduce the problem? 1.click configure spotify
2.enter username and password
3.click Login
4.popup Bad username and/or password What is the expected output? What do you see instead? I use the same identifiers to log onto the website, so obviously that is not it ;) What version of the product are you using? On what operating system? clementine 1.2 Mac Lion Please provide any additional information below. It's a US spotify account so I guess the api might have a different address

_Original issue: http://code.google.com/p/clementine-player/issues/detail?id=3930_

Priority-Medium bug imported

Most helpful comment

UPDATE:

If you have this problem on Ubuntu 16.04 (Xenial) please update to the official clementine build (That uses the correct libprotobuf)

sudo add-apt-repository ppa:me-davidsansome/clementine
sudo apt-get update
sudo apt-get install clementine

All 23 comments

_From davidsansome on October 30, 2013 00:40:07_

Just to check, do you have a Spotify Premium account?

_From [email protected] on November 09, 2013 02:41:48_

I have the same problem. Since today spotify works perfectly. I'm using Clementine 1.1.1 into a Debian Testing.

_From [email protected] on November 12, 2013 09:56:44_

It's still not working for me I can connect with spotify app but not with clementine of course using same credentiels and of course I have a premium account.

should be closed as "need-information" or "invalid". :) Works-for-me! :smile:

I updated my mac to mavericks and spotify started working for several days.
But now the problem is back.
What happened is that I used spotify from my phone while it was playing in clementine so I had a message in clementine telling me that I've been disconnected and since then it's not working anymore...

If there is some logs or anything else that you need to understand what's going on just let me know.

I found something when I type in my password and click login it doesn't work but if I type my password in a text editor and copy it into the password field it works.
my keyboard is qwerty and my password ends with numbers.
I hope that helps.

actually the number 0 on my macbook pro doesn't work in the password field of spotify in clementine

If this is the (only) problem, you should just create a new bug report, I guess…

this is duplicate of https://github.com/clementine-player/Clementine/issues/4873
I just updated clementine from the repo version 1.2.3 to Version 1.2.3-1259-ga568250
and i have this problem now, whereas it was working previously.

An infinite "Signing In..." stage, i have premium Spotify account

Kubuntu 15.04 kernel 4.0.0-4-generic
Version 1.2.3-1259-ga568250

@Kwaadpepper If you have time, can you try to precise the commit after when the bug happen ?

I have first some precisions

20:16:27.019 INFO  SpotifyService:355               Starting "/home/kwaadpepper/.config/Clementine/spotifyblob/version15-64bit/blob" 
/home/kwaadpepper/.config/Clementine/spotifyblob/version15-64bit/blob: error while loading shared libraries: libprotobuf.so.7: cannot open shared object file: No such file or directory

The version i had installed was http://packages.ubuntu.com/vivid/amd64/clementine/download
clementine_1.2.3+dfsg-2build1_amd64.deb

I'm actually trying to make link between the version and a commit but i don't have a clue where to find the info.

Try to install protobuf first

i did apt-get install libprotobuff* --reinstall just to make sure, still no change.
So i have installed libprotobuf8 libprotobuf-c1-dbg libprotobuf-java libprotoc9 libprotobuf9 libprotobuf-c-dev libprotobuf-lite8 libprotoc-dev libprotobuf-c1 libprotobuf-dev libprotobuf-lite9 libprotocol-osc-perl

I don't know the path/file the program /home/kwaadpepper/.config/Clementine/spotifyblob/version15-64bit/blob is looking for, i tried a strace with no success.

I guess the plugin has this problem, I don't know from who is coming the blob binary.

The is a missing link in the folder i think because there are some link to libspotify in the folder but no proto, a packaging problem ?

EDIT:
i did ln -s /usr/lib/x86_64-linux-gnu/libprotobuf.so.9 ~/.config/Clementine/spotifyblob/version15-64bit and i just realize clementine spotify plugin depends on libproto7, which is no more available (the version 8 and 9 i present).

I finally solved the problem by installing https://packages.debian.org/wheezy/libprotobuf7
and after i did this command ln -s /usr/lib/libprotobuf.so.7 ~/.config/Clementine/spotifyblob/version15-64bit

Just the give some more info, libproto is too old the work with webservices. So the spotify plugin won't work it is unusable.

[libprotobuf ERROR google/protobuf/message_lite.cc:123] Can't parse message of type "pb.spotify.Message" because it is missing required fields: playlists_updated.playlist[0].uri
21:01:11.932 ERROR SpotifyService:234               Spotify blob process failed: 1

Finnaly to anyone reading this, i just compiled Version 1.2.3-1259-ga568250 (git clone last version), with libproto9 so it works :p

UPDATE:

If you have this problem on Ubuntu 16.04 (Xenial) please update to the official clementine build (That uses the correct libprotobuf)

sudo add-apt-repository ppa:me-davidsansome/clementine
sudo apt-get update
sudo apt-get install clementine

Installing from the PPA solved my issues with Spotify login on 1.2.3 which was provided.

Worked like a charm

in centos 7 with clementine 1.3.1 still not searching

Hello,
facing issue "invalid signature: blob" again and again under all reachable linuxes (Knoppix, Ubuntu ppa:me-davidsansome..., Debian ). Could somebody please list the complete handling with that binary file/blob for manually completion:

  • download (I got with browser taking the argument of the curl-line as address)
  • signature?
    -?
    Thanks
    Markus

Now _weeks later_ I have the answer for my issue:
Don't forget to adjust blob-installation to your architecture. After modifying all names with 64bit to 32bit, it installs. It is described here
Now I have the problem that it is not connecting to spotify, expressed by logs after starting from commandline. I cannot install the ppa, as I'm not on ubuntu. I need a solution for debian alike Kwaadpepper did.
So, does anyone know which libproto-version to install for clementine-version 1.3.1?
At least I did like Kwaadpepper to establish a link in the directory version16-32bit to the libprotobuf-version. In my case with 1.3.1. : /usr/lib/i386-linux-gnu/libprotobuf.so.17, like I found in my system.
Another topic: starting clementine brings only that launcher to the taskbar (lower right-side) no more logging on the console with the opened main-window. Even with piping to ~/log.txt there is nothing. Any idea?
Thanks

I think the new solution is https://github.com/librespot-org/librespot

Me too, I hope so. Until now it is not possible for me to compile or build. Yes, build was OK, but I got runtime error WireError (InvalidEnumValue(13)) that should be resolved since a year or two and this one with _new_ build. Thats only a point because the reading taking precaution additional to the last (?) issue-thread says to build for new.

Another question is how might look the devicename in the run-command
/target/release/librespot --username SPOTIFY-NAME --cache DIR --name DEVICENAME
-> USB Audio (aplay -l) for external snd-card or plughw:0,0 (aplay -L)? The latter is where I get test-sound. But that does not avoid WireError.

Please, where can I post my strace i.e. describe the error?

Markus

Am 10. April 2020 19:16:39 MESZ schrieb "Jérémy Munsch" notifications@github.com:

I think the new solution is https://github.com/librespot-org/librespot

--
You are receiving this because you commented.
Reply to this email directly or view it on GitHub:
https://github.com/clementine-player/Clementine/issues/3930#issuecomment-612128426

--
Diese Nachricht wurde von meinem Android-Gerät mit K-9 Mail gesendet.

Looking here https://github.com/librespot-org/librespot/wiki/Options and this command after build
target/release/librespot -n "Librespot" -b 320 -c ./cache --enable-volume-normalisation --initial-volume 75 --device-type avr

So -name is the long option for -n DEVICENAME is an arbitrary name like "My private room" or "John's laptop"

As for me I just use https://tizonia.org/ from now. It works from CLI and is really simple, shipped as snap also.

Was this page helpful?
0 / 5 - 0 ratings

Related issues

Clementine-Issue-Importer picture Clementine-Issue-Importer  Â·  6Comments

MavropaliasG picture MavropaliasG  Â·  3Comments

MiguelTremblay picture MiguelTremblay  Â·  6Comments

teneri66 picture teneri66  Â·  4Comments

Ajt8000 picture Ajt8000  Â·  5Comments