maemo.org - Talk

maemo.org - Talk (https://talk.maemo.org/index.php)
-   Multimedia (https://talk.maemo.org/forumdisplay.php?f=32)
-   -   Wine+Spotify+N900=Endless couch time (https://talk.maemo.org/showthread.php?t=31363)

HangLoose 2009-09-07 13:38

Wine+Spotify+N900=Endless couch time
 
Spotify is developing some great mobile interfaces (just today they showed a demo with the a S60 device) but will take some time for them to also develop one for Maemo...

I know its far fetched but is this combination possible?

mikkov 2009-09-07 13:43

Re: Wine+Spotify+N900=Endless couch time
 
No, Spotify for windows is x86 application and N900 has ARM processor.

fanoush 2009-09-07 14:09

Re: Wine+Spotify+N900=Endless couch time
 
Well, why not? Music and wine can mix well. Either the mobile interface allows one handed operation with a glass in other hand (does it work with that S60 demo?) or I guess one can momentarily put the glass away :-)

deadmalc 2009-09-07 14:32

Re: Wine+Spotify+N900=Endless couch time
 
Don't you have to pay for the mobile versions?
Whereas the web ones are free?

SubCore 2009-09-07 14:33

Re: Wine+Spotify+N900=Endless couch time
 
Quote:

Originally Posted by mikkov (Post 323162)
No, Spotify for windows is x86 application and N900 has ARM processor.

Well, if there really exists a demo version of spotify for S60, this specific issue is no issue at all, since there is no S60 for x86 ;)

it should "just" be a matter of porting from S60 to Maemo (whether or not that is easily done i cannot say).

but you can generally forget wine on the tablet. wine only executes x86 windows executables in a suitable environment for them, but for running such things on the ARM processor of the handhelds, you would need a real emulator like qemu, bochs, or the widely known vmware.

bbin 2009-09-07 14:57

Re: Wine+Spotify+N900=Endless couch time
 
Well here is the video: https://www.spotify.com/blog/archive...potify-on-s60/

BatPenguin 2009-09-07 15:23

Re: Wine+Spotify+N900=Endless couch time
 
Quote:

Originally Posted by bbin (Post 323188)

The point about ARM vs. x86 is about Wine support...Wine doesn't work on anything outside of x86. So if there will be Spotify for Maemo some day, it won't be through wine but with a native application. So no free desktop application, unfortunately that's simply not possible.

Anyway, there's mobile Spotify. It's available for the IPhone and Android (released today), so I see no reason whatsoever why they wouldn't develop a Maemo version if there was enough demand. However, one Maemo phone available (ok, not even released) most likely doens't count as "enough demand". Who knows, if we have several phones available next year and they start becoming more popular, then why not?

Anyway, mobile Spotify requires the 10 euros/month subscription, it's not free. So they might also look at how eager the Maemo crowd is about paying for services/applications before deciding to create a Maemoversion. Or well, I would at least :)

If Maemo gets anywhere near the Android-like (900% or whatever) growths rates next year, perhaps we'll see Spotify. That seems a bit unlikely though, but one can hope.

epertinez 2009-09-08 11:10

Re: Wine+Spotify+N900=Endless couch time
 
Quote:

Originally Posted by SubCore (Post 323177)
it should "just" be a matter of porting from S60 to Maemo (whether or not that is easily done i cannot say).

but you can generally forget wine on the tablet. wine only executes x86 windows executables in a suitable environment for them, but for running such things on the ARM processor of the handhelds, you would need a real emulator like qemu, bochs, or the widely known vmware.

qemu, bosch and wmware are not emulators. They are virtual machines.
Let me explain it. Wine makes a windows program believe it is running over windows. To fool the program it has replicaded all the functions of the DLL's of windows, so when the program asks for something to the OS wine replies almost as if it was windows.

The program anyway is compiled to run in a given set of instructions, what is known as x86 (that is the PC CPU's).


A virtual machine is a little bit different. In this case the virtual machine makes the guest OS believe it is running all the computer for itself when in reality it is running in an envirnontment controlled by another OS. For that to work the Host simulates a bios and recreates some disk and memory drivers of the guest OS.

So in this case The given program of the first case actually runs over Windows and asks things to real windows DLL and OS, just that Windows is not taking control of the computer, but a subsection of it.

In this case, again, both the program and the OS are compiled using a given set of instructions and the CPU that the virtual machine runs in must understand those instructions.

Finally, an emulator is a program that reads one by one the instructions an emulated OS (or a program) is using, and one by one translates them to a new set of instructions and execute them.

Emulation can work for very old software because it normally ran in extremelly slow Hardware. And emulation can work well for game consoles because the OS is a very thin layer that do very little.

But when you must emulate not only the program (spotify) but the OS (fat windows) emulation is extremelly slow. And if you run it over a not so fast CPU it can become totally unusable.

fanoush 2009-09-08 11:49

Re: Wine+Spotify+N900=Endless couch time
 
Quote:

Originally Posted by epertinez (Post 323641)
qemu, bosch and wmware are not emulators. They are virtual machines
...
A virtual machine is a little bit different. In this case the virtual machine makes the guest OS believe it is running all the computer for itself

qemu has two modes - system and user. system emulates whole computer, user mode just translates instructions but uses same linux OS. In theory Wine can be compiled ARM native and be coupled with user mode emulation for running x86 win32 binaries. In fact it was already started for PowerPC.

People talked about doing it for ARM but so far it has not materialized. Current ARM hardware is lacking both in memory and CPU when compared to current x86/Windows hardware so even without any emulation overhead the result for typical Windows applications wouldn't be great. Maybe that's the reason why developer interest was low so far.

SubCore 2009-09-08 12:10

Re: Wine+Spotify+N900=Endless couch time
 
Quote:

Originally Posted by epertinez (Post 323641)
qemu, bosch and wmware are not emulators. They are virtual machines.

VMs are in fact emulators. they emulate a different (or the same) system architecture for the guest OS.
http://en.wikipedia.org/wiki/Virtual_machine#Techniques

wine on the other hand, is not an emulator. even it's own name says so ;)

perhaps you have a different understanding of what constitutes an "emulation", but VMs are generally considered as such.

Kozzi 2009-09-09 10:00

Re: Wine+Spotify+N900=Endless couch time
 
http://twitter.com/davdin/statuses/3859911138

Quote:

Wait wait!! Now playing Behemoth - Conquer All on #Maemo 5 SDK from spotify! \,,/ YEAH! Now to make a nice UI for this. #Maemo #N900 #Metal
Does this mean we''ll have a spotify client for n900 soon ?

luca 2009-09-09 19:29

Re: Wine+Spotify+N900=Endless couch time
 
Quote:

Originally Posted by Kozzi (Post 324181)
http://twitter.com/davdin/statuses/3859911138



Does this mean we''ll have a spotify client for n900 soon ?

Don't know who davdin is, but spotify provides a (closed) library but only for i386 (and working only with spotify premium), so there's a chance to have it running on the sdk (i.e., on i386) not on the tablet.
For that to work they should provide the same library compiled for arm.

mece 2009-09-09 22:28

Re: Wine+Spotify+N900=Endless couch time
 
I tweeted that originally. I just tested some open source solutions, and they work fine.

gSpotify frontend that uses despotify backend is the best suited to work on imo.

here's a screenshot of gSpotify unmodified:
http://http://imgur.com/nke5B.png

Since despotify works, we already have a client. despotify comes with 2 text based and one maemo4 based clients in the source. all those work, but I like gSpotify the best.

docoma here on maemo.org made it, download it here: http://unntaket.net/gspotify/
you also need despotify from http://despotify.se

The downside with all this great stuff is that you need a premium account for it to work, just like every other mobile spotify clients.

mece 2009-09-09 22:30

Re: Wine+Spotify+N900=Endless couch time
 
ok.. no images. well here's the sdk screenshot: http://imgur.com/nke5B.png

McChicken 2009-09-10 12:33

Re: Wine+Spotify+N900=Endless couch time
 
Quote:

Originally Posted by mece (Post 324554)
I tweeted that originally. I just tested some open source solutions, and they work fine.

gSpotify frontend that uses despotify backend is the best suited to work on imo.

here's a screenshot of gSpotify unmodified:
http://http://imgur.com/nke5B.png

Since despotify works, we already have a client. despotify comes with 2 text based and one maemo4 based clients in the source. all those work, but I like gSpotify the best.

docoma here on maemo.org made it, download it here: http://unntaket.net/gspotify/
you also need despotify from http://despotify.se

The downside with all this great stuff is that you need a premium account for it to work, just like every other mobile spotify clients.

Hmmm.
can anybody explain in SIMPLE words why you need to have a Premiium account .....is is the Despotify that demand that, as even with WINE somebody said you need a premium account....would love to be able to use the free one as on my PC / Lap

HangLoose 2009-09-10 12:50

Re: Wine+Spotify+N900=Endless couch time
 
hm... i think this is how their "mobile" business model happens..

[edit]
like with spotify's own iphone, android, s60 mobile app you know?
[/edit]

maybe those gspotify and whatever are just front ends to some api that requires authentication.. [edit] and since just paid accounts can use the mobile version gspotify/etc are using the same apis given to android/etc [/edit]

or then not... just me and my conspiracy theories..

asj 2009-09-14 18:51

Re: Wine+Spotify+N900=Endless couch time
 
Hi,
My first post to this forum. I have access to both a Maemo 5 device and to a Spotify premium account but Iīm an idiot when it comes to linux etc. Could you help out on how to get gspotify and despotify on my device? I donīt get it and unfortunately I donīt have access to a linux PC so I canīt compile... Can you get me the .deb for despotify? I think I got the right gspotify but it says that I need despotify.
Thanks

mece 2009-09-15 12:35

Re: Wine+Spotify+N900=Endless couch time
 
Quote:

Originally Posted by HangLoose (Post 324791)
hm... i think this is how their "mobile" business model happens..

like with spotify's own iphone, android, s60 mobile app you know?

maybe those gspotify and whatever are just front ends to some api that requires authentication.. [edit] and since just paid accounts can use the mobile version gspotify/etc are using the same apis given to android/etc

or then not... just me and my conspiracy theories..

Well, you can't very well run an open source client with ads, since then all you'd just reprogram it to remove the ads and such. Anyway spotify blocks the free accounts in their api. And it makes total sense.

http://despotify.se/2009/02/23/updat...free-accounts/

McChicken 2009-09-16 08:44

Re: Wine+Spotify+N900=Endless couch time
 
Quote:

Originally Posted by mece (Post 327164)
Well, you can't very well run an open source client with ads, since then all you'd just reprogram it to remove the ads and such. Anyway spotify blocks the free accounts in their api. And it makes total sense.

http://despotify.se/2009/02/23/updat...free-accounts/

the links say:
Despotify has been blocked for users using ‘Free’ accounts.
You can still use Despotify using ‘Premium’ accounts.

We will not attempt to circumvent this block, nor accept any patches circumventing it. If you disagree with this decision, you are free to fork the code.


I don't mind / would love to be able to use Spotify even with Ads, I just use it as a complelemt to the 12gb MP3 I have on my 16gb card

Duffer 2009-10-01 13:31

Re: Wine+Spotify+N900=Endless couch time
 
http://despotify.sourceforge.net/

Anybody know how to compile the above for the N900??

I'm a paying premium Spotify user, this would be great!


Sorry didn't see this thread

http://talk.maemo.org/showthread.php?t=27124&page=2

It's being worked on :)

Dave999 2009-12-20 17:07

Re: Wine+Spotify+N900=Endless couch time
 
is this working for n900?

http://www.spotify.com/en/help/faq/wine/

Flyser 2009-12-20 17:13

Re: Wine+Spotify+N900=Endless couch time
 
No. wine is not an emulator, so the windows version of spotify wont run on arm processors.

Dave999 2009-12-20 17:15

Re: Wine+Spotify+N900=Endless couch time
 
ok. thx. too bad.


All times are GMT. The time now is 22:16.

vBulletin® Version 3.8.8