Active Topics

 



Notices


Reply
Thread Tools
Posts: 80 | Thanked: 51 times | Joined on Feb 2010 @ Finland
#21
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?
 

The Following 2 Users Say Thank You to junnuvi For This Useful Post:
Posts: 3,464 | Thanked: 5,107 times | Joined on Feb 2010 @ Gothenburg in Sweden
#22
Originally Posted by Elleo View Post
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.
__________________
Keep safe and healthy
 
Posts: 80 | Thanked: 51 times | Joined on Feb 2010 @ Finland
#23
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's Avatar
Posts: 266 | Thanked: 979 times | Joined on Jan 2010 @ London
#24
Originally Posted by junnuvi View Post
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).
 

The Following User Says Thank You to Elleo For This Useful Post:
Posts: 80 | Thanked: 51 times | Joined on Feb 2010 @ Finland
#25
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.

Last edited by junnuvi; 2013-12-05 at 15:23.
 

The Following User Says Thank You to junnuvi For This Useful Post:
Elleo's Avatar
Posts: 266 | Thanked: 979 times | Joined on Jan 2010 @ London
#26
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.
 
Posts: 3,464 | Thanked: 5,107 times | Joined on Feb 2010 @ Gothenburg in Sweden
#27
hmm to long path for libsportify to handle maybe? may sound stupid but...

Anyway, If you think its a bug in libspotify please report it to spotify.
__________________
Keep safe and healthy
 
Posts: 80 | Thanked: 51 times | Joined on Feb 2010 @ Finland
#28
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?
 

The Following 2 Users Say Thank You to junnuvi For This Useful Post:
Elleo's Avatar
Posts: 266 | Thanked: 979 times | Joined on Jan 2010 @ London
#29
Originally Posted by mikecomputing View Post
hmm to long path for libsportify to handle maybe? 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.
 
Posts: 168 | Thanked: 143 times | Joined on Nov 2012
#30
Volumelevel is too high for my headphones

Good work so far anyway!

Last edited by parasemic; 2013-12-15 at 18:26.
 
Reply

Tags
meespot, qt5 wayland, sailfish, spotify, ubuntu touch


 
Forum Jump


All times are GMT. The time now is 20:04.