volspotconnect2 not working with new spotify clients

Hi all,

I just wanted to inform you that spotify fails to connect to volumio with clients newer than 8.4.39… (android) and 1.0.74… (windows). Volumio is showing under devices to connect to, but when attempting after 30secs (or so) it returns to former device (still showing volumio as available device).

Downgrading to the versions mentioned above (and disable auto updates) solves the problem, but is no long term solution (IMHO) since this morning android auto refused to connect to the old version of spotify, which only could be solved by upgrading :frowning:

spotify plugin still working on volumio.

Can somebody help on this?

Thanks in advance and Cheers from Germany

Arnd

A forum search before posting is always a good idea :wink: Have a look here spotify-connect-app-sync-problem-t9073.html

…and welcome btw :slight_smile:

Sorry for coming straight to the point, not mentioning what a great piece of code this is (both volumio and volspotconnect). And thanks for the warm welcome, but…

In fact I did a Forum search before, but didn´t come across the thread you mentioned. But I´m also not sure, if this is the same subject, since there is only vague information regarding the fact, that this only occurs with the newest spotify clients.

Thank you anyway, I´ll try balbuze´s dev version and see if it helps. Hopefully tomorrow I´ll have the time to.

Cheers

Arnd

edit: Did you mean this topic: https://volumio.org/forum/spotify-connect-plugin-passwords-not-escaped-properly-t9207.html ?

I’d guess this thread https://volumio.org/forum/spotify-connect-t2811-260.html as well! :wink:

Cheers!

Thank you for clearing this up, spyking. I was going to ask the question you already answered by linking this.

(Have been browsing this thread couple of minutes ago)

Once again: great work. Thank you for keeping this up!

Cheers!

Tested balbuze´s dev version yesterday evening. Connection works again! F***ing awesome piece of work, guys. Thank you once again.

Cheers!

Arnd

I’m glad!

Ps, stay on the dev version for now, the official one has a few issues right now, that I need to look into.

Hey guys sorry for being off-topic, I’d also like to try this plugin, but I can’t seem to find the way to upload the volspotconnect zip to volumio. In the plugin management settings, I see no button to upload other plugins. Am I missing something here? I’m running Volumio 2.368 btw.

Read the links…

or tl;dr

wget https://github.com/balbuze/volumio-plugins/raw/master/plugins/music_service/volspotconnect2/volspotconnect2.zip
mkdir ./volspotconnect2
miniunzip volspotconnect2.zip -d ./volspotconnect2
cd ./volspotconnect2
volumio plugin install

Cheers! :wink:

Do you mean, that it doesn´t play the next title, if not manually skipping? I was wondering, because I updated to the official one this weekend, which showed this strange behaviour, thinking that balbuze´s dev version has become official. But maybe I´m mixing things up. Switching back to dev this evening and try once again. Thanks for the hint.

Cheers!

Arnd

Hi,

Is anyone else having this problem again ? I’ve been using volspotconnect2 (stable version) for a while now with no problems at all, sometime in the last few days it seems to have stopped working and crashes again when trying to connect from spotify on my iPhone. Checking my iPhone update log I see the iOS spotify app updated itself 2 days ago, so I wonder if they have changed something in the client that breaks volspotconnect2 again ? Here is a log snipped from the systemd journal taken when attempting to play a song:

[code]May 19 16:04:39 volumio systemd[1]: Started Volspotconnect2 Daemon.
May 19 16:04:39 volumio volumio[11643]: INFO:librespot: librespot 323aea3 (2018-03-17). Built on 2018-03-18. Build ID: 9RNT9vYq
May 19 16:04:39 volumio volumio[11643]: WARN:mdns: Failed to register IPv6 receiver: Error { repr: Os { code: 19, message: “No such device” } }
May 19 16:04:39 volumio volumio[11643]: INFO:librespot_core::session: Connecting to AP “gew1-accesspoint-b-6z10.ap.spotify.com:4070
May 19 16:04:40 volumio volumio[11643]: INFO:librespot_core::session: Authenticated as “dbmandrake” !
May 19 16:04:40 volumio volumio[11643]: INFO:librespot_playback::player: new Player[0]
May 19 16:04:40 volumio volumio[11643]: INFO:librespot_playback::audio_backend::alsa: Using alsa sink
May 19 16:04:40 volumio volumio[11643]: INFO:librespot_core::session: Country: “GB”
May 19 16:04:40 volumio volumio[11643]: thread ‘main’ panicked at ‘called Result::unwrap() on an Err value: WireError(InvalidEnumValue(14))’, /checkout/src/libcore/result.rs:916:5
May 19 16:04:40 volumio volumio[11643]: stack backtrace:
May 19 16:04:40 volumio volumio[11643]: 0: 0xb6e826b7 - std::sys::unix::backtrace::tracing::imp::unwind_backtrace::h280c621ec0336843
May 19 16:04:40 volumio volumio[11643]: at /checkout/src/libstd/sys/unix/backtrace/tracing/gcc_s.rs:49
May 19 16:04:40 volumio volumio[11643]: 1: 0xb6e8c9eb - std::sys_common::backtrace::print::h5bb167d48668dac9
May 19 16:04:40 volumio volumio[11643]: at /checkout/src/libstd/sys_common/backtrace.rs:68
May 19 16:04:40 volumio volumio[11643]: at /checkout/src/libstd/sys_common/backtrace.rs:57
May 19 16:04:40 volumio volumio[11643]: 2: 0xb6e7af3f - std::panicking::default_hook::{{closure}}::hccf3b2e1cc48596f
May 19 16:04:40 volumio volumio[11643]: at /checkout/src/libstd/panicking.rs:381
May 19 16:04:40 volumio volumio[11643]: 3: 0xb6e7aa1b - std::panicking::default_hook::h338b1189515ccc69
May 19 16:04:40 volumio volumio[11643]: at /checkout/src/libstd/panicking.rs:397
May 19 16:04:40 volumio volumio[11643]: 4: 0xb6e7b3eb - std::panicking::rust_panic_with_hook::h5d950fb4a856fba5
May 19 16:04:40 volumio volumio[11643]: at /checkout/src/libstd/panicking.rs:577
May 19 16:04:40 volumio volumio[11643]: 5: 0xb6e7b28f - std::panicking::begin_panic::h7a5157aecf168062
May 19 16:04:40 volumio volumio[11643]: at /checkout/src/libstd/panicking.rs:538
May 19 16:04:40 volumio volumio[11643]: 6: 0xb6e7b1bb - std::panicking::begin_panic_fmt::hc44606ee40e9a98e
May 19 16:04:40 volumio volumio[11643]: at /checkout/src/libstd/panicking.rs:522
May 19 16:04:40 volumio volumio[11643]: 7: 0xb6e7b163 - rust_begin_unwind
May 19 16:04:40 volumio volumio[11643]: at /checkout/src/libstd/panicking.rs:498
May 19 16:04:40 volumio volumio[11643]: 8: 0xb6ee439b - core::panicking::panic_fmt::h68e7715928be641f
May 19 16:04:40 volumio systemd[1]: volspotconnect2.service: main process exited, code=exited, status=101/n/a
May 19 16:04:40 volumio systemd[1]: Unit volspotconnect2.service entered failed state.
May 19 16:04:40 volumio volumio[11643]: at /checkout/src/libcore/panicking.rs:71
May 19 16:04:40 volumio volumio[11643]: 9: 0xb6ae7b43 - core::result::unwrap_failed::hd15dc4f4b9666233
May 19 16:04:40 volumio volumio[11643]: 10: 0xb6ac095b - core::ops::function::impls::<impl core::ops::function::FnOnce for &'a mut F>::call_once::h9517e6755f3815ce
May 19 16:04:40 volumio volumio[11643]: 11: 0xb6adf6df - <futures::stream::map::Map<S, F> as futures::stream::Stream>::poll::h12b0a4c021e127d8
May 19 16:04:40 volumio volumio[11643]: 12: 0xb6aca393 - <librespot_connect::spirc::SpircTask as futures::future::Future>::poll::h12141582595b4c57
May 19 16:04:40 volumio volumio[11643]: 13: 0xb6a51fff - <librespot::Main as futures::future::Future>::poll::hac7f09e8dbe917a6
May 19 16:04:40 volumio volumio[11643]: 14: 0xb6a4a63f - futures::task_impl::std::set::hf89c53c05a6c2de6
May 19 16:04:40 volumio volumio[11643]: 15: 0xb6a63e7f - tokio_core::reactor::Core::run::ha9539a4e4ca6d59b
May 19 16:04:40 volumio volumio[11643]: 16: 0xb6a53ac3 - librespot::main::hdbb8ab6b412016c5
May 19 16:04:40 volumio volumio[11643]: 17: 0xb6a64d4b - std::rt::lang_start::{{closure}}::h1ae8c7c248c5cc5a
May 19 16:04:40 volumio volumio[11643]: 18: 0xb6e7b093 - std::panicking::try::do_call::h9cb586bd57bb9d3d
May 19 16:04:40 volumio volumio[11643]: at /checkout/src/libstd/rt.rs:59
May 19 16:04:40 volumio volumio[11643]: at /checkout/src/libstd/panicking.rs:480
May 19 16:04:40 volumio volumio[11643]: 19: 0xb6ea1e2b - __rust_maybe_catch_panic
May 19 16:04:40 volumio volumio[11643]: at /checkout/src/libpanic_unwind/lib.rs:101
May 19 16:04:40 volumio volumio[11643]: 20: 0xb6e82343 - std::rt::lang_start_internal::h104139376fdb9ead
May 19 16:04:40 volumio volumio[11643]: at /checkout/src/libstd/panicking.rs:459
May 19 16:04:40 volumio volumio[11643]: at /checkout/src/libstd/panic.rs:365
May 19 16:04:40 volumio volumio[11643]: at /checkout/src/libstd/rt.rs:58
May 19 16:04:40 volumio volumio[11643]: 21: 0xb6a545a3 - main
May 19 16:04:40 volumio volumio[11643]: 22: 0xb686b631 - __libc_start_main
May 19 16:04:40 volumio volumio[11643]: INFO:librespot_playback::player: Shutting down player thread …
May 19 16:04:42 volumio systemd[1]: volspotconnect2.service holdoff time over, scheduling restart.
May 19 16:04:42 volumio systemd[1]: Stopping Volspotconnect2 Daemon…
May 19 16:04:42 volumio systemd[1]: Starting Volspotconnect2 Daemon…
May 19 16:04:42 volumio systemd[1]: Started Volspotconnect2 Daemon.
May 19 16:04:42 volumio volumio[11672]: INFO:librespot: librespot 323aea3 (2018-03-17). Built on 2018-03-18. Build ID: 9RNT9vYq
May 19 16:04:42 volumio volumio[11672]: WARN:mdns: Failed to register IPv6 receiver: Error { repr: Os { code: 19, message: “No such device” } }
May 19 16:04:42 volumio volumio[11672]: INFO:librespot_core::session: Connecting to AP “
gew1-accesspoint-b-cvfm.ap.spotify.com:4070
May 19 16:04:43 volumio volumio[11672]: INFO:librespot_core::session: Authenticated as “dbmandrake” !
May 19 16:04:43 volumio volumio[11672]: INFO:librespot_core::session: Country: “GB”
May 19 16:04:43 volumio volumio[11672]: INFO:librespot_playback::player: new Player[0]
May 19 16:04:43 volumio volumio[11672]: INFO:librespot_playback::audio_backend::alsa: Using alsa sink

[/code]

It should be fixed with last dev version . desinstall the plugin and install the version from my github repo.

The new version is working great with all 3 of my Volumio systems. Thanks Balbuze!