Thread: [SailfishOS] [WIP] CuteSpotify for Sailfish
View Single 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: