Spotify Connect

yes I safe the settings in de Spotify plugin.

I also removed and reinstalled the plugin twice and made een reboot but unfortunately without success.

Can you please post the content of startconnect.sh in the plugin folder? Please remove your credentials if needed. :wink:

here is my:

[code]#this file is generated by the plugin. You should not edit it unless you know what you do. It will be overwrite by the plugin each time a change in config is detected
cd /data/plugins/music_service/volspotconnect2
./vollibrespot -b 320 -c /tmp
–disable-audio-cache
–name ‘Volumio’ --initial-volume 0
–device plughw:1
–mixer alsa
–mixer-name ‘Digital’ --mixer-card ‘hw:1’ \

–verbose

[/code]

#this file is generated by the plugin. You should not edit it unless you know what you do. It will be overwrite by the plugin each time a change in config is detected
cd /data/plugins/music_service/volspotconnect2
./vollibrespot -b 320 -c /tmp
–disable-audio-cache
–name ‘Volumio’ --initial-volume 0
–device undefined
–mixer softvol
–logarithmic-volume \

–verbose

okay when I put the mixer type in volume options on software and the volume there at max 100% it works normally

my setup is: raspberry pi 3b, allo isolator, kali reclocker, i2s to audio gd NFB1 2015 model.

#this file is generated by the plugin. You should not edit it unless you know what you do. It will be overwrite by the plugin each time a change in config is detected
cd /data/plugins/music_service/volspotconnect2
./vollibrespot -b 320 -c /tmp
–disable-audio-cache
–name ‘Volumio’ --initial-volume 0
–device undefined
–mixer softvol
–logarithmic-volume \

–verbose

Okay I have put the mixer type of software back on none and it works miraculously again as it should :smiley:

unfortunately after a reboot the problem remains that I put the mixer type on none

for now it works when the mixer type is on software but unfortunately with loss of audio quality.

This looks like a combo bug in determining when no mixer is set. It should be fixed by this and that.

okay I’ve done the update to 0.8.5 and everything works again as it should (mixer type on none) except the volume in the spotify plugin settings goes back to 30% every time I put it on 100%, but stays in spotify (android app and imac) on 100% and this is the only problem I can see so far.

I’m glad that it works normally again … well done :smiley:

edit: only forgot one problem, the plugin had trouble connecting to spotify but reinstalling the plugin twice solved the problem with the connection.

[code]#this file is generated by the plugin. You should not edit it unless you know what you do. It will be overwrite by the plugin each time a change in config is detected
cd /data/plugins/music_service/volspotconnect2
./vollibrespot -b 320 -c /tmp
–disable-audio-cache
–name ‘Volumio’ --initial-volume 100
–device plughw:1
–mixer alsa
–mixer-name ‘’ --mixer-card ‘hw:1’ \

–verbose[/code]

I am facing exactly the same issue, I am using:
*Spotify 1.3.5
*Volumio Spotify Connect2 0.7.4
Would it be possible to have this fixed?

My work around is now to activate local player, change song and then stream back to Volumio Spotify Connect.

Same problem here
just got my network player for spotify :frowning:

Please update to 0.8 and higher versions.

check the link! you can install the latest spotify volspotconnect2 plug-in that works by ssh in volumio and install via putty.

github.com/balbuze/volumio-plug … otconnect2

look here for the problem.
github.com/balbuze/volumio-plugins/issues/209

I am having the same problem of not being able to use Spotify Connect from the Spotify app running on my Android phone (Huawei Mate SE). Volumio is installed on a i686 system I had sitting around. Tried everything while connected to my network via wifi and ethernet.

I have tried installing Volumio Spotify Connect2 0.9.0 according to the instructions at github.com/balbuze/volumio-plug … otconnect2

I have also updated to latest version 0.9.1 in Volumio’s web interface.

When I set Multi-User Device to On, Volumio will show in the Android Spotify app. When I select it to connect it seems to try but fails. When I set Multi-User Device to Off, the Volumio does not show up as a device in the Android Spotify app.

I’m open to suggestions about what else I could do to fix this.

What is your dac. Can you use ssh?

By the way, the PC is one of these: gigabyte.com/us/Mini-PcBare … -rev-10#ov

I’ve tried connecting with an external USB DAC (Schiit Fulla) and just with HDMI audio out. Same results either way. The Volumio Spotify plug-in works by itself. The only problem I’m having is with Spotify Connect.

I have enabled SSH on the box. It is connected by HDMI to a TV also, so I don’t need to use PuTTY to get to the terminal.

Volumio 2.565 with the Connect2 plugin 0.9.1 works for me :slight_smile: Thank you very much devs.

Could you ssh into your box and grab logs with

sudo journalctl -f -o cat -u volspotconnect2.service

I did a “Factory Reset” on Volumio. Did setup wizard. Connected just by ethernet for now. Installed Volumio Spotify Connect 2 from the web GUI. Set output device to analog out. If I do not try to connect with Spotify, this is all that shows:

volumio@volumiobox:~$ sudo journalctl -f -o cat -u volspotconnect2.service Starting Volspotconnect2 Daemon... Started Volspotconnect2 Daemon. vollibrespot v0.1.3 48346b7 2019-02-25 (librespot 57c9ab5 2019-02-22) -- Built On 2019-02-25 [Vollibrespot] : Failed to register IPv6 receiver: Os { code: 19, kind: Other, message: "No such device" }

When I try to connect with Spotify Connect more lines come in. This repeats indefinitely.

[Vollibrespot] : Connecting to AP "guc3-accesspoint-b-10n2.ap.spotify.com:4070" [Vollibrespot] : Authenticated as "xxxxxxxxxx" ! [Vollibrespot] : Setting up new mixer: card:hw:0,0 mixer:Master index:0 ALSA lib conf.c:4858:(parse_args) Unknown parameter 1 ALSA lib conf.c:4991:(snd_config_expand) Parse arguments error: No such file or directory ALSA lib control.c:1373:(snd_ctl_open_noupdate) Invalid CTL hw:0,0 thread 'main' panicked at 'Error setting up mixer!: Error("snd_mixer_attach", Sys(ENOENT))', libcore/result.rs:1009:5 stack backtrace: 0: 0xb740a3a2 - std::sys::unix::backtrace::tracing::imp::unwind_backtrace::h4685f0a40f300904 at libstd/sys/unix/backtrace/tracing/gcc_s.rs:49 1: 0xb73f94c3 - std::sys_common::backtrace::print::hf662a822a546f577 at libstd/sys_common/backtrace.rs:71 at libstd/sys_common/backtrace.rs:59 2: 0xb73f7dbb - std::panicking::default_hook::{{closure}}::hc2ed620beaf388fe at libstd/panicking.rs:211 3: 0xb73f7ae4 - std::panicking::default_hook::hc2ad46c08da0a2fe at libstd/panicking.rs:227 4: 0xb73f8520 - std::panicking::rust_panic_with_hook::h5f05529d4f44f347 at libstd/panicking.rs:477 5: 0xb73f8076 - std::panicking::continue_panic_fmt::h400527f9bf31c0ba at libstd/panicking.rs:391 6: 0xb73f7f48 - rust_begin_unwind at libstd/panicking.rs:326 7: 0xb7451409 - core::panicking::panic_fmt::hb35c05f2dbc2eb47 at libcore/panicking.rs:77 8: 0xb703bb8e - core::result::unwrap_failed::h3ed57d7cda1234f5 9: 0xb70134c2 - <librespot_playback::mixer::alsamixer::AlsaMixer as librespot_playback::mixer::Mixer>::open::h27ba5476b4d9cadf 10: 0xb6f85904 - librespot_playback::mixer::mk_sink::h17f0b3550787bdf9 11: 0xb6f81048 - <vollibrespot::Main as futures::future::Future>::poll::h8da167a73d016c8c 12: 0xb6fa3f85 - futures::task_impl::std::set::hecc1d3134bd752f1 13: 0xb6f8cbb7 - <futures::future::lazy::Lazy<F, R> as futures::future::Future>::poll::hdd724364f1e31618 14: 0xb6fa3e45 - futures::task_impl::std::set::hdf2384623bb0a2d0 15: 0xb6f8eb74 - <std::thread::local::LocalKey<T>>::with::h3011201b9717ae7b 16: 0xb6f7ab53 - <tokio::executor::current_thread::Entered<'a, P>>::block_on::h6a2f4979608e9b1b 17: 0xb6f8f4d0 - <std::thread::local::LocalKey<T>>::with::hfc62499945656790 18: 0xb6f8ecbc - <std::thread::local::LocalKey<T>>::with::h44b26f91e05fa2cf 19: 0xb6f8f19e - <std::thread::local::LocalKey<T>>::with::hcd97bffaba4c1a78 20: 0xb6f9bf48 - <scoped_tls::ScopedKey<T>>::set::h37d0e3b42d71e784 21: 0xb6f93924 - tokio_core::reactor::Core::run::hcf12af0a842fa679 22: 0xb6f83fc1 - vollibrespot::main::hff5c7bba125530f5 23: 0xb6f94985 - std::rt::lang_start::{{closure}}::h7a5b1a2f5e5340cf 24: 0xb73f9b0d - std::sys_common::backtrace::__rust_begin_short_backtrace::hff86593d33229538 at libstd/rt.rs:59 at libstd/sys_common/backtrace.rs:136 25: 0xb73f7ec1 - std::panicking::try::do_call::h66ebc2f229bcf01c at libstd/rt.rs:59 at libstd/panicking.rs:310 26: 0xb7419e27 - __rust_maybe_catch_panic at libpanic_unwind/lib.rs:103 27: 0xb73f7335 - std::panic::catch_unwind::h5c8f0b6e5276ec5d at libstd/panicking.rs:289 at libstd/panic.rs:392 28: 0xb7401da4 - std::rt::lang_start_internal::hdfcf9d45724bfc54 volspotconnect2.service: main process exited, code=exited, status=127/n/a Unit volspotconnect2.service entered failed state. at libstd/rt.rs:58 29: 0xb6f84de0 - main 30: 0xb6c7b722 - __libc_start_main 31: 0xb6f5d6d0 - <unknown> /data/plugins/music_service/volspotconnect2/startconnect.sh: line 10: e: command not found volspotconnect2.service holdoff time over, scheduling restart. Stopping Volspotconnect2 Daemon... Starting Volspotconnect2 Daemon... Started Volspotconnect2 Daemon. vollibrespot v0.1.3 48346b7 2019-02-25 (librespot 57c9ab5 2019-02-22) -- Built On 2019-02-25

I tried changing to my USB DAC (Schiit Fulla). Similar behavior with slightly different messages repeated:

[Vollibrespot] : Connecting to AP "guc3-accesspoint-b-xfmp.ap.spotify.com:4070" [Vollibrespot] : Authenticated as "xxxxxxxxxx" ! [Vollibrespot] : Setting up new mixer: card:hw:5 mixer:PCM index:0 [Vollibrespot] : Alsa min: 0 (MilliBel(0)[dB]) -- max: 0 (MilliBel(0)[dB]) HW: false [Vollibrespot] : Switching to linear volume mapping, control range: MilliBel(0) [Vollibrespot] : Alsa min-db is not SND_CTL_TLV_DB_GAIN_MUTE!! [Vollibrespot] : Using alsa sink thread 'main' panicked at 'Couldn't get current volume: Error("snd_mixer_selem_get_playback_volume", Sys(EINVAL))', libcore/result.rs:1009:5 stack backtrace: 0: 0xb73823a2 - std::sys::unix::backtrace::tracing::imp::unwind_backtrace::h4685f0a40f300904 at libstd/sys/unix/backtrace/tracing/gcc_s.rs:49 1: 0xb73714c3 - std::sys_common::backtrace::print::hf662a822a546f577 at libstd/sys_common/backtrace.rs:71 at libstd/sys_common/backtrace.rs:59 2: 0xb736fdbb - std::panicking::default_hook::{{closure}}::hc2ed620beaf388fe at libstd/panicking.rs:211 3: 0xb736fae4 - std::panicking::default_hook::hc2ad46c08da0a2fe at libstd/panicking.rs:227 4: 0xb7370520 - std::panicking::rust_panic_with_hook::h5f05529d4f44f347 at libstd/panicking.rs:477 5: 0xb7370076 - std::panicking::continue_panic_fmt::h400527f9bf31c0ba at libstd/panicking.rs:391 6: 0xb736ff48 - rust_begin_unwind at libstd/panicking.rs:326 7: 0xb73c9409 - core::panicking::panic_fmt::hb35c05f2dbc2eb47 at libcore/panicking.rs:77 8: 0xb6fb405b - core::result::unwrap_failed::h7f9e086ce421e50c 9: 0xb6f8abff - librespot_playback::mixer::alsamixer::AlsaMixer::map_volume::heb5ffe8443815f35 10: 0xb6f8b6e9 - <librespot_playback::mixer::alsamixer::AlsaMixer as librespot_playback::mixer::Mixer>::set_volume::hfb3dda43b22ec3a9 11: 0xb6f64b95 - librespot_connect::spirc::SpircTask::set_volume::h0a694701541c0155 12: 0xb6f5ff27 - librespot_connect::spirc::Spirc::new::h4614c93a6338a762 13: 0xb6ef931b - <vollibrespot::Main as futures::future::Future>::poll::h8da167a73d016c8c 14: 0xb6f1bf85 - futures::task_impl::std::set::hecc1d3134bd752f1 15: 0xb6f04bb7 - <futures::future::lazy::Lazy<F, R> as futures::future::Future>::poll::hdd724364f1e31618 16: 0xb6f1be45 - futures::task_impl::std::set::hdf2384623bb0a2d0 17: 0xb6f06b74 - <std::thread::local::LocalKey<T>>::with::h3011201b9717ae7b 18: 0xb6ef2b53 - <tokio::executor::current_thread::Entered<'a, P>>::block_on::h6a2f4979608e9b1b 19: 0xb6f074d0 - <std::thread::local::LocalKey<T>>::with::hfc62499945656790 20: 0xb6f06cbc - <std::thread::local::LocalKey<T>>::with::h44b26f91e05fa2cf 21: 0xb6f0719e - <std::thread::local::LocalKey<T>>::with::hcd97bffaba4c1a78 22: 0xb6f13f48 - <scoped_tls::ScopedKey<T>>::set::h37d0e3b42d71e784 23: 0xb6f0b924 - tokio_core::reactor::Core::run::hcf12af0a842fa679 24: 0xb6efbfc1 - vollibrespot::main::hff5c7bba125530f5 25: 0xb6f0c985 - std::rt::lang_start::{{closure}}::h7a5b1a2f5e5340cf 26: 0xb7371b0d - std::sys_common::backtrace::__rust_begin_short_backtrace::hff86593d33229538 at libstd/rt.rs:59 at libstd/sys_common/backtrace.rs:136 27: 0xb736fec1 - std::panicking::try::do_call::h66ebc2f229bcf01c at libstd/rt.rs:59 at libstd/panicking.rs:310 28: 0xb7391e27 - __rust_maybe_catch_panic at libpanic_unwind/lib.rs:103 29: 0xb736f335 - std::panic::catch_unwind::h5c8f0b6e5276ec5d volspotconnect2.service: main process exited, code=exited, status=101/n/a Unit volspotconnect2.service entered failed state. at libstd/panicking.rs:289 at libstd/panic.rs:392 30: 0xb7379da4 - std::rt::lang_start_internal::hdfcf9d45724bfc54 at libstd/rt.rs:58 31: 0xb6efcde0 - main 32: 0xb6bf3722 - __libc_start_main 33: 0xb6ed56d0 - <unknown>

By the way, I appreciate your taking time to look at this :slight_smile:

Since the errors seemed related to mixer config I changed “Mixer Type” to Software, then None. After setting it to None, Spotify Connect is working!