maemo.org - Talk

maemo.org - Talk (https://talk.maemo.org/index.php)
-   Applications (https://talk.maemo.org/forumdisplay.php?f=41)
-   -   [SFOS] [WIP] CuteSpotify for Sailfish (https://talk.maemo.org/showthread.php?t=91892)

Elleo 2013-11-30 03:54

[WIP] CuteSpotify for Sailfish
 
A few weeks back I updated MeeSpot to use Qt5 and ported it to Ubuntu Touch under the more general name CuteSpotify. I've now also got the majority of its functionality working in Sailfish.

Here's a quick video showing what works at the moment:

http://www.youtube.com/watch?v=CLzItdU0Txk

And the source can be found here:

https://github.com/Elleo/cutespotify/tree/sailfish

There's a couple of little issues I'd still like to fix, but once that's done I'll see about building a version for the handful of people lucky enough to have a Jolla device already to have a play around with :).

Edit: The latest alpha version can be downloaded here: https://openrepos.net/sites/default/...16.armv7hl.rpm (Released 24th March 2014)

n900hacker 2013-11-30 05:18

Re: [Work in Progress] CuteSpotify for Sailfish
 
Which are the bugs you still need to fix?

Elleo 2013-11-30 14:49

Re: [Work in Progress] CuteSpotify for Sailfish
 
Quote:

Originally Posted by n900hacker (Post 1390991)
Which are the bugs you still need to fix?

The main issue is a problem with the cover actions which don't show up when launched via the invoker (but work fine when launched directly from the command line). Other than that it's mostly just a few appearance tweaks.

Morpog 2013-11-30 14:53

Re: [Work in Progress] CuteSpotify for Sailfish
 
Hi Elleo,

made an icon in SVG with sailfishOS style for Cutespotify based on Messpot icon.

http://abload.de/img/cutespotwzeje.png

Can provide you the SVG if you like it.

Elleo 2013-11-30 15:22

Re: [Work in Progress] CuteSpotify for Sailfish
 
Quote:

Originally Posted by Morpog (Post 1391135)
Hi Elleo,

made an icon in SVG with sailfishOS style for Cutespotify based on Messpot icon.

http://abload.de/img/cutespotwzeje.png

Can provide you the SVG if you like it.

That's awesome, thanks. I've added it to the repo, looks much crisper :). It'd be great if I could have the SVG as well for any higher res stuff that might be needed in the future (e.g. a big icon for the store).

Morpog 2013-11-30 15:35

Re: [Work in Progress] CuteSpotify for Sailfish
 
No problem, sent you a link to the SVG on my dropbox via PM.

The bigger the better ;)

http://abload.de/img/cutespotbafus.png

youmeego 2013-11-30 15:39

Re: [Work in Progress] CuteSpotify for Sailfish
 
make the icon leaf shape?

Elleo 2013-11-30 15:46

Re: [Work in Progress] CuteSpotify for Sailfish
 
Quote:

Originally Posted by Morpog (Post 1391145)
No problem, sent you a link to the SVG on my dropbox via PM.

The bigger the better ;)

http://abload.de/img/cutespotbafus.png

Great, thanks :).

Morpog 2013-11-30 15:47

Re: [Work in Progress] CuteSpotify for Sailfish
 
Quote:

Originally Posted by youmeego (Post 1391149)
make the icon leaf shape?

I don't see why. Round icon is one of the 16 shapes Jolla uses by themselves. Also the original spotify icon is round too.

Spotify original icon:
http://abload.de/img/logoqkfh0.png

Jolla shapes:
http://www.abload.de/img/all-on-gridtdsiy.png

Elleo 2013-11-30 17:37

Re: [Work in Progress] CuteSpotify for Sailfish
 
Here's an RPM built for the Jolla device, if anyone with one wouldn't mind running it and letting me know if it works it'd be a big help:

http://mikeasoft.com/~mike/cutespoti...-1.armv7hl.rpm

Morpog 2013-11-30 17:52

Re: [Work in Progress] CuteSpotify for Sailfish
 
If I just would have my Jolla already....

you should try in #sailfishos or #jollamobile

Elleo 2013-11-30 18:09

Re: [Work in Progress] CuteSpotify for Sailfish
 
Quote:

Originally Posted by Elleo (Post 1391188)
Here's an RPM built for the Jolla device, if anyone with one wouldn't mind running it and letting me know if it works it'd be a big help:

http://mikeasoft.com/~mike/cutespoti...-1.armv7hl.rpm


Seems it doesn't run on the device (and doesn't give any errors), so a release might have to wait until I have a device to debug it on.

pycage 2013-11-30 18:39

Re: [Work in Progress] CuteSpotify for Sailfish
 
This is the strace output, if it helps...

Code:

[nemo@localhost ~]$ strace CuteSpotify
execve("/usr/bin/CuteSpotify", ["CuteSpotify"], [/* 35 vars */]) = 0
brk(0)                                  = 0x413fb000
uname({sys="Linux", node="localhost", ...}) = 0
access("/etc/ld.so.nohwcap", F_OK)      = -1 ENOENT (No such file or directory)
mmap2(NULL, 4096, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_ANONYMOUS, -1, 0) = 0x40283000
access("/etc/ld.so.preload", R_OK)      = -1 ENOENT (No such file or directory)
open("/usr/share/cutespotify/tls/v7l/neon/vfp/libspotify.so.12", O_RDONLY|O_CLOEXEC) = -1 ENOENT (No such file or directory)
stat64("/usr/share/cutespotify/tls/v7l/neon/vfp", 0xbed3c0e8) = -1 ENOENT (No such file or directory)
open("/usr/share/cutespotify/tls/v7l/neon/libspotify.so.12", O_RDONLY|O_CLOEXEC) = -1 ENOENT (No such file or directory)
stat64("/usr/share/cutespotify/tls/v7l/neon", 0xbed3c0e8) = -1 ENOENT (No such file or directory)
open("/usr/share/cutespotify/tls/v7l/vfp/libspotify.so.12", O_RDONLY|O_CLOEXEC) = -1 ENOENT (No such file or directory)
stat64("/usr/share/cutespotify/tls/v7l/vfp", 0xbed3c0e8) = -1 ENOENT (No such file or directory)
open("/usr/share/cutespotify/tls/v7l/libspotify.so.12", O_RDONLY|O_CLOEXEC) = -1 ENOENT (No such file or directory)
stat64("/usr/share/cutespotify/tls/v7l", 0xbed3c0e8) = -1 ENOENT (No such file or directory)
open("/usr/share/cutespotify/tls/neon/vfp/libspotify.so.12", O_RDONLY|O_CLOEXEC) = -1 ENOENT (No such file or directory)
stat64("/usr/share/cutespotify/tls/neon/vfp", 0xbed3c0e8) = -1 ENOENT (No such file or directory)
open("/usr/share/cutespotify/tls/neon/libspotify.so.12", O_RDONLY|O_CLOEXEC) = -1 ENOENT (No such file or directory)
stat64("/usr/share/cutespotify/tls/neon", 0xbed3c0e8) = -1 ENOENT (No such file or directory)
open("/usr/share/cutespotify/tls/vfp/libspotify.so.12", O_RDONLY|O_CLOEXEC) = -1 ENOENT (No such file or directory)
stat64("/usr/share/cutespotify/tls/vfp", 0xbed3c0e8) = -1 ENOENT (No such file or directory)
open("/usr/share/cutespotify/tls/libspotify.so.12", O_RDONLY|O_CLOEXEC) = -1 ENOENT (No such file or directory)
stat64("/usr/share/cutespotify/tls", 0xbed3c0e8) = -1 ENOENT (No such file or directory)
open("/usr/share/cutespotify/v7l/neon/vfp/libspotify.so.12", O_RDONLY|O_CLOEXEC) = -1 ENOENT (No such file or directory)
stat64("/usr/share/cutespotify/v7l/neon/vfp", 0xbed3c0e8) = -1 ENOENT (No such file or directory)
open("/usr/share/cutespotify/v7l/neon/libspotify.so.12", O_RDONLY|O_CLOEXEC) = -1 ENOENT (No such file or directory)
stat64("/usr/share/cutespotify/v7l/neon", 0xbed3c0e8) = -1 ENOENT (No such file or directory)
open("/usr/share/cutespotify/v7l/vfp/libspotify.so.12", O_RDONLY|O_CLOEXEC) = -1 ENOENT (No such file or directory)
stat64("/usr/share/cutespotify/v7l/vfp", 0xbed3c0e8) = -1 ENOENT (No such file or directory)
open("/usr/share/cutespotify/v7l/libspotify.so.12", O_RDONLY|O_CLOEXEC) = -1 ENOENT (No such file or directory)
stat64("/usr/share/cutespotify/v7l", 0xbed3c0e8) = -1 ENOENT (No such file or directory)
open("/usr/share/cutespotify/neon/vfp/libspotify.so.12", O_RDONLY|O_CLOEXEC) = -1 ENOENT (No such file or directory)
stat64("/usr/share/cutespotify/neon/vfp", 0xbed3c0e8) = -1 ENOENT (No such file or directory)
open("/usr/share/cutespotify/neon/libspotify.so.12", O_RDONLY|O_CLOEXEC) = -1 ENOENT (No such file or directory)
stat64("/usr/share/cutespotify/neon", 0xbed3c0e8) = -1 ENOENT (No such file or directory)
open("/usr/share/cutespotify/vfp/libspotify.so.12", O_RDONLY|O_CLOEXEC) = -1 ENOENT (No such file or directory)
stat64("/usr/share/cutespotify/vfp", 0xbed3c0e8) = -1 ENOENT (No such file or directory)
open("/usr/share/cutespotify/libspotify.so.12", O_RDONLY|O_CLOEXEC) = 3
read(3, "\177ELF\1\1\1\0\0\0\0\0\0\0\0\0\3\0(\0\1\0\0\0\220i\1\0004\0\0\0"..., 512) = 512
lseek(3, 2466640, SEEK_SET)            = 2466640
read(3, "\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0"..., 1000) = 1000
lseek(3, 2466368, SEEK_SET)            = 2466368
read(3, "A6\0\0\0aeabi\0\1,\0\0\0\5CORTEX-A8\0\6\n\7A\10"..., 55) = 55
exit_group(1)                          = ?


Elleo 2013-11-30 18:50

Re: [Work in Progress] CuteSpotify for Sailfish
 
Thanks pycage, that is helpful, I suspect it's the wrong architecture for libspotify; could you try the following version and see if it gets any further?

http://mikeasoft.com/~mike/cutespoti...-2.armv7hl.rpm

pycage 2013-11-30 19:23

Re: [Work in Progress] CuteSpotify for Sailfish
 
The new version starts up but hangs and segfaults when trying to log in.

Code:

19:24:53.601 I [offline_authorizer.cpp:297] Unable to login offline: no such user

19:24:53.602 I [ap:1752] Connecting to AP ap.spotify.com:4070

19:24:53.654 I [ap:1226] Connected to AP: 78.31.12.94:4070

19:24:54.305 E [ap:3953] Connection error:  409


Elleo 2013-11-30 19:30

Re: [Work in Progress] CuteSpotify for Sailfish
 
Quote:

Originally Posted by pycage (Post 1391223)
The new version starts up but hangs and segfaults when trying to log in.

Code:

19:24:53.601 I [offline_authorizer.cpp:297] Unable to login offline: no such user

19:24:53.602 I [ap:1752] Connecting to AP ap.spotify.com:4070

19:24:53.654 I [ap:1226] Connected to AP: 78.31.12.94:4070

19:24:54.305 E [ap:3953] Connection error:  409


Thanks, seems it crashes when there's a login error, so I'll need to get that fixed. Other people have been able to log in with the new version, but it seems some plugin or other is still missing as QAudioOutput doesn't provide any valid devices. Previously we fixed this in the emulator by adding qt5-qtmultimedia-plugin-audio-pulseaudio to the dependencies, but it seems something else is needed as well on the actual device (but I have no clue what it might be).

mikecomputing 2013-11-30 19:53

Re: [Work in Progress] CuteSpotify for Sailfish
 
Quote:

Originally Posted by Elleo (Post 1391227)
Thanks, seems it crashes when there's a login error, so I'll need to get that fixed. Other people have been able to log in with the new version, but it seems some plugin or other is still missing as QAudioOutput doesn't provide any valid devices. Previously we fixed this in the emulator by adding qt5-qtmultimedia-plugin-audio-pulseaudio to the dependencies, but it seems something else is needed as well on the actual device (but I have no clue what it might be).

my uradio needed :

qt5-qtmultimedia-plugin-mediaservice-gstmediaplayer
gst-plugins-good

to play ogg streams and AFAIK spotify uses ogg to?

Btw. there seems to be no armv7hl(eg hard float) version of libspotify.so? Could that be the issue with crashing?

Elleo 2013-11-30 21:24

Re: [Work in Progress] CuteSpotify for Sailfish
 
Quote:

Originally Posted by mikecomputing (Post 1391233)
my uradio needed :

qt5-qtmultimedia-plugin-mediaservice-gstmediaplayer
gst-plugins-good

to play ogg streams and AFAIK spotify uses ogg to?

Possibly internally but it has everything it needs to decode streams as part of libspotify, it just provides raw audio that has to be output via QAudioOutput. It seems the problem with audio not coming out is because I have to do some magic with libresource otherwise it gets muted by default.

Unfortunately it seems that by using libresource directly I probably won't be able to distribute it in the Jolla store right away because it's not one of the authorised APIs.

The latest, sort-of-working version can be downloaded here:

http://mikeasoft.com/~mike/cutespoti...-4.armv7hl.rpm

It works pretty well in the emulator, but seems to be somewhat flaky on the device, and there's currently no way of controlling the volume, so use at your own peril ;).

I'd be quite interested to see a video of it running on a device if anyone has the time :).

Quote:

Btw. there seems to be no armv7hl(eg hard float) version of libspotify.so? Could that be the issue with crashing?
Yeah, I'm having to use the armv6 hard float beta version unfortunately, not certain what effects this may have on stability.

junnuvi 2013-12-01 08:01

Re: [Work in Progress] CuteSpotify for Sailfish
 
Quote:

Originally Posted by Elleo (Post 1391248)
It works pretty well in the emulator, but seems to be somewhat flaky on the device, and there's currently no way of controlling the volume, so use at your own peril ;).

I'd be quite interested to see a video of it running on a device if anyone has the time :).

Here is quick video of CuteSpotify running on Jolla device:
http://www.youtube.com/watch?v=P86L0XaTM8w

Works pretty nice. Couple things are not working so nicely:
- Volume control, as said earlier
- Some times when starting application it has forgotten credentials. Also some times crashes during startup even credentials are ok
- Changing stream quality does not make change and also application will forgot settings immedialy after changing it
- With larger playlists application will startup will take LONG time

But, this looks very promising. Thanks!

Elleo 2013-12-01 15:47

Re: [Work in Progress] CuteSpotify for Sailfish
 
Quote:

Originally Posted by junnuvi (Post 1391305)
Here is quick video of CuteSpotify running on Jolla device:
http://www.youtube.com/watch?v=P86L0XaTM8w

Great thanks, looks like it runs fairly smoothly on the device, which is good to know. Interestingly it looks like some of the theme icons have changed between the last emulator release and the actual device images.

Quote:

- Changing stream quality does not make change and also application will forgot settings immedialy after changing it
Thanks for pointing this out, it's now fixed here: http://mikeasoft.com/~mike/cutespoti...-6.armv7hl.rpm

This version should theoretically also have some support for control via Bluetooth media keys, assuming that's supported on the device.

Quote:

- With larger playlists application will startup will take LONG time
Yeah, this should only happen the first time you log in while it fetches and caches the lists, so this should be less of an issue once I've worked out why it's sometimes losing credentials.

junnuvi 2013-12-01 17:10

Re: [Work in Progress] CuteSpotify for Sailfish
 
Quality settings saving is now ok.

Maybe these errors have something to do with losting credentials. It will throw those to console when closing application:

Code:

16:49:50.225 E [playlist:1990] Unable to save file: playlist.bnk

16:49:50.226 E [social-mgr:830] Unable to save file: social_stream.bnk

16:49:50.227 E [user_cache:107] Unable to save file: user-cache.bnk

16:49:50.245 E [playlist:1990] Unable to save file: playlist.bnk

16:49:50.262 E [playlist:1990] Unable to save file: playlist.bnk

I was not able to repeat losting credentials anymore. But I think these save errors might be one reason why it updates playlists everytime when starting up application?

mikecomputing 2013-12-01 17:22

Re: [Work in Progress] CuteSpotify for Sailfish
 
Quote:

Originally Posted by Elleo (Post 1391248)
Yeah, I'm having to use the armv6 hard float beta version unfortunately, not certain what effects this may have on stability.


I think we should ask spotify for an armv7hl file. It should be no problem for them build an binary for armv7hl if not because of some stupid uknown decision.

junnuvi 2013-12-03 05:06

Re: [Work in Progress] CuteSpotify for Sailfish
 
I had to reset factory settings on my phone because Jolla store was not working anymore. And after that I of course had to re-intall Cute Spotify as well.

Now it will not save credentials at all.

Code:

04:59:58.708 E [playlist:1990] Unable to save file: playlist.bnk
04:59:58.709 E [social-mgr:830] Unable to save file: social_stream.bnk
04:59:58.709 E [user_cache:107] Unable to save file: user-cache.bnk
04:59:58.734 E [playlist:1990] Unable to save file: playlist.bnk
04:59:58.751 E [playlist:1990] Unable to save file: playlist.bnk

Where it should save those files? Maybe there is missing directory or something?

Elleo 2013-12-04 20:45

Re: [Work in Progress] CuteSpotify for Sailfish
 
Quote:

Originally Posted by junnuvi (Post 1392004)
Where it should save those files? Maybe there is missing directory or something?

It should be writing to ~/.local/share/CuteSpotify (the default Qt DataLocation).

junnuvi 2013-12-04 20:59

Re: [Work in Progress] CuteSpotify for Sailfish
 
I might found something..

When saving credentials fails it will write some files to "~/.local/share/CuteSpotify/CuteSpot)" or similar by random. Last time it saved files to "~/.local/share/CuteSpotify/CuteSpot?".

At least it writes index.dat to that directory and I presume it will also try to save those .bnk files mentioned before to same directory?

Probably it will also try to load config files from incorrect directory as well.

Here is list of files currently in ~/.local/share/CuteSpotify
Code:

./CuteSpotify
./CuteSpotify/Storage
./CuteSpotify/Storage/index.dat
./CuteSpotify/Storage/eb
./CuteSpotify/Storage/eb/eb7c990b1ee2684886e5c1d1147ea198e23bc91a.file
./CuteSpotify/Users
./CuteSpotify/Users/username-user
./CuteSpotify/Users/username-user/offline2
./CuteSpotify/Users/username-user/playlist-04d1f02608960bdd1fc30e19fe474702.bnk
./CuteSpotify/Users/username-user/playlist-649c63cda41ca68cecfa10b164fa8f02.bnk
./CuteSpotify/Users/username-user/playlist-d9a0a76559b9c72587bcacd1cad15b02.bnk
./CuteSpotify/Users/username-user/playlist.bnk
./CuteSpotify/Users/username-user/social_stream.bnk
./CuteSpotify/offline.bnk
./CuteSpotify/settings
./CuteSpotify/user-cache.bnk
./CuteSpot?
./CuteSpot?/index.dat

Edit: Quick and dirty workaround..

Code:

[nemo@localhost ~]$ ls -l .local/share/CuteSpotify/
total 16
lrwxrwxrwx 1 nemo nemo        11 2013-12-04 23:18 CuteSpot! -> CuteSpotify
lrwxrwxrwx 1 nemo nemo        11 2013-12-04 23:17 CuteSpot? -> CuteSpotify
lrwxrwxrwx 1 nemo nemo        11 2013-12-04 23:17 CuteSpot) -> CuteSpotify
drwxr-xr-x 1 nemo privileged 130 2013-12-05 17:17 CuteSpotify
lrwxrwxrwx 1 nemo nemo        11 2013-12-04 23:15 CuteSpot^Q -> CuteSpotify

With this temporary "fix" most of CureSpotify startups are ok (less than 10% of startups fails) and it will automatically login.

Elleo 2013-12-06 22:00

Re: [Work in Progress] CuteSpotify for Sailfish
 
Yeah, I suspect that the string being passed to libspotify is getting corrupted somewhere; unfortunately debugging things involving libspotify is a bit tricky due to the lack of any debugging symbols/source on the libspotify side of things.

mikecomputing 2013-12-06 22:15

Re: [Work in Progress] CuteSpotify for Sailfish
 
hmm to long path for libsportify to handle maybe? :confused: may sound stupid but...

Anyway, If you think its a bug in libspotify please report it to spotify.

junnuvi 2013-12-07 05:12

Re: [Work in Progress] CuteSpotify for Sailfish
 
Actually i was thinking same but it sounded so stupid that i didn't even say that :) back to the ms-dos 8+3 characters limit?

It seems to cut after 8 characters so can you Elleo cut directory name to CuteSpot just for testing?

Elleo 2013-12-07 16:12

Re: [Work in Progress] CuteSpotify for Sailfish
 
Quote:

Originally Posted by mikecomputing (Post 1393248)
hmm to long path for libsportify to handle maybe? :confused: may sound stupid but...

Anyway, If you think its a bug in libspotify please report it to spotify.

We use a much longer pathname on Ubuntu Touch (~/.local/share/com.mikeasoft.cutespotify/), so I don't think it's a length limitation, I think a bit of the memory containing the string is being overwritten somewhere. When I've got a bit more time I'll have a poke and see if it can be replicated in the x86 version.

parasemic 2013-12-15 18:23

Re: [Work in Progress] CuteSpotify for Sailfish
 
Volumelevel is too high for my headphones :(

Good work so far anyway!

Casanunda 2013-12-18 16:12

Re: [Work in Progress] CuteSpotify for Sailfish
 
Very nice work!
loads very fast for me (only a few playlists, and they are not that long).
I've experienced the forgotten credentials every time so far (after 5 startups).

attah 2013-12-19 18:32

Re: [Work in Progress] CuteSpotify for Sailfish
 
Hi guys!

Im getting these errors when trying to install:

Code:

nemo@localhost ~]$ rpm -i cutespotify-1.3.0-6.armv7hl.rpm
error: Failed dependencies:
        libsailfishapp.so.1 is needed by cutespotify-1.3.0-6.armv7hl
        qt5-qtmultimedia-plugin-audio-pulseaudio is needed by cutespotify-1.3.0-6.armv7hl

Should i just grab those from pkcon, or is this a sign that something is broken?
How did *you* do it?

Elleo 2013-12-19 18:39

Re: [Work in Progress] CuteSpotify for Sailfish
 
Quote:

Originally Posted by attah (Post 1398831)
Hi guys!

Im getting these errors when trying to install:

Code:

nemo@localhost ~]$ rpm -i cutespotify-1.3.0-6.armv7hl.rpm
error: Failed dependencies:
        libsailfishapp.so.1 is needed by cutespotify-1.3.0-6.armv7hl
        qt5-qtmultimedia-plugin-audio-pulseaudio is needed by cutespotify-1.3.0-6.armv7hl

Should i just grab those from pkcon, or is this a sign that something is broken?
How did *you* do it?

rpm won't download and install dependencies automatically by itself, the best way to install would be: pkcon install-local cutespotify-1.3.0-6.armv7hl.rpm

This can be done as the normal nemo user without needing root privileges.

junnuvi 2013-12-20 21:12

Re: [Work in Progress] CuteSpotify for Sailfish
 
I just noticed that sometimes when closing CuteSpotify by swiping from top to bottom CuteSpotify prosess will sometimes keep running on backgroud.

As temporary solution I made startup script which will first "killall -9 CuteSpotify" and now it starts every time ok.

This might be a bug on Sailfish. Have to keep looking more closely if this happens on other applications too. This morning I had problems to start CuteSpotify and during today battery level dropped down much faster than normaly. So I think CuteSpotify was eating my battery.

jsiren 2013-12-21 18:22

Re: [Work in Progress] CuteSpotify for Sailfish
 
For some reason I can't seem to login. I've checked that my credentials work on the web login, but CuteSpotify simply rejects them without error. The Accept glow makes no difference. It has so far made two directories under /home/nemo/.local/share/CuteSpotify. One is CuteSpotify and contains a file called settings and a subdirectory Storage containing one file index.dat. This was created first.

The other was created during my login attempts, and is called CuteSpot?. It only contains index.dat.

Edit: CuteSpot\021 to be precise.

jsiren 2013-12-21 18:35

Re: [Work in Progress] CuteSpotify for Sailfish
 
Here are the error messages I get while trying to login with my spotify.com username and password:

18:32:35.241 I [offline_authorizer.cpp:297] Unable to login offline: no such user

18:32:35.242 I [ap:1752] Connecting to AP ap.spotify.com:4070

18:32:35.386 I [ap:1226] Connected to AP: 194.14.177.19:4070

18:32:35.888 E [ap:3953] Connection error: 409

(next trying email address instead of username)
18:33:31.572 I [offline_authorizer.cpp:297] Unable to login offline: no such user

18:33:31.573 I [ap:1752] Connecting to AP ap.spotify.com:4070

18:33:32.071 I [ap:1226] Connected to AP: 194.14.177.18:4070

18:33:33.948 E [ap:3953] Connection error: 410

Elleo 2013-12-21 19:50

Re: [Work in Progress] CuteSpotify for Sailfish
 
Quote:

Originally Posted by jsiren (Post 1399490)
Here are the error messages I get while trying to login with my spotify.com username and password:

18:32:35.241 I [offline_authorizer.cpp:297] Unable to login offline: no such user

18:32:35.242 I [ap:1752] Connecting to AP ap.spotify.com:4070

18:32:35.386 I [ap:1226] Connected to AP: 194.14.177.19:4070

18:32:35.888 E [ap:3953] Connection error: 409

(next trying email address instead of username)
18:33:31.572 I [offline_authorizer.cpp:297] Unable to login offline: no such user

18:33:31.573 I [ap:1752] Connecting to AP ap.spotify.com:4070

18:33:32.071 I [ap:1226] Connected to AP: 194.14.177.18:4070

18:33:33.948 E [ap:3953] Connection error: 410


Error 409 would seem to indicate that you don't have a premium account, is that correct? CuteSpotify is only available to Spotify users with premium accounts.

jsiren 2013-12-21 20:36

Re: [Work in Progress] CuteSpotify for Sailfish
 
Quote:

Originally Posted by Elleo (Post 1399505)
Error 409 would seem to indicate that you don't have a premium account, is that correct? CuteSpotify is only available to Spotify users with premium accounts.

Ah, and I downgraded a couple of months ago because I didn't find a use for the premium account... :mad: Thanks. The app could give some feedback about this.

petaqui 2013-12-21 21:59

Re: [Work in Progress] CuteSpotify for Sailfish
 
This looks gorgeus!

I really love seeing this work in progress :) But I don't like the part of 10€/month hahaha
Keep the hard work up!

super_hirsute 2013-12-21 23:54

Re: [Work in Progress] CuteSpotify for Sailfish
 
Hi Elleo,

I've managed to clone and build the code from https://github.com/Elleo/cutespotify/tree/sailfish.

But it doesn't seem to want to deploy to my device. Is there something I'm missing (or a step I've missed)?

There doesn't seem to any output from QtCreator


Thanks


All times are GMT. The time now is 12:41.

vBulletin® Version 3.8.8