Forum Replies Created
-
Posted in: Allo USB Bundle
-
19. März 2018 at 13:55 #34532
Hi Heiner,
thank you for your fast reply!
I have updated my raspberry pi3 to the latest beta (version 180315) und tried to reinstall the spotify connect plugin. the reinstallation was successful but when I try to start the service I get the following message:#### Librespot Output #### error: Unrecognized option: 'onstart' 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 --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 --mixer MIXER Mixer to use --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 #### 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 --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 --mixer MIXER Mixer to use --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
Before the reinstallation I have delete the spotifyconnect-folders in /opt/ and var/www/max2play/applications/plugins and hte librespot.zip-file in /opt/max2play/cache. But the problem ist the same before.
Do you have any tips for me?
14. März 2018 at 9:38 #34413Hi Heiner,
I have updated the plugins in the webinterface „Einstellungen / Reboot“ und then the spotifyplugin reinstalled. Now I get another error, when I try to connect with SpotifyConnect:
#### Librespot Output #### INFO:librespot: librespot cc9dba8 (2017-03-26). Built on 2017-07-17. Build ID: 8zQE3Bpb INFO:librespot::session: Connecting to AP "gew1-accesspoint-b-zjkl.ap.spotify.com:4070" INFO:librespot::session: Authenticated as "USERNAME" ! INFO:librespot::audio_backend::alsa: Using alsa sink INFO:librespot::session: Country: "DE" thread 'main' panicked at 'called <code>Result::unwrap()</code> on an <code>Err</code> value: WireError("invalid value for enum: 13")', /checkout/src/libcore/result.rs:859 note: Run with <code>RUST_BACKTRACE=1</code> 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
Then the SpotifyConnect service is stopping.
I have add the IP adress of the device in the option of the plugin.
Because of these errors I have updated my system withe the commands „apt-get update“ and „apt-get upgrade“ to the newest version of „jessie“. But without success…
- This reply was modified 6 years, 8 months ago by Stefan121.
13. März 2018 at 9:52 #34371Hello Heiner,
I have checked the entries in my „Spotify Plugin“. But there are no commands in the command line options. This field is only blank.
I have just only in the advanced options of the squeezelite filled out the „kommandozeilen optionen“ with the entry „-C 10“ and activated the checkbox „nutze usb-soundkarte“.Stefan
10. März 2018 at 15:53 #34308Hello Heiner,
I have also problems with the Spotyfy-Connect-Plugin too.
When I try to start the service in the Spotify-Conncet-Setup I get the following message:Versucht zu starten … NICHT Erfolgreich Hier klicken für weitere Informationen
By clicking the link „Hier klicken für weitere Inforationen“ the following informations will be shown:
error: Unrecognized option: ‚onstart‘
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
–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
–mixer MIXER Mixer to use
–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 normalisationI have also try to reinstall the service by clicking „Reinstall Spotify Connect Service“ but the problem isn’t solved.
Please can you help me?
Thanks very lot!
Stefan
-