(08-30-2022, 11:30 AM)Tim Curtis Wrote: Here is the launch string
Code:
sudo librespot --name "Moode Spotify" --bitrate 160 --format S16 --mixer softvol --initial-volume 0 --volume-ctrl log --volume-range 60 --cache /var/local/www/spotify_cache --disable-audio-cache --backend alsa --device "_audioout" --onevent /var/local/www/commandw/spotevent.sh
1. Turn off Debug log in System Config
2. Turn off Spotify renderer in Audio Config
3. Paste the launch string at the SSH command prompt
Look for errors in the output
uh oh, i think i found the error
[2022-08-30T13:19:22Z WARN librespot_core::cache] Cannot save credentials to cache: Permission denied (os error 13)
edit: Here's the error it showed me when moode disconnected from my spotify, and my song stopped after 2 minutes or so
[2022-08-30T13:27:19Z INFO librespot_playback::player] <kaos2 - instrumental> (241400 ms) loaded
[2022-08-30T13:27:19Z INFO librespot::player_event_handler] Running ["/var/local/www/commandw/spotevent.sh"] with environment variables {"PLAYER_EVENT": "playing", "POSITION_MS": "0", "TRACK_ID": "3uqNvGBK9HgfIZO8R1kchX", "DURATION_MS": "241400"}
[2022-08-30T13:30:50Z ERROR librespot_playback::player] Unable to load audio item: MercuryError
[2022-08-30T13:30:50Z ERROR librespot_core:
ession] Connection reset by peer (os error 104)
[2022-08-30T13:30:50Z ERROR librespot_connect:
pirc] subscription terminated
[2022-08-30T13:30:50Z WARN librespot] Spirc shut down unexpectedly
[2022-08-30T13:30:51Z INFO librespot_core:
ession] Connecting to AP "ap-gew4.spotify.com:4070"
[2022-08-30T13:30:51Z INFO librespot_core:
ession] Authenticated as "metalelite" !
[2022-08-30T13:30:51Z INFO librespot_playback::mixer:
oftmixer] Mixing with softvol and volume control: Log(60.0)
[2022-08-30T13:30:51Z INFO librespot_playback::convert] Converting with ditherer: tpdf
[2022-08-30T13:30:51Z INFO librespot_playback::audio_backend::alsa] Using AlsaSink with format: S16
[2022-08-30T13:30:51Z INFO librespot::player_event_handler] Running ["/var/local/www/commandw/spotevent.sh"] with environment variables {"VOLUME": "0", "PLAYER_EVENT": "volume_set"}