/RaspotifyCast

This project shows the necessary process to use a Raspberry PI 3 as a ChromeCast + Spotify client.

Primary LanguageShellMIT LicenseMIT

RaspotifyCast

Description

This project shows the necessary process to use a Raspberry PI 3 as a ChromeCast + Spotify client.

Necessary packages & acknowledges:

  1. RaspiCast
  2. [OMXV](git clone https://github.com/HaarigerHarald/omxiv)
  3. Raspotify

PART 1: SETTING THE RASPBERRY

QUICK Setup (Ethernet connection necessary)

  1. Just donwnload the already baked SD Card image in: link
  2. Download ETCHER to burn de image into SD Card: link
  3. Burn the image into SD Card.
  4. Connect the Raspberry to TV via HDMI and to network via Ethernet Cable.
  5. The RapotifyCast should be accesible via ssh by doing: 'ssh pi@raspofifycast.local' (password: "raspberry")

AUTOMATIC Setup (Ethernet or Wifi)

Still under work.

MANUAL Setup (Ethernet or Wifi)

  1. Download Raspbian-Stretch with Desktop Image: Raspbian-Stretch

  2. Download ETCHER to burn de image into SD Card: link

  3. Burn the image into SD Card.

  4. Open the SD Card in your machine and open Boot partition.

  5. Add an empty file called ssh and save it.

  6. Download the file wpa_supplicant.conf.

  7. Edit wpa_supplicant.conf setting your WIFI network parameters 'SSID_NAME" and "PASSWORD" and save it in Boot partition.

  8. Extract securely SD Card, insert it into your Raspberry and power it on.

  9. Connect to Raspberry via SSH. Open a terminal and enter: 'ssh pi@raspberrypi.local"

  10. Type: sudo apt-get update sudo apt-get upgrade sudo apt-get dist-upgrade

  11. Change Raspberry settings via Raspi-Config. Type: 'sudo raspi-config'.

a. Change Localization settings to your country.

b. Change Boot settings to "Desktop with autologin".

c. Enter in advance settings and expand filesystem to the whole SD Card.

d. Enter in network options and change "Hostname" to **RaspotifyCast".

  1. Reboot. Type 'sudo reboot'.

  2. Wait for 1 minute and try to connect again, this time typing: ssh pi@raspotifycast.local

  3. Install Raspotify: 'curl -sL https://dtcooper.github.io/raspotify/install.sh | sh'

  4. Install Git: 'sudo apt-get install git'

  5. Clone OpenMAX Image Viewer: 'cd ~ && git clone https://github.com/HaarigerHarald/omxiv.git'

  6. Install necessary packages: 'sudo apt-get install libjpeg8-dev libpng12-dev'

  7. Build & Install it: 'cd omxiv && make ilclient && make && sudo make install'

  8. Install "FEH" if you want to have a pictures slideshow. 'sudo apt-get install feh'

  9. Install "Screensaver": 'sudo apt-get install xscreensaver'

  10. Run the slideshow stored in "media" folder: 'feh -Y -x -q -D 5 -B black -F -Z -z -r /media/'

  11. Reboot & Ready!!

PART 2: INSTALLING THE APP IN YOUR ANDROID PHONE

  1. Go to Google Play Store and download RaspiCast

  1. Open it.

  2. Go to Settings and set following parameters:

  1. You should be able to send content to your TV via RaspotifyCast!