by grofweg » 27 May 2018, 13:02
by rastus » 27 May 2018, 22:58
kaczor189 wrote:I don't know how :/
by kaczor189 » 04 Jun 2018, 20:50
by tml3nr » 05 Jun 2018, 04:26
kaczor189 wrote:I managed to extend partition, thank you.
I have next problem. I did everyhing step by step, using WinSCP I copied spotify_appkey.key to /root/spotify-connect-web-chroot/usr/src/app, overwrited console_callbacks.py using text given here https://github.com/JozoVilcek/spotify-connect-web/blob/855b92b49555cdcc11d0ab4c71866475cd7c9499/console_callbacks.py and when I run test typing my username and password to Spotify I have problem like in the picture. I have also tried to copy all the files (spotify_appkey.key + Spotify Fix) like here http://powerpi.de/spotify-connect-auf-dem-raspberry-pi-2-installieren-dein-smartphone-ist-die-fernbedienung/ but there was also an error. Do you have any idea ?
Image https://zapodaj.net/0a3793675af07.png.html
./spotify-connect-web.sh --playback_device sysdefault:CARD=BossDAC --mixer_device_index 0 --mixer Digital --username abc --password xyz --name RuneAudio --bitrate 320
## Usage
```
usage: main.py [-h] [--device DEVICE | --playback_device PLAYBACK_DEVICE]
[--mixer_device_index MIXER_DEVICE_INDEX] [--mixer MIXER]
[--dbrange DBRANGE] [--cors CORS] [--debug] [--key KEY]
[--username USERNAME] [--password PASSWORD] [--name NAME]
[--bitrate {90,160,320}] [--credentials CREDENTIALS]
Web interface for Spotify Connect
optional arguments:
-h, --help show this help message and exit
--device DEVICE, -D DEVICE
alsa output device (deprecated, use --playback_device)
--playback_device PLAYBACK_DEVICE, -o PLAYBACK_DEVICE
alsa output device (get name from aplay -L)
--mixer_device_index MIXER_DEVICE_INDEX
alsa card index of the mixer device
--mixer MIXER, -m MIXER
alsa mixer name for volume control
--dbrange DBRANGE, -r DBRANGE
alsa mixer volume range in Db
--lastfm_username LASTFM_USERNAME
your Last.fm username
--lastfm_password LASTFM_PASSWORD
your Last.fm password
--lastfm_api_key LASTFM_API_KEY
your Last.fm API key
--lastfm_api_secret LASTFM_API_SECRET
your Last.fm API secret
--lastfm_credentials LASTFM_CREDENTIALS
file to load Last.fm credentials from
--cors CORS enable CORS support for this host (for the web api).
Must be in the format <protocol>://<hostname>:<port>.
Port can be excluded if its 80 (http) or 443 (https).
Can be specified multiple times
--debug, -d enable libspotify_embedded/flask debug output
--key KEY, -k KEY path to spotify_appkey.key (can be obtained from
https://developer.spotify.com/my-account/keys )
--username USERNAME, -u USERNAME
your spotify username
--password PASSWORD, -p PASSWORD
your spotify password
--name NAME, -n NAME name that shows up in the spotify client
--bitrate {90,160,320}, -b {90,160,320}
Sets bitrate of audio stream (may not actually work)
--credentials CREDENTIALS, -c CREDENTIALS
File to load and save credentials from/to
by kaczor189 » 06 Jun 2018, 16:30
by Holladiewaldfee » 13 Jun 2018, 21:14
by schnelle.com » 25 Jun 2018, 13:44
by alecs123 » 16 Jul 2018, 04:52
by tml3nr » 16 Jul 2018, 05:34
alecs123 wrote:hello.... I've been trying to setup spotify connect...
I've been able to do it without a problem on a 2nd rspb3 with a hifiberry dac+ pro, but in this new unit, I have an external USB DAC, that is recognized as "xCORE USB Audio 2.0" as the mixer and the device is 0
The problem I think is that when you have spaces in the mixer name it doesn't work
Do you know how I should be donfiguring it?
By the way, it's a SMSL M8 dac via USB
Thanks
./spotify-connect-web.sh --name RuneAudio --device 0 --username abc --password xyz --bitrate 320
./spotify-connect-web.sh --name RuneAudio --playback_device 'sysdefault:CARD=BossDAC' --mixer_device_index 0 --mixer Digital --username abc --password xyz --bitrate 320
./spotify-connect-web.sh --name RuneAudio --playback_device hw:0,0 --mixer_device_index 0 --mixer Digital --username abc --password xyz --bitrate 320
usage: main.py [-h] [--device DEVICE | --playback_device PLAYBACK_DEVICE]
[--mixer_device_index MIXER_DEVICE_INDEX] [--mixer MIXER]
[--dbrange DBRANGE] [--cors CORS] [--debug] [--key KEY]
[--username USERNAME] [--password PASSWORD] [--name NAME]
[--bitrate {90,160,320}] [--credentials CREDENTIALS]
support RuneAudio