Spotify Desktop App Doesnt Show On Discord

Electron apps are a plague. If you’ve ever wondered why:

If I am listening to Spotify with both the Spotify and Discord desktop apps open, as soon as I lock the screen, discord reports my status as idle and doesn't show Spotify. On a somewhat related note, my Spotify listening status on my Android is not showing on Discord when I listen on my phone. This hasn't been working for some time now.

  • 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
  • Discord is the easiest way to talk over voice, video, and text. Talk, chat, hang out, and stay close with your friends and communities.
  • Spotify is one of the most popular music streaming services. If you use the desktop app on Windows, Linux or macOS, but dislike how it looks, you may be interested in customizing the client's apperance.-To do this, you need the free Spicetify-cli tool. It is an open source project that lets you change the looks of the official client quite a bit.
  • On desktop, download the Discord app and open it. Click Connections in the menu on the left. A web page will open to connect. If you’re not already logged into Spotify on the device, you’re directed to log in or sign up first. Click OKAY to confirm.
  • How to Show Spotify on Discord Status - Mobile & Desktop. Close. Posted by 1 hour ago. How to Show Spotify on Discord Status - Mobile & Desktop. Help Reddit App.
  • Discord Desktop Apps Gain Deep Spotify Integration, Including Real-Time 'Listen Along' FeatureGaming-focused chat platform Discord today announced a new integration with Spotify that will allow users to connect their Spotify accounts to Discord in order to showcase what they're listening. Spotify is now available on Discord.
  • If clicking play/listen along doesn't work, try selecting a device in your Spotify client or play a song on your Spotify client so Discord knows what Spotify device you're listening on! If you are playing a game that Discord detects, the game will take precedence and Spotify won't show as your status!

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.

Discord Spotify Bot

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

Spotify Desktop App Doesn't Show On Discord Emotes

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.

Stream Spotify Discord

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 ¯_(ツ)_/¯

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

Listen, game, chat, and party all at once with Discord.

You can also see and play what your friends are listening to. You can even listen together with Listen Along (Premium only).

Get started

  1. On desktop, download the Discord app and open it.
  2. Click Connections in the menu on the left.
  3. Click Spotify.
  4. A web page will open to connect. If you’re not already logged into Spotify on the device, you’re directed to log in or sign up first.
  5. Click CONFIRM to confirm.

Once you’ve connected Spotify to your Discord account, you can choose to display what you’re listening to in real time on your profile.

To disconnect

  1. Click Connections in the menu on the left of the Discord desktop app.
  2. Click Spotify.
  3. Click X in the top left of the green box.
  4. Click Disconnect to confirm.

Listen Along

For: Premium

Turn your chat room into a party with your friends! Here’s how to listen together.

Play spotify through discord

Note: It’s not possible to Listen Along when voice chatting. Try text chatting instead.

  1. On desktop, open the Discord desktop app.
  2. Click someone that’s Listening to Spotify from your list of friends on the right.
  3. Click the Listen Along icon .

Note: If you Listen Along with a friend who has Spotify Free, you’ll hear silence when they hear adverts.