You are not logged in.

#1 2010-07-20 09:41:22

Lazze
Member
From: Bangkok, Thailand
Registered: 2008-09-28
Posts: 133

Spotify native linux client

Hi

Spotify recently released a native Linux client for premium and unlimited account users.
More info over here: http://www.spotify.com/int/download/previews/

I've previously used the windows client but stopped since I don't like to have wine on my computer. Therefore I would like to try out the native client, but there's just one problem, it's distributed as a deb-package for Ubuntu and Debian only.

Anyone tried getting it to work on an Arch setup?

Thanks
/Lazze

Last edited by Lazze (2010-07-20 09:41:33)

Offline

#2 2010-07-20 09:46:51

tomk
Forum Fellow
From: Ireland
Registered: 2004-07-21
Posts: 9,839

Re: Spotify native linux client

It's in the AUR - presumably that means somebody tried it. smile

Offline

#3 2010-07-20 09:55:25

Lazze
Member
From: Bangkok, Thailand
Registered: 2008-09-28
Posts: 133

Re: Spotify native linux client

You're right, thanks, forgot to check out AUR, now I feel a bit stupid...
I'll give it a try when getting home to my precious Arch-computer.

Offline

#4 2010-07-20 16:44:37

Perre
Member
Registered: 2008-01-22
Posts: 189

Re: Spotify native linux client

I don't know if this is the right post to use but I'm having some problems with this Spotify client. The AUR package gets installed without problems and the client starts, I can even play songs (on the first startup of the program). But if I try to access the prefrences Spotify crashes. When I try to restart Spotify it starts up (for a second) and then disappeares.

This is the terminal output:

per@arch ~]$ spotify
16:32:17.134 I [user_cache:136] UserCache::initiateGetUsers() will query for 1 users
16:32:18.575 I [ap:1387] Connecting to AP B2.spotify.com:4070
16:32:18.708 I [ap:937] Connected to AP: 78.31.8.15:4070
16:32:19.226 I [gui-model:2208] Login Code: 0

(process:13687): GLib-GObject-CRITICAL **: gtype.c:2706: You forgot to call g_type_init()

(process:13687): GLib-CRITICAL **: g_once_init_leave: assertion `initialization_value != 0' failed

(process:13687): GLib-GObject-CRITICAL **: g_object_new: assertion `G_TYPE_IS_OBJECT (object_type)' failed
Segmentation fault
[per@arch ~]$ java version "1.6.0_18"
OpenJDK Runtime Environment (IcedTea6 1.8+rc691bc07c5e0) (ArchLinux-6.b18_0.hg_20100715-1-i686)
OpenJDK Server VM (build 14.0-b16, mixed mode)

What is happening? sad

Offline

#5 2010-07-20 17:01:19

Rasi
Member
From: Germany
Registered: 2007-08-14
Posts: 1,914
Website

Re: Spotify native linux client

install jre, instead of openjdk


He hoped and prayed that there wasn't an afterlife. Then he realized there was a contradiction involved here and merely hoped that there wasn't an afterlife.

Douglas Adams

Offline

#6 2010-07-20 17:53:54

Perre
Member
Registered: 2008-01-22
Posts: 189

Re: Spotify native linux client

I uninstalled openjdk but it still crashes. Now I get:

per@arch packages]$ spotify
17:52:21.253 I [user_cache:136] UserCache::initiateGetUsers() will query for 1 users
17:52:21.701 I [ap:1387] Connecting to AP B2.spotify.com:4070
17:52:21.833 I [ap:937] Connected to AP: 78.31.8.15:4070
17:52:22.387 I [gui-model:2208] Login Code: 0

(process:29333): GLib-GObject-CRITICAL **: gtype.c:2706: You forgot to call g_type_init()

(process:29333): GLib-CRITICAL **: g_once_init_leave: assertion `initialization_value != 0' failed

(process:29333): GLib-GObject-CRITICAL **: g_object_new: assertion `G_TYPE_IS_OBJECT (object_type)' failed
Segmentation fault

Edit: Does it have something to do with the gnome support mentioned here?: http://aur.archlinux.org/packages.php?ID=38847

Comment by: gadget3000 on Tue, 13 Jul 2010 11:41:52 +0000
"You need to have the environment variable SPOTIFYGNOMESUPPORT set."

I dont know how to do this.

Last edited by Perre (2010-07-20 18:17:49)

Offline

#7 2010-07-21 05:31:40

eothred
Member
Registered: 2009-12-28
Posts: 25

Re: Spotify native linux client

Just for other people that might end up here with the same issue. Delete ~/.config/spotify and ~/.cache/spotify That at least worked for me when I had the same error messages.

Edit: in terminal, write "export SPOTIFYGNOMESUPPORT=yes". It actually just checks if $SPOTIFYGNOMESUPPORT is something, so feel free to replace "yes" with anything you'd like.

Last edited by eothred (2010-07-21 05:35:11)

Offline

#8 2010-07-21 16:37:51

Lazze
Member
From: Bangkok, Thailand
Registered: 2008-09-28
Posts: 133

Re: Spotify native linux client

Hello again, installed spotify from AUR recently and so far so good. Thanks!

Offline

#9 2010-07-21 17:38:18

Perre
Member
Registered: 2008-01-22
Posts: 189

Re: Spotify native linux client

Thanks for the help eothred but it still doesn't work.
I removed Spotify and all dependencies from my system, reinstalled and it still crashes when trying to access prefrences. I also tried to enter export SPOTIFYGNOMESUPPORT=yes in terminal but I don't know if I'm doing it right. Just enter it in terminal wherever?

[per@arch ~]$ spotify
17:33:43.148 I [offline_authorizer.cpp:156] Unable to login offline: no such user
17:33:43.477 I [ap:1387] Connecting to AP B1.spotify.com:4070
17:33:43.514 I [ap:937] Connected to AP: 78.31.12.7:4070
17:33:43.714 I [user_cache:136] UserCache::initiateGetUsers() will query for 1 users
17:33:55.189 I [user_cache:136] UserCache::initiateGetUsers() will query for 1 users
Segmentation fault

Edit: Seems to be a problem others are having too:
http://getsatisfaction.com/spotify/topi … _file_load
http://www.ubervu.com/conversations/www … /12/linux/

Last edited by Perre (2010-07-21 17:54:21)

Offline

#10 2010-07-23 10:43:25

nqn1976
Member
Registered: 2009-09-20
Posts: 7

Re: Spotify native linux client

@Perre: the crash at startup is due to http://bugs.archlinux.org/task/19855 , downgrading flash to 10.0 (or removing it altogether) fixes it. Still segfaults when opening preferences though

Offline

Board footer

Powered by FluxBB