spotify-tui icon indicating copy to clipboard operation
spotify-tui copied to clipboard

Incorrect default location for config file when using snap

Open MNolan147 opened this issue 2 years ago • 1 comments

I created a config file in the location "~/snap/spt/current/.config/spotify-tui/config.yml" which is stated to be the default location for snap installations. I tried to start the program by running the command "spt" but, it said "~/snap/spt/current/.config/spotify-tui/config.yml". When running the command "spt --config '/snap/spt/current/.config/spotify-tui/config.yml'" it worked fine.

Does the default directory need to be changed for snap installations?

MNolan147 avatar Mar 08 '22 09:03 MNolan147

@MNolan147 - did the client.yml and .spotify_token_cache.json get generated to that location? I tested a snap install on another machine & those files got auto-generated for me which makes me think the default location is fine.

I also copied the example config to the ~/snap/spt/current/.config/spotify-tui directory & verified it worked.

Any other info you could provide that may be helpful?

DJTai avatar Jun 07 '22 21:06 DJTai