You are not logged in.

#1 2014-03-15 16:50:53

fazky
Member
Registered: 2012-01-25
Posts: 34

Spotify and local Database

Hello,

I somehow have a weird problem.  I installed Spotify from the AUR. Then I start it, log in. Everything goes fine so far. Then Spotify starts indexing my local Music directory. I don't want that. So I go to preferences and untick the box next to Music in the Local Files section. Spotify continues indexing my disc, so I think, maybe it needs a restart. I do this and whoops, the box next to Music is ticked again and Spotify indexes happily.

Ok then ... I have an idea, I look at the config files, namely:

~/.config/spotify/Users/myusername/

In there, is a preferences file, called prefs. It contains

ui.seen.tray_icon=true
ui.local_playlists_imported=true
ui.sidebar_seen_at_fallback=1394899980
ui.did_migrate_old_settings=true
ui.purchase_location="/home/dominik/Spotify"

Ahhh, here it is, ui.local_playlists_imported=true. So I change this to false. I start Spotify and whoila, no indexing. But hey, I recheck the file and Oh No, Spotify has changed my prefs file back. That's weird ... and upon restarting Spotify I realize that it is true, indexing starts again ...

Ok, but I think I am smarter smile! I close Spotify, and change the file back, so that it contains ui.local_playlists_imported=false again. And then I do:

chmod -w prefs

I retry opening Spotify and I notice, damn, Spotify changed the file again back, although it has no write permission. How can this happen. So again, I think I am smarter, change the prefs file to contain ui.local_playlists_imported=false and now I do:

sudo chown root:root prefs
sudo chmod -w prefs

Now I start Spotify again (as normal user). And now, this freaks me out, Spotify changes this file back again it changes the owner to my user and grants write permission to myself! How can this happen? Please tell me, if I can provide any Logs!

Cheers,
Dominik

Offline

#2 2014-03-15 17:04:44

Grima
Member
Registered: 2011-09-02
Posts: 58

Re: Spotify and local Database

I don't know why Spotify is rewriting your file, but I can say that I experienced the exact same issue when I first installed Spotify a couple of months back. What I did, and also had to do on two other computers, was to simply untick the box, restart, untick the box, restart, untick the box, restart, ... until the program realized I didn't want the local indexing feature enabled. Maybe you didn't untick/restart enough times? (Haha this seems so dumb, but it worked for me thrice!)

So keep unticking and restarting. It will understand -- eventually. wink

Offline

#3 2014-03-15 18:45:02

fazky
Member
Registered: 2012-01-25
Posts: 34

Re: Spotify and local Database

Yea, you are right wink! It finally got my message ... but still ... how can it change a file owned by root? That makes me feel insecure!

Offline

Board footer

Powered by FluxBB