How to listen to Spotify on Raspberry Pi
Raspbian is the number 1 operating system on the Raspberry Pi. It makes the tiny Raspberry Pi feel like a full-sized computer, allowing users to access web browsers, gadgets and even games.
But Raspbian doesn't support every existing show, and Spotify fans will be disappointed to learn that the Raspberry Pi can't play Spotify in the Chromium web browser.
Luckily, you can make a few tweaks to get Spotify working on the Raspberry Pi and play music via the choice of HDMI connectivity or headphone jack. Here's how to listen to Spotify on the Raspberry Pi.
How to listen to Spotify on Raspberry Pi
Step 1: Install Raspbian
This whole project takes place on Raspbian, so grab the disk image and put it on the microSD card. You can do this using the standard procedure for installing any operating system on your Raspberry Pi.
After installing Raspbian, you will have a great operating system that you can use to perform basic computer functions (like word processing, web browsing, etc.) or as a starting point. head for any Pi project that uses Raspbian as a base.
But one thing you won't be able to do is use the included Chromium web browser to access Spotify's web player. If you try, you will have to redirect or get a message saying 'Playback of protected content is not enabled'.
Step 2: Open Chromium and add the extension User-Agent Switcher for Chrome
You will use this utility to 'trick' the website you want to use into thinking you are running one of the supported browsers, although it is not.
Step 3: 'Pretend' is using Internet Explorer 10
Now, you just need to select your new 'user agent' before trying to access Spotify's web player. Internet Explorer 10 should work, so go ahead and do it: Navigate to Internet Explorer> Internet Explorer 10 under User-Agent Switcher for Chrome settings.
Step 4: Listen to Spotify through the headphone jack or HDMI connection
If you are satisfied with using the headphone jack, complete here! Now, the awesome Spotify doesn't know that you're using a Chromium web browser and should be fine.
By default, this project will output the audio to the Raspberry Pi's headphone jack (instead of the HDMI port), which means you'll have to plug in an extra cord or headphones to enjoy your tunes. However, everything looks perfect when connected to a larger stereo system!
If you want to use an HDMI connection instead, there's only one simple step left to do. In Terminal, run the command:
sudo raspi-config
This will give you a menu in the Terminal window. Navigate to Advanced Options> A4 Audio> Choose the audio output: 2 Force HDMI.
You should read it
- How to set up Spotify Connect on Raspberry Pi
- Do you know Spotify has more interesting things than you think?
- How to hide Listening Activity on Spotify
- How to control Spotify music from any website
- How to listen to offline music on PC with Spotify
- How to transfer Spotify interface to Vietnamese
- 15 tips Spotify you should not miss to have a better listening experience
- How to turn off advertising sounds on Spotify Android with the Mutify app
- How to register for a Spotify account to listen to music online
- How to play playlist Spotify into Youtube video and vice versa
- Downloading Spotify in Vietnam, you can use Free, Premium package for VND 59,000 / month
- How to increase the Spotify experience with support websites
Maybe you are interested
How to Use Spotify's AI Playlist Tool to Create New Playlists
How to see who likes your Spotify playlist
Fix bug where Spotify playlist order cannot be changed
Tips to Make All Your Spotify Music Sound Better
Apple just made a move that left Spotify users 'stunned'
Spotify and Instagram are collaborating on an MSN-like feature for real-time song sharing