You are not logged in.

#1 2020-12-05 11:15:42

Xelathur
Member
Registered: 2020-11-12
Posts: 6

Error when running spotifyd ~SOLVED~

~SOLVED~

pacman -Rns spotifyd-full-git
pacman -S spotifyd

..... seems the AUR link was not the correct version to install.
Now Spotifyd works with pulseaudio etc

~SOLVED~

I'd go straight to it - when running spotifyd --no-daemon I get the following error message;

➜  ~ spotifyd --no-daemon
Loading config from "/home/"user"/.config/spotifyd/spotifyd.conf"
thread 'main' panicked at 'called `Result::unwrap()` on an `Err` value: Error { inner: ErrorInner { kind: Unexpected('!'), line: Some(5), col: 22, at: Some(114), message: "", key: [] } }', src/config.rs:468:67
note: run with `RUST_BACKTRACE=1` environment variable to display a backtrace

I used the following AUR package to install spotifyd: https://aur.archlinux.org/packages/spotifyd-full-git

Kernel: 5.9.11-arch2-1

➜  spotifyd pacman -Qs |grep spotify
local/spotify 1:1.1.42.622-2
local/spotify-tui 0.22.0-1
local/spotifyd-full-git 0.2.24.71.g39106ed-1
    A spotify playing daemon (all features enabled)
➜  ~ cd ~/.config/spotifyd
➜  spotifyd ls -l
total 4
-rwxr-xr-x 1 "user" users 2563 Dec  5 10:47 spotifyd.conf

my spotifyd.conf file;

[global]
username = "username" ( removed it for the paste..)
password = "password" ( until I get it working, I will use password in plain text here, then might try keyring etc)
use_keyring = false
backend = pulseaudio
volume_controller = pulseaudio
device_name = archlinux
bitrate = 320
cache_path = /home/"user"/.cache/spotifyd
no_audio_cache = true
intitial_volume = 90
volume_normalisation = true
normalisation_pregain = -10
zeroconf_port = 4444
device_type = computer

Questions:
As per error it's suggested I run spotifyd with RUST_BACKTRACE=1, however, as I don't run it with cargo.. not sure how to do this?

Observations:
If I move the spotifyd.conf file from ~/.config/spotifyd/ it runs without errors.. but obviously doesn't work that well.
I can't find any issues with my config file? But it's pretty obvious there are!

➜  mv ~/.config/spotifyd/spotifyd.conf ~/downloads
➜  spotifyd --no-daemon
No config file specified. Running with default values
No username specified. Checking username_cmd
No username_cmd specified
No password specified. Checking password_cmd
No password_cmd specified
No proxy specified
Using software volume controller.

As always, any help on the matter is highly appreciated!

Last edited by Xelathur (2020-12-05 13:57:43)

Offline

Board footer

Powered by FluxBB