Log in
Register
Menu
Log in
Register
Home
What's new
Latest activity
Authors
Forums
New posts
Search forums
What's new
New posts
Latest activity
Members
Current visitors
New posts
Search forums
Menu
Log in
Register
Install the app
Install
Forums
Miscellaneous Sections
Tech Head - The Technology Section
Raspberry Pi
adding spotify connect to rune - raspberry pi
JavaScript is disabled. For a better experience, please enable JavaScript in your browser before proceeding.
You are using an out of date browser. It may not display this or other websites correctly.
You should upgrade or use an
alternative browser
.
Reply to thread
Message
<blockquote data-quote="Archive-8" data-source="post: 1006322"><p>i wanted to add spotify connect to rune, </p><p></p><p>log in to your pi via Putty</p><p></p><p>username: root</p><p>password: rune</p><p></p><p></p><p>paste: fdisk /dev/mmcblk0</p><p></p><p>then press D, select 2,</p><p></p><p>Press "<strong>n</strong>" to make a new partition, then press E.</p><p></p><p>Press "<strong>t</strong>" and enter the value "83" to mark it as a Linux partition.</p><p></p><p>Press "<strong>w</strong>" to write changes and exit. You may have to reboot after this for changes to be registered. This has resized the partition, but not yet the filesystem.</p><p></p><p>Next, use the <strong>resize2fs</strong> command in this way:</p><p></p><p>resize2fs /dev/mmcblk0p2</p><p></p><p>and once complete reboot once again.</p><p></p><p></p><p>to load Spotify:</p><p></p><p>using putty add this</p><p></p><p></p><p>wget <a href="https://github.com/Fornoth/spotify-connect-web/releases/download/0.0.3-alpha/spotify-connect-web.sh" target="_blank">https://github.com/Fornoth/spotify-connect-web/releases/download/0.0.3-alpha/spotify-connect-web.sh</a></p><p></p><p>chmod u+x spotify-connect-web.sh</p><p></p><p>./spotify-connect-web.sh install</p><p></p><p></p><p>Next install the spotify key with the following command:</p><p></p><p>wget -P ~/spotify-connect-web-chroot/usr/src/app <a href="https://github.com/balbuze/volumio-plugins/raw/master/plugins/music_service/volspotconnect/spotify-connect-web/spotify_appkey.key" target="_blank">https://github.com/balbuze/volumio-plugins/raw/master/plugins/music_service/volspotconnect/spotify-connect-web/spotify_appkey.key</a></p><p><a href="https://github.com/balbuze/volumio-plugins/raw/master/plugins/music_service/volspotconnect/spotify-connect-web/spotify_appkey.key" target="_blank">https://github.com/balbuze/volumio-plugins/raw/master/plugins/music_service/volspotconnect/spotify-connect-web/spotify_appkey.key</a></p><p>Your Spotify Server should work. Test it by typing:</p><p></p><p>./spotify-connect-web.sh -o hw:0 --username [12345678] --password [xyz123] --bitrate 320 --name [any name]</p><p></p><p>ctrl c to close the server down.</p><p></p><p>still with putty</p><p></p><p>Type the following:</p><p></p><p>sudo nano scs.service</p><p></p><p>and paste the information bellow</p><p></p><p>[Unit]</p><p>Description=Spotify Connect</p><p>After=network-online.target</p><p>[Service]</p><p>Type=idle</p><p>User=root</p><p>ExecStart=/root/spotify-connect-web.sh -o hw:0 --username [12345678] --password [xyz123] --bitrate 320 --name [any name]</p><p>Restart=always</p><p>RestartSec=10</p><p>StartLimitInterval=30</p><p>StartLimitBurst=20</p><p>[Install]</p><p>WantedBy=multi-user.target</p><p></p><p>Close the editor and save by typing ctrl-X</p><p></p><p>select Y to save</p><p></p><p>Type the following:</p><p></p><p>sudo mv ./scs.service /etc/systemd/system/scs.service</p><p>sudo chmod a+u /etc/systemd/system/scs.service</p><p>sudo systemctl daemon-reload</p><p>sudo systemctl enable scs.service</p><p>sudo systemctl start scs.service</p><p></p><p>and finally </p><p></p><p>sudo reboot </p><p></p><p>and enjoy.</p></blockquote><p></p>
[QUOTE="Archive-8, post: 1006322"] i wanted to add spotify connect to rune, log in to your pi via Putty username: root password: rune paste: fdisk /dev/mmcblk0 then press D, select 2, Press "[B]n[/B]" to make a new partition, then press E. Press "[B]t[/B]" and enter the value "83" to mark it as a Linux partition. Press "[B]w[/B]" to write changes and exit. You may have to reboot after this for changes to be registered. This has resized the partition, but not yet the filesystem. Next, use the [B]resize2fs[/B] command in this way: resize2fs /dev/mmcblk0p2 and once complete reboot once again. to load Spotify: using putty add this wget [URL]https://github.com/Fornoth/spotify-connect-web/releases/download/0.0.3-alpha/spotify-connect-web.sh[/URL] chmod u+x spotify-connect-web.sh ./spotify-connect-web.sh install Next install the spotify key with the following command: wget -P ~/spotify-connect-web-chroot/usr/src/app [URL]https://github.com/balbuze/volumio-plugins/raw/master/plugins/music_service/volspotconnect/spotify-connect-web/spotify_appkey.key[/URL] [URL='https://github.com/balbuze/volumio-plugins/raw/master/plugins/music_service/volspotconnect/spotify-connect-web/spotify_appkey.key'][/URL] Your Spotify Server should work. Test it by typing: ./spotify-connect-web.sh -o hw:0 --username [12345678] --password [xyz123] --bitrate 320 --name [any name] ctrl c to close the server down. still with putty Type the following: sudo nano scs.service and paste the information bellow [Unit] Description=Spotify Connect After=network-online.target [Service] Type=idle User=root ExecStart=/root/spotify-connect-web.sh -o hw:0 --username [12345678] --password [xyz123] --bitrate 320 --name [any name] Restart=always RestartSec=10 StartLimitInterval=30 StartLimitBurst=20 [Install] WantedBy=multi-user.target Close the editor and save by typing ctrl-X select Y to save Type the following: sudo mv ./scs.service /etc/systemd/system/scs.service sudo chmod a+u /etc/systemd/system/scs.service sudo systemctl daemon-reload sudo systemctl enable scs.service sudo systemctl start scs.service and finally sudo reboot and enjoy. [/QUOTE]
Insert quotes…
Verification
Post reply
Forums
Miscellaneous Sections
Tech Head - The Technology Section
Raspberry Pi
adding spotify connect to rune - raspberry pi
This site uses cookies to help personalise content, tailor your experience and to keep you logged in if you register.
By continuing to use this site, you are consenting to our use of cookies.
Accept
Learn more…
Top