Spotify Connect on RuneAudio

Raspberry Pi related support

Re: Spotify Connect on RuneAudio

Postby kaczor189 » 27 May 2018, 08:45

I don't know how :/
kaczor189
 
Posts: 7
Joined: 27 Oct 2016, 08:03

Re: Spotify Connect on RuneAudio

Postby grofweg » 27 May 2018, 13:02

See this post. That might be the easiest way to expand your SD:
viewtopic.php?p=25217#p25217
grofweg
 
Posts: 18
Joined: 30 Sep 2017, 11:37

Re: Spotify Connect on RuneAudio

Postby rastus » 27 May 2018, 22:58

kaczor189 wrote:I don't know how :/


This is the only version of expanding the partition on Runeaudio that I've found that actually works!

https://archlinuxarm.org/forum/viewtopi ... 119#p18160

Regards,

Helpful.
You are invited to participate in my new forum, Rastus' Rants: http://rastus.tk
Subjects covered: Hardware setup for the Raspberry Pi as a digital streamer. Digital music, artists and thier albums or CDs. More will be added in the coming weeks.
User avatar
rastus
 
Posts: 287
Joined: 21 Aug 2015, 10:29

Re: Spotify Connect on RuneAudio

Postby kaczor189 » 04 Jun 2018, 20:50

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
kaczor189
 
Posts: 7
Joined: 27 Oct 2016, 08:03

Re: Spotify Connect on RuneAudio

Postby 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

Do not update Spotify Fix. It's not working.

Please check: --device <value> --mixer <value> from your alsamixer:

Image

PS: If you clean install Spotify Connect Web Fornoth v003 or v004. The command line must be:

Code: Select all
./spotify-connect-web.sh --playback_device sysdefault:CARD=BossDAC --mixer_device_index 0 --mixer Digital --username abc --password xyz --name RuneAudio --bitrate 320


More info v003 & v004:

Code: Select all
## 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
tml3nr
 
Posts: 44
Joined: 02 Apr 2016, 07:43

Re: Spotify Connect on RuneAudio

Postby kaczor189 » 06 Jun 2018, 16:30

hmm… my window looks different
7db788a0b4773.png
7db788a0b4773.png (16.59 KiB) Viewed 514 times

If it matters I have rpi3 with the latest runeuadio version.
kaczor189
 
Posts: 7
Joined: 27 Oct 2016, 08:03

Re: Spotify Connect on RuneAudio

Postby Holladiewaldfee » 13 Jun 2018, 21:14

Hi@all

is it possible to build a new RuneAudio Version > v0.3(xx)-beta?.. with a new Spotify.Lib ?
Or a Link to an anhanced SD Build with this Stuff above? - i have tried it 2 days without an
positive result :-(

Not all RuneAudio User are Linux Cracks

regards
HdWf
Holladiewaldfee
 
Posts: 2
Joined: 01 Jun 2018, 12:27

Re: Spotify Connect on RuneAudio

Postby schnelle.com » 25 Jun 2018, 13:44

Hi,
I have it running on ran Rpi zero w. Everything works fine except the volume control. I use a generic USB audio card and alsamixer shows the volume control as 'Speaker'. But when I put that in as Mixer it does not work. Please help.

P.S.: it is working when I remove the mixer part in the spotify-connect.service
schnelle.com
 
Posts: 1
Joined: 25 Jun 2018, 13:41

Re: Spotify Connect on RuneAudio

Postby alecs123 » 16 Jul 2018, 04:52

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
alecs123
 
Posts: 9
Joined: 18 Apr 2018, 04:20

Re: Spotify Connect on RuneAudio

Postby 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

You try SC Fornoth v003. It's support all of parameter below:

ie:

Code: Select all
./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


Parameter work around from:

aplay -l

aplay -L

amixer

Code: Select all
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]
tml3nr
 
Posts: 44
Joined: 02 Apr 2016, 07:43

support RuneAudio Donate with PayPal

PreviousNext

Return to Raspberry Pi

Who is online

Users browsing this forum: cmh714 and 3 guests