maemo.org - Talk

maemo.org - Talk (https://talk.maemo.org/index.php)
-   Multimedia (https://talk.maemo.org/forumdisplay.php?f=32)
-   -   Official Spotify for Linux now available (https://talk.maemo.org/showthread.php?t=58319)

kalx2e 2010-07-12 17:11

Official Spotify for Linux now available
 
Spotify has announced official release of a Linux client. Packages include a .deb.

http://www.spotify.com/fi/download/previews/

Does this work on N900 too?

nidO 2010-07-12 17:17

Re: Official Spotify for Linux now available
 
It'll be compiled for x86 not Arm, so no.

jmvh 2010-07-12 17:17

Re: Official Spotify for Linux now available
 
Quote:

Originally Posted by kalx2e (Post 749415)
Does this work on N900 too?

No, it won't. The packages are for a different processor architecture.

Anyway, it seems they're using QT which means they might port it for N900 at some point as well. Hopefully they will.

Joorin 2010-07-12 17:19

Re: Official Spotify for Linux now available
 
First of all, this client is not supported by Spotify, as is clearly stated on the web page you're linking to.

Secondly, since it's most likely compiled for X86, and not ARM, getting it to work on the N900 will not be easy. There is some work going on to use X86 binaries on the N900 but I have no idea of the status.

If Spotify supplies an ARM binary, things are different.

kalx2e 2010-07-12 17:41

Re: Official Spotify for Linux now available
 
OK, thanks all.

That's what I was presuming also.

It seems that there are 3-4 different "Spotify for N900" projects going on. None of them seem to reach a stage where they could be released for users. Infinite test releases and nothing final :-(

Joorin 2010-07-13 09:23

Re: Official Spotify for Linux now available
 
Quote:

Originally Posted by kalx2e (Post 749444)
It seems that there are 3-4 different "Spotify for N900" projects going on. None of them seem to reach a stage where they could be released for users. Infinite test releases and nothing final :-(

I'm not sure I understand this remark.

All of them, as far as I know, are developed with new features being added or bigger fixes being done. To release that (by pushing to Extras-testing and waiting for enough votes) just to get something into Extras isn't always good.

And there already are people using the clients. Enable Extras-devel, install the client you think is most to your taste and there you go.

damion 2010-07-13 09:31

Re: Official Spotify for Linux now available
 
Quote:

Originally Posted by Joorin (Post 749426)
First of all, this client is not supported by Spotify, as is clearly stated on the web page you're linking to.

Secondly, since it's most likely compiled for X86, and not ARM, getting it to work on the N900 will not be easy. There is some work going on to use X86 binaries on the N900 but I have no idea of the status.

If Spotify supplies an ARM binary, things are different.


It might work, it'll try it. I suspect it'll need too much ram/cpu/screensize or too complicated a threading model that qemu won't reliably run it.

I'll follow up shortly.

damion 2010-07-13 09:49

Re: Official Spotify for Linux now available
 
Okay, whilst this might work, it's not going to be particularly easy to even test. It needs a much newer chroot than I have available. I could easily solve this, but it'll take hours and I really don't have time. If anyone is interested in helping. Do the following:

get it running on your system.

type "mount" and check that you don't have noatime in any of your mount points, if you, remount them if you can. (Only do this if you understand what I mean).

run "touch ~/uniquefile"

run spotify and then shut it down.

run "find / -anewer ~/uniquefile >listoffilesspotifyuses"

run "tar cf spot.tar -T listoffilesspotifyuses"

Then extract that tar in to its own directory and make sure it contains /bin/bash and a few other chroot necessities. - again, only do this if you know what you're doing.

This directory should be the bare minimum libs and files needed for a chrooted spotify for x86. This can then be run under qemu on the n900.

I don't even have a workstation running the latest ubuntu atm so I haven't even got the native one handy, and making a vmware (or similar) session just for this goes way beyond what time I can spend on this at work ;)

allwise 2010-08-03 13:51

Re: Official Spotify for Linux now available
 
Quote:

Originally Posted by damion (Post 750088)
Okay, whilst this might work, it's not going to be particularly easy to even test. It needs a much newer chroot than I have available. I could easily solve this, but it'll take hours and I really don't have time. If anyone is interested in helping. Do the following:

get it running on your system.

type "mount" and check that you don't have noatime in any of your mount points, if you, remount them if you can. (Only do this if you understand what I mean).

run "touch ~/uniquefile"

run spotify and then shut it down.

run "find / -anewer ~/uniquefile >listoffilesspotifyuses"

run "tar cf spot.tar -T listoffilesspotifyuses"

Then extract that tar in to its own directory and make sure it contains /bin/bash and a few other chroot necessities. - again, only do this if you know what you're doing.

This directory should be the bare minimum libs and files needed for a chrooted spotify for x86. This can then be run under qemu on the n900.

I don't even have a workstation running the latest ubuntu atm so I haven't even got the native one handy, and making a vmware (or similar) session just for this goes way beyond what time I can spend on this at work ;)

damion: This would be awesome. Imagine a free spotify client to use in mobile (when free-clients are allowed in the linux release, which they aren't at the moment. But I bet that it will be implemented soon). Those apple/google n00bs would be jealus! :D

Can't you try this on a Ubuntu Live CD? I'd love to help you somehow, not that used with chrooting though...

hqh 2010-08-03 13:54

Re: Official Spotify for Linux now available
 
Quote:

Originally Posted by damion (Post 750088)
This directory should be the bare minimum libs and files needed for a chrooted spotify for x86. This can then be run under qemu on the n900.

If it runs at all, it will be so slow you can forget actually listening to anything.


All times are GMT. The time now is 14:44.

vBulletin® Version 3.8.8