Reply To: [SOLVED] Spotify Connect Auto Start appears to be failing

Max2Play Home Forums Max2Play Add-ons [SOLVED] Spotify Connect Auto Start appears to be failing Reply To: [SOLVED] Spotify Connect Auto Start appears to be failing

3. Oktober 2017 at 21:11 #31668

Hallo,
erst mal sorry das ich auf Deutsch schreibe, mein englisch ist nicht so gut, ich hoffe das ist ok.

Ich habe im Grunde dasselbe Problem wie „theonlyfoz“.

Mal startet Spotify Connect automatisch, mal nicht. Dies scheint völlig willkürlich zu passieren.
Alle anderen Player (Shairport, Squeezelite) habe ich inzwischen zu Testzwecken aus dem Autostart herausgenommen. Den Spotify Connect Service habe ich re-installiert, sollte also auf dem neuesten Stand sein.
Von Hand kann ich Spotify immer problemlos starten.

Max2Play 2.44
Raspberry Pi B
USB Soundkarte (Creative Sound Blaster Play)
Angeschlossen via LAN Kabel
Sprache/Zeitzone: Deutsch/Deutschland – Europe/Berlin

Hier mal die DEBUG Infos von Spotify wenn der Autostart geklappt hat und wenn nicht. Vielleicht könnt ihr ja mehr damit anfangen als ich.

—–AUTOSTART OK—–

#### Librespot Output ####
INFO:librespot: librespot cc9dba8 (2017-03-26). Built on 2017-07-17. Build ID: 8zQE3Bpb
INFO:librespot::session: Connecting to AP „lon3-accesspoint-a65.ap.spotify.com:4070“
INFO:librespot::session: Authenticated as „XXXXXXXXXXXXXX“ !
INFO:librespot::session: Country: „DE“
INFO:librespot::audio_backend::alsa: Using alsa sink

#### 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
-b, –bitrate BITRATE
Bitrate (96, 160 or 320). Defaults to 160
–onstart PROGRAM
Run PROGRAM when playback is about to begin.
–onstop PROGRAM
Run PROGRAM when playback has ended.
-v, –verbose Enable verbose output
-u, –username USERNAME
Username to sign in with
-p, –password PASSWORD
Password
–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
–mixer MIXER Mixer to use

—-AUTOSTART NICHT OK—-

#### Librespot Output ####
INFO:librespot: librespot cc9dba8 (2017-03-26). Built on 2017-07-17. Build ID: 8zQE3Bpb
WARN:librespot::apresolve: Failed to resolve Access Point: HTTP error
WARN:librespot::apresolve: Using fallback „ap.spotify.com:80“
INFO:librespot::session: Connecting to AP „ap.spotify.com:80“
thread ‚main‘ panicked at ‚called Result::unwrap() on an Err value: Error { repr: Custom(Custom { kind: Other, error: StringError(„failed to lookup address information: Name or service not known“) }) }‘, /checkout/src/libcore/result.rs:859
note: Run with RUST_BACKTRACE=1 for a backtrace.

#### 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
-b, –bitrate BITRATE
Bitrate (96, 160 or 320). Defaults to 160
–onstart PROGRAM
Run PROGRAM when playback is about to begin.
–onstop PROGRAM
Run PROGRAM when playback has ended.
-v, –verbose Enable verbose output
-u, –username USERNAME
Username to sign in with
-p, –password PASSWORD
Password
–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
–mixer MIXER Mixer to use