03-12-2022, 11:51 AM
(This post was last modified: 03-12-2022, 12:17 PM by jensgk.
Edit Reason: Problem solved
)
Spotify stopped working on my moOde (raspberry pi 4) after the march 8th Spotify "incident". Spotify clients connect ok, but there is no sound.
Playing local flac files and everything else (eg. airplay) seems to work normally.
I have tried to reboot, clear the Spotify cache, turn librespot on and off.
When I log in via ssh, I cannot find any logfiles, so instead I turned Spotify off, and copied the Spotify (librespot) command into the command line instead:
This is the result:
What could be wrong?
Playing local flac files and everything else (eg. airplay) seems to work normally.
I have tried to reboot, clear the Spotify cache, turn librespot on and off.
When I log in via ssh, I cannot find any logfiles, so instead I turned Spotify off, and copied the Spotify (librespot) command into the command line instead:
This is the result:
Code:
root@moode:/# librespot --name Moode Spotify --bitrate 320 --format S16 --mixer softvol --initial-volume 100 --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
[2022-03-12T11:13:27Z INFO librespot] librespot 0.3.1 UNKNOWN (Built on 2021-10-25, Build ID: Q7ORYosd, Profile: release)
[2022-03-12T11:13:27Z INFO librespot_core::session] Connecting to AP "ap-gew4.spotify.com:4070"
[2022-03-12T11:13:28Z INFO librespot_core::session] Authenticated as "1xxxxxx84" !
[2022-03-12T11:13:28Z INFO librespot_playback::mixer::softmixer] Mixing with softvol and volume control: Log(60.0)
[2022-03-12T11:13:28Z INFO librespot_playback::convert] Converting with ditherer: tpdf
[2022-03-12T11:13:28Z INFO librespot_playback::audio_backend::alsa] Using AlsaSink with format: S16
[2022-03-12T11:13:28Z INFO librespot::player_event_handler] Running ["/var/local/www/commandw/spotevent.sh"] with environment variables {"VOLUME": "65535", "PLAYER_EVENT": "volume_set"}
[2022-03-12T11:13:28Z INFO librespot_core::session] Country: "DK"
[2022-03-12T11:13:41Z INFO librespot::player_event_handler] Running ["/var/local/www/commandw/spotevent.sh"] with environment variables {"TRACK_ID": "1Jj6MF0xDOMA3Ut2Z368Bx", "PLAYER_EVENT": "started"}
[2022-03-12T11:13:41Z INFO librespot_playback::player] Loading <Time After Time> with Spotify URI <spotify:track:1Jj6MF0xDOMA3Ut2Z368Bx>
[2022-03-12T11:13:41Z ERROR librespot_core::channel] channel error: 2 1
[2022-03-12T11:13:41Z ERROR librespot_playback::player] Unable to load encrypted file: ChannelError
[2022-03-12T11:13:41Z WARN librespot_playback::player] Unable to load <SpotifyId { id: 75590421572780620410445734457115425687, audio_type: Track }>
Skipping to next track
[2022-03-12T11:13:41Z INFO librespot::player_event_handler] Running ["/var/local/www/commandw/spotevent.sh"] with environment variables {"PLAYER_EVENT": "changed", "OLD_TRACK_ID": "1Jj6MF0xDOMA3Ut2Z368Bx", "TRACK_ID": "4QySZtWymRGNgrwxZOODKF"}
[2022-03-12T11:13:41Z INFO librespot_playback::player] Loading <Don't Look Back> with Spotify URI <spotify:track:4QySZtWymRGNgrwxZOODKF>
[2022-03-12T11:13:41Z ERROR librespot_core::channel] channel error: 2 1
[2022-03-12T11:13:41Z ERROR librespot_playback::player] Unable to load encrypted file: ChannelError
[2022-03-12T11:13:41Z WARN librespot_playback::player] Unable to load <SpotifyId { id: 211723401752337454620182059763370336281, audio_type: Track }>
Skipping to next track
What could be wrong?