Hello,
This plugin isnt working for me. I did install dev version via ssh. Result is the same. Ive made reset to defaults and fresh install. It keeps instant disconnect. Is there any solution in progress?
Kind regards.
Hello,
This plugin isnt working for me. I did install dev version via ssh. Result is the same. Ive made reset to defaults and fresh install. It keeps instant disconnect. Is there any solution in progress?
Kind regards.
Greetings,
Could you share some logs when your issue occurs? Else it’s quite impossible for us to help
# Logs of the daemon
sudo journalctl -b -u volspotconnect2.service
# Logs of the system
sudo journalctl -f
PS: The current dev version is the same as in the plugin repo - you don’t need to install from git
logs of the daemon
Jun 21 17:16:26 volumio systemd[1]: Starting Volspotconnect2 Daemon...
Jun 21 17:16:26 volumio systemd[1]: Started Volspotconnect2 Daemon.
Jun 21 17:16:26 volumio volumio[1405]: vollibrespot v0.2.1 1438440 2020-05-15 (l
Jun 21 17:16:26 volumio volumio[1405]: Reading Config from "volspotify.toml"
Jun 21 17:16:26 volumio volumio[1405]: [Vollibrespot] : Using Alsa backend with
Jun 21 17:16:26 volumio volumio[1405]: [Vollibrespot] : Failed to register IPv6
Jun 21 17:17:23 volumio volumio[1405]: [Vollibrespot] : Connecting to AP "gew1-a
Jun 21 17:17:23 volumio volumio[1405]: [Vollibrespot] : Authenticated as "x815zt
Jun 21 17:17:23 volumio volumio[1405]: [Vollibrespot] : Setting up new mixer: ca
Jun 21 17:17:23 volumio volumio[1405]: [Vollibrespot] : Alsa min-db is not SND_C
Jun 21 17:17:23 volumio volumio[1405]: [Vollibrespot] : Alsa Mixer info min: 0 (
Jun 21 17:17:23 volumio volumio[1405]: [Vollibrespot] : Switching to linear volu
Jun 21 17:17:23 volumio volumio[1405]: [Vollibrespot] : Alsa min-db is not SND_C
Jun 21 17:17:23 volumio volumio[1405]: [Vollibrespot] : Using alsa sink
Jun 21 17:17:23 volumio volumio[1405]: thread 'main' panicked at 'Couldn't get c
Jun 21 17:17:23 volumio volumio[1405]: stack backtrace:
Jun 21 17:17:24 volumio volumio[1405]: 0: 0xa72828 - backtrace::backtrace::lib
Jun 21 17:17:24 volumio volumio[1405]: at /cargo/registry/src/github.com-1ecc629
Jun 21 17:17:24 volumio volumio[1405]: 1: 0xa72828 - backtrace::backtrace::tra
Jun 21 17:17:24 volumio volumio[1405]: at /cargo/registry/src/github.com-1ecc629
Jun 21 17:17:24 volumio volumio[1405]: 2: 0xa72828 - std::sys_common::backtrac
Jun 21 17:17:24 volumio volumio[1405]: at src/libstd/sys_common/backtrace.rs:77
lines 1-23...skipping...
-- Logs begin at Sun 2020-06-21 17:15:15 UTC, end at Sun 2020-06-21 18:41:46 UTC. --
Jun 21 17:16:26 volumio systemd[1]: Starting Volspotconnect2 Daemon...
Jun 21 17:16:26 volumio systemd[1]: Started Volspotconnect2 Daemon.
Jun 21 17:16:26 volumio volumio[1405]: vollibrespot v0.2.1 1438440 2020-05-15 (librespot 659de68 2020-05-10) -- Built On 2020-05-15
Jun 21 17:16:26 volumio volumio[1405]: Reading Config from "volspotify.toml"
Jun 21 17:16:26 volumio volumio[1405]: [Vollibrespot] : Using Alsa backend with device: plughw:5
Jun 21 17:16:26 volumio volumio[1405]: [Vollibrespot] : Failed to register IPv6 receiver: Os { code: 19, kind: Other, message: "No such
Jun 21 17:17:23 volumio volumio[1405]: [Vollibrespot] : Connecting to AP "gew1-accesspoint-b-n938.ap.spotify.com:443"
Jun 21 17:17:23 volumio volumio[1405]: [Vollibrespot] : Authenticated as "x815ztbjyhxs98680l8gf6mt3" !
Jun 21 17:17:23 volumio volumio[1405]: [Vollibrespot] : Setting up new mixer: card:hw:5 mixer:Cambridge Audio DAC100 USB 2 Playback Swit
Jun 21 17:17:23 volumio volumio[1405]: [Vollibrespot] : Alsa min-db is not SND_CTL_TLV_DB_GAIN_MUTE!!
Jun 21 17:17:23 volumio volumio[1405]: [Vollibrespot] : Alsa Mixer info min: 0 (MilliBel(0)[dB]) -- max: 0 (MilliBel(0)[dB]) HW: false
Jun 21 17:17:23 volumio volumio[1405]: [Vollibrespot] : Switching to linear volume mapping, control range: MilliBel(0)
Jun 21 17:17:23 volumio volumio[1405]: [Vollibrespot] : Alsa min-db is not SND_CTL_TLV_DB_GAIN_MUTE!!
Jun 21 17:17:23 volumio volumio[1405]: [Vollibrespot] : Using alsa sink
Jun 21 17:17:23 volumio volumio[1405]: thread 'main' panicked at 'Couldn't get current volume: Error("snd_mixer_selem_get_playback_volum
Jun 21 17:17:23 volumio volumio[1405]: stack backtrace:
Jun 21 17:17:24 volumio volumio[1405]: 0: 0xa72828 - backtrace::backtrace::libunwind::trace::h100c6c70e4af496c
Jun 21 17:17:24 volumio volumio[1405]: at /cargo/registry/src/github.com-1ecc6299db9ec823/backtrace-0.3.40/src/backtrace/libunwind.rs:88
Jun 21 17:17:24 volumio volumio[1405]: 1: 0xa72828 - backtrace::backtrace::trace_unsynchronized::hf78ddc194bf45009
Jun 21 17:17:24 volumio volumio[1405]: at /cargo/registry/src/github.com-1ecc6299db9ec823/backtrace-0.3.40/src/backtrace/mod.rs:66
Jun 21 17:17:24 volumio volumio[1405]: 2: 0xa72828 - std::sys_common::backtrace::_print_fmt::h967a212a8894e4a4
Jun 21 17:17:24 volumio volumio[1405]: at src/libstd/sys_common/backtrace.rs:77
Jun 21 17:17:24 volumio volumio[1405]: 3: 0xa72828 - <std::sys_common::backtrace::_print::DisplayBacktrace as core::fmt::Display>::fmt
Jun 21 17:17:24 volumio volumio[1405]: at src/libstd/sys_common/backtrace.rs:59
Jun 21 17:17:24 volumio volumio[1405]: 4: 0xa8e03c - core::fmt::write::h937f59172f6eeeaf
Jun 21 17:17:24 volumio volumio[1405]: at src/libcore/fmt/mod.rs:1052
Jun 21 17:17:24 volumio volumio[1405]: 5: 0xa6c6ec - std::io::Write::write_fmt::hc70e2634948b89c8
Jun 21 17:17:24 volumio volumio[1405]: at src/libstd/io/mod.rs:1426
Jun 21 17:17:24 volumio volumio[1405]: 6: 0xa74cf0 - std::sys_common::backtrace::_print::hbfc81757b29a60f4
Jun 21 17:17:24 volumio volumio[1405]: at src/libstd/sys_common/backtrace.rs:62
Jun 21 17:17:24 volumio volumio[1405]: 7: 0xa74cf0 - std::sys_common::backtrace::print::h8bc349c117633211
Jun 21 17:17:24 volumio volumio[1405]: at src/libstd/sys_common/backtrace.rs:49
logs of the system
-- Logs begin at Sun 2020-06-21 17:15:15 UTC. --
Jun 21 18:42:04 volumio volumio[2944]: 2020-06-21 18:42:04 [SPTF] 18:42:04.813 I [file_streamer_simple.cpp:769] Request for file 0dfc3e06f0fc2556f43a7d728d00f23c532c2701 complete (code: 0)
Jun 21 18:42:08 volumio sudo[15008]: pam_unix(sudo:session): session closed for user root
Jun 21 18:42:22 volumio volumio[2944]: 2020-06-21 18:42:22 [SPTF] 18:42:22.013 I [file_streamer_simple.cpp:769] Request for file 0dfc3e06f0fc2556f43a7d728d00f23c532c2701 complete (code: 0)
Jun 21 18:42:38 volumio volumio[2944]: 2020-06-21 18:42:38 [SPTF] 18:42:38.216 I [file_streamer_simple.cpp:769] Request for file 0dfc3e06f0fc2556f43a7d728d00f23c532c2701 complete (code: 0)
Jun 21 18:42:53 volumio volumio[2944]: 2020-06-21 18:42:53 [SPTF] 18:42:53.992 I [file_streamer_simple.cpp:769] Request for file 0dfc3e06f0fc2556f43a7d728d00f23c532c2701 complete (code: 0)
Jun 21 18:43:09 volumio volumio[2944]: 2020-06-21 18:43:09 [SPTF] 18:43:09.416 I [file_streamer_simple.cpp:769] Request for file 0dfc3e06f0fc2556f43a7d728d00f23c532c2701 complete (code: 0)
Jun 21 18:43:25 volumio volumio[2944]: 2020-06-21 18:43:25 [SPTF] 18:43:25.398 I [file_streamer_simple.cpp:769] Request for file 0dfc3e06f0fc2556f43a7d728d00f23c532c2701 complete (code: 0)
Jun 21 18:43:41 volumio volumio[2944]: 2020-06-21 18:43:41 [SPTF] 18:43:41.427 I [file_streamer_simple.cpp:769] Request for file 0dfc3e06f0fc2556f43a7d728d00f23c532c2701 complete (code: 0)
Jun 21 18:43:50 volumio sudo[15365]: volumio : TTY=pts/0 ; PWD=/home/volumio ; USER=root ; COMMAND=/bin/journalctl -f
Jun 21 18:43:50 volumio sudo[15365]: pam_unix(sudo:session): session opened for user root by volumio(uid=0)
Its just keeps disconnecting…
Ps Im using ca dac magic 100
Thanks for that - it looks like the the daemon is having trouble with your DAC’s drivers.
The alsa snd_mixer_selem_get_playback_volume
call is failing for some reason.
Does this DAC have a hardware mixer?
Setting up new mixer: card:hw:5 mixer:Cambridge Audio DAC100 USB 2 Playback Switch
seems a bit fishy.
What’s the output of amixer
and aplay -l
?
PS: If you don’t want to debug and just want music, use the “Software” mixer in the main playback options of Volumio.
PSS: Edited your post to wrap the code in the </> code blocks for better readability
Tyvm for fast reply and correct my logs. I set software mixer and it works with it . Thanks for help !