Spotify app takes up your Windows/Mac/iPhone's available memory storage for 2 purposes:
To store temporary, or snippets of music for streaming (i.e. as cache). So when you press play, you hear the music immediately without interruptions.
To store downloaded music tracks so that you listen to them offline (This is for Premium users only).
Note: In this article, we are going to clear Spotify cache files using an Android phone, an iPhone and desktop Spotify app for Windows and Mac. Clear Spotify Cache Files Using An Android Phone. It is quite an easy task and can be done within the Spotify app. The following are the steps to do so. Spotify Click the install file to finish up. If your download didn't start, try again. Bring your music to mobile and tablet, too. Listening on your phone or tablet. Hello to all, I'm running Spotify on OS X El Capitan (10.11.6). I'd like to know how much space the offline songs storage is taking up on my hard drive.
So if you have installed Spotify app in your Windows/Mac/iPhone and other devices for long and have been a regular user, your device should have stored lots of caches, including offline playlists, albums, cover images, traces of recently listened songs, streamed tracks, etc. Owing to these cache files, you can quickly playback songs without streaming them from the server again. But this will take up lots of the hard disk space. If you want to relieve space for your device and speed up your app, you can clear Spotify cache from your Windows/Mac/iPhone following the quick and easy tips below.
Part 1. Permanently Delete Spotify Cache from Windows
Mostly, after uninstalling the Spotify from your computer, some traces of the program still remain in your computer. To thoroughly clear Spotify cache and get rid of traces left around, you need to manually remove cache files from the cache folder.
Spotify cache files and local cache data are always kept inside the below folders:
1) Spotify Cache:
Windows: C:Users*USERNAME*AppDataLocalSpotifyStorage
2) Clear 'Local Files' Cache:
Windows: C:Users*USERNAME*AppDataRoamingSpotifyUsersusername-userlocal-files.bnk
Part 2. Empty Spotify Cache Files from Mac Once for All
The folder which stores Spotify caches is big because cache data includes album covers and stuff of songs you have listened to the most. To clear Spotify caches, just delete the folder that stores cache files. This will not affect the operation of the program in your computer.
Generally, Spotify keeps its cache files as well as the local file in the following locations respectively:
1) To clear Spotify cache, please delete data in the below path:
Mac OS X: /Users/*USERNAME*/Library/Caches/com.spotify.client/Storage/
2) To clear 'Local Files' cache, please delete the file in the below path:
Mac OS X: ~/Library/Application Support/Spotify/watch-sources.bnk
Part 3. Thoroughly Clear Spotify Cache Files from iPhone X/8S/8
It is undoubtedly that Spotify is a very attractive music service. However, it takes up a lot of space on your iPhone. In addition to deleting and reinstalling the app, it is another way to optimize the app so as to reduce its taken space. That is to update the app.
Tip 1: Delete and reinstall Spotify
Uninstalling Spotify and then reinstalling it in your iPhone can reduce its taken place amount. The reason is that once the Spotify app is deleted and reinstalled, it will download properly so unnecessary app caches will not be produced.
To delete and reinstall the Spotify app on your iPhone X/8S/8, please perform steps below:
Step 1. Go to the home screen and locate the Spotify app.
Step 2. Long tap on the Spotify app icon.
Step 3. When the 'X' icon occurs, click it to delete the Spotify app.
Step 4. Go to App Store. Search the Spotify app. Then download and install it.
Spotify Cache Mac Os High Sierra
Tip 2. Delete Offline Playlists
Deleting offline playlist is also useful to clear Spotify cache and save space on your iPhone X/8S/8, etc.
To delete Spotify offline playlist, please perform steps below:
Step 1. Open Spotify app on your iPhone.
Step 2. Tap on the offline playlist title that you are going to delete from Spotify.
Step 3. Delete the selected playlist accordingly.
Tip 3. Reduce Spotify Stream Quality
To delete Spotify cache and accelerate the app significantly, you can reduce Spotify stream quality following the steps below:
Step 1. Go to 'Edit' > 'Preferences' > 'Playback'.
Step 2. Uncheck the 'High-Quality Playback' option.
Tip 4. Update Spotify App in Your iPhone
Updating Spotify app can optimize your Spotify app go to relieve storage. So keeping the app updated is very important. There are two ways to update Spotify app. One is to switch on automatic updates so the app will automatically update. The other way is manual update.
Way 1: Switch on Automatic Updates
Go to Settings > Tap iTunes & App Store > Switch Updates on.
Way 2: Update Spotify Manually
Open the App Store > Tap Updates in the bottom right > Find Spotify and tap UPDATE.
Note: If Spotify isn't listed here, your app is on the latest version.
Part 4. Extended Reading: Download Spotify Music to Windows/Mac/iPhone
One day if you want to delete Spotify from your Windows/Mac/iPhone but keep the Spotify music on your local disk, you can download the tracks from Spotify app. And if you want to really own Spotify music and share Spotify music and video on Instagram story, you can remove DRM protection from Spotify music. To achieve goal above, TuneFab Spotify Music Converter can help.
Related Reading:Quick Ways to Listen to Spotify Offline for Free
Mac Os Mojave
Electron apps are a plague. If you’ve ever wondered why:
- your computer chugs to a halt once more than two of {Slack, Discord, Skype, Messenger, WhatsApp, Signal, GitHub Desktop, Steam, VS Code} are open on the same machine
- scrolling, or playing a GIF or whatever in those apps, is incredibly laggy
- every app download is now 100MB+
- the typing shortcuts you’re used to in macOS Just Don’t Work
then it’s likely that Electron is to blame. I’m writing this blog post on a maxed-out 2016 13” MacBook Pro, and it can barely keep up with all these Electron apps I need to keep running. We can only speculate why all these large companies with enormous engineering resources cannot use the money that I pay them for their services to make software that doesn’t suck, but that’s for another blog post.
Lately I’ve gotten especially annoyed at all of the Electron-based junk running on my machine, since I have to work from home, which means needing to use Docker to run or test out various Linux things, which is another 2 gigs of my laptop’s precious memory eaten away. I decided to look for non-Electron alternative clients for all of those. Enter spotifyd
and spotify-tui
. After switching software, I have an extra half-gig of memory that isn’t being wasted running yet another instance of Chromium.
In this blog post, I’ll show you how to set up these on your macOS machine. I assume basic familiarity with managing your machine via Terminal. You’ll also need a Spotify Premium account for any of this to work. The wood chipper that is modern society can’t operate without sacrificing a few limbs!
Installing and configuring spotifyd
This is an always-on service (hence the d
in its name, for daemon) that will wait in the background and play music requested by whatever Spotify client we choose; in this case, spotify-tui
.
First, get spotifyd
installed. I’ve added it to Homebrew already, so if you need to get that set up first, go ahead.
You’ll need to create a configuration file named ~/.config/spotifyd/spotifyd.conf
that specifies your login information and other details. You can read the full instructions, but I’ve annotated my own configuration here:
Create and edit this file with vim
, or whatever text editor you prefer:
Next you’ll need to add your password to the system password manager. You can do this via the Keychain Access app, or just right in the Terminal:
Be sure to use your Spotify username here, not your macOS username. You can confirm that it was added correctly by opening up Keychain Access and searching for spotifyd
.
This should be all the configuring you need to do. To test if it worked, first run spotifyd
as just a plain app. After you run the following command, grant spotifyd
access to the macOS Keychain and Firewall in the pop up that appears:
If everything worked correctly, you should similar output to what I have above. Open the official Spotify client on your phone or laptop, and confirm that there’s a new device in Spotify Connect:
Press CTRL-C
to stop spotifyd
. Now we’ll use brew services
to to run spotifyd
in the background:
If you still see spotifyd
show up in Spotify Connect, it worked!
Installing and configuring spotify-tui
The Terminal app spotify-tui
is how you’ll actually control spotifyd
by showing you playlists and giving you playback controls and so on. There’s not that much involved, as the app itself will give you instructions that you can follow quite easily.
You’ll have to click through the Spotify Developer agreement and copy and paste some stuff, but it’s nothing too onerous. Just remember to say you’re making a non-commercial app, and set the “Redirect URI” in the Spotify Developer dashboard and everything should be peachy.
Spotify Cache Macos Mac
If you’ve set everything up correctly you should see the text interface pop up like so:
To be honest, I used it for a bit, and then decided that I didn’t really like text-mode interfaces all that much. Instead, I just control Spotify from my phone via Spotify Connect, so this hasn’t gotten that much use. Maybe one day I’ll teach myself Swift and write a native macOS Spotify Connect player…
But I’m on Linux!
I dunno, on Linux you’re generally expected to figure things out on your own, so maybe try apt install spotifyd spotify-tui
followed by sudo systemctl start spotifyd
and see if that works ¯_(ツ)_/¯
Spotify Cache Mac Os Virtualbox
Is this all legal?
Probably not. While it would be pretty weird for Spotify to sue or ask to imprison their own paying customers, I can’t predict how Spotify’s CEO might aim to Maximize Shareholder Value in the future.
If you found this post useful, please consider supporting my work with a glass of wine 🍷.
Related Posts
- Maintain your own Homebrew repository, with binary bottles
- Painless (almost) multiple-choice exams in LaTeX
- Updating Homebrew formulae when your software gets a new version