Max2Play Home › Forums › Max2Play Add-ons › [SOLVED] Spotify connect not autostarting
Tagged: spotify connect
- This topic has 3 replies, 3 voices, and was last updated 4 years, 5 months ago by gtj premium.
-
Posted in: Max2Play Add-ons
-
21. Februar 2020 at 21:23 #48053
The spotify connect plugin is not autostarting, the option is on.
When starting the service manually it’s working.Debug info:
#### Librespot Output ####
[2020-02-21T19:13:51Z INFO librespot] librespot 4e3576b (2019-06-01). Built on 2019-07-17. Build ID: dJS4Cwwn
thread ‚main‘ panicked at ‚calledResult::unwrap()
on anErr
value: Os { code: 19, kind: Other, message: „No such device“ }‘, src/libcore/result.rs:1051:5
stack backtrace:
0: 0x98c520 – backtrace::backtrace::libunwind::trace::hb6a132d591ca7611
at /cargo/registry/src/github.com-1ecc6299db9ec823/backtrace-0.3.29/src/backtrace/libunwind.rs:88
1: 0x98c520 – backtrace::backtrace::trace_unsynchronized::h57632732de182e95
at /cargo/registry/src/github.com-1ecc6299db9ec823/backtrace-0.3.29/src/backtrace/mod.rs:66
2: 0x98c520 – std::sys_common::backtrace::_print::h6cb4809c66c99661
at src/libstd/sys_common/backtrace.rs:47
3: 0x98c520 – std::sys_common::backtrace::print::h6669d3820c576c3e
at src/libstd/sys_common/backtrace.rs:36
4: 0x98c520 – std::panicking::default_hook::{{closure}}::h0ade7ad8763731e3
at src/libstd/panicking.rs:200
5: 0x98c0d0 – std::panicking::default_hook::hd3ea7a3eadd333fe
at src/libstd/panicking.rs:214
6: 0x98cce4 – std::panicking::rust_panic_with_hook::hce5e0d6d2351d34c
at src/libstd/panicking.rs:477
7: 0x98c8a8 – std::panicking::continue_panic_fmt::h442f516a43aa110c
at src/libstd/panicking.rs:384
8: 0x98c794 – rust_begin_unwind
at src/libstd/panicking.rs:311
9: 0x9a8da8 – core::panicking::panic_fmt::hffa19936292f87b2
at src/libcore/panicking.rs:85
10: 0x49e948 – core::result::unwrap_failed::hfc6d0a87e5a21e1a
11: 0x47aa9c – librespot::main::h3c3dc133e36a93ea
12: 0x481e28 – std::rt::lang_start::{{closure}}::h2edd886586580efa
13: 0x98c70c – std::rt::lang_start_internal::{{closure}}::hcdb405dd64721e03
at src/libstd/rt.rs:49
14: 0x98c70c – std::panicking::try::do_call::hfebf9402a8333320
at src/libstd/panicking.rs:296
15: 0x993d7c – __rust_maybe_catch_panic
at src/libpanic_unwind/lib.rs:82
16: 0x98d174 – std::panicking::try::h4211c5f7da29f2ec
at src/libstd/panicking.rs:275
17: 0x98d174 – std::panic::catch_unwind::h59ca36657f00e168
at src/libstd/panic.rs:394
18: 0x98d174 – std::rt::lang_start_internal::ha24163ef22e56cef
at src/libstd/rt.rs:48
19: 0x47b1ac – main
20: 0x76dbd678 – __libc_start_main#### Librespot Command Line Options ####
error: Required option ’name‘ missing
Usage: /opt/spotifyconnect/librespot [options]Options:
-c, –cache CACHE Path to a directory where files will be cached.
–disable-audio-cache
Disable caching of the audio data.
-n, –name NAME Device name
–device-type DEVICE_TYPE
Displayed device type
-b, –bitrate BITRATE
Bitrate (96, 160 or 320). Defaults to 160
–onevent PROGRAM
Run PROGRAM when playback is about to begin.
-v, –verbose Enable verbose output
-u, –username USERNAME
Username to sign in with
-p, –password PASSWORD
Password
–proxy PROXY HTTP proxy to use when connecting
–ap-port AP_PORT
Connect to AP with specified port. If no AP with that
port are present fallback AP will be used. Available
ports are usually 80, 443 and 4070
–disable-discovery
Disable discovery mode
–backend BACKEND
Audio backend to use. Use ‚?‘ to list options
–device DEVICE Audio device to use. Use ‚?‘ to list options if using
portaudio or alsa
–mixer MIXER Mixer to use (alsa or softmixer)
-m, –mixer-name MIXER_NAME
Alsa mixer name, e.g „PCM“ or „Master“. Defaults to
‚PCM‘
–mixer-card MIXER_CARD
Alsa mixer card, e.g „hw:0“ or similar from `aplay
-l`. Defaults to ‚default‘
–mixer-index MIXER_INDEX
Alsa mixer index, Index of the cards mixer. Defaults
to 0
–initial-volume VOLUME
Initial volume in %, once connected (must be from 0 to
100)
–zeroconf-port ZEROCONF_PORT
The port the internal server advertised over zeroconf
uses.
–enable-volume-normalisation
Play all tracks at the same volume
–normalisation-pregain PREGAIN
Pregain (dB) applied by volume normalisation
–linear-volume
increase volume linear instead of logarithmic.27. Februar 2020 at 10:55 #48091Problem solved: add in the rc.local a start command to start the spotify connect plugin.
15. Mai 2020 at 3:24 #48787Could you please explain what you did?
I’m new to Max2Play and having trouble to make my Pi Zero autostart the Spotify-Connect client. -
You must be logged in to reply to this topic.