Host your Minecraft server on BisectHosting - get 25% off your first month with code MODRINTH.

Note:

I've been getting burnt from Minecraft, and updating my projects has fallen lower on my priority list. I designed them with forward compatibility in mind, so there's a good chance the old project version will work on newer MC versions. If that doesn't work, and you really want an updated version, shoot me an email at lightningtow.games@gmail.com and I can get it updated for you.

Hudify - A Spotify integration for CustomHud

Modrinth GitHub

Display your Spotify info on your hud and control your music using ingame keybinds.

Requires CustomHud. Please read the installation instructions below!

Installation

You'll need to create a Spotify developer app to use this mod.
Why? In short, because it's easier for everyone. Since Spotify's API ratelimits are per app, not per user, if everyone has their own app, Hudify can poll the API much more frequently without worrying about hitting ratelimits. This allows Hudify to display far more accurate info, with much less risk of getting desynchronized.

Note: Playback controls are locked behind a Spotify Premium subscription, which is out of my control.
The CustomHud variables should work fine without a subscription.

Installation instructions:

  1. Create a Spotify app according to this.
  2. Set your app name and description to anything you want, and be sure to set your Redirect URI to http://localhost:8001/callback.
  3. Get your Client ID from your newly created app
  4. Put your Client ID in Hudify's config, via ModMenu.
  5. Press a Hudify hotkey to initialize, and that's it!. No need to request an access token or anything else, because Hudify takes care of that for you.

To uninstall, also be sure to also disconnect the app from https://www.spotify.com/us/account/apps

See the GitHub page for a list of CustomHud variables added. This is how you display the info on your hud.

Example CustomHud Config:

=if: sp_track=
{sp_track}
{sp_album}
{sp_artists}
{sp_progress} / {sp_duration}
{{sp_context_name, "Playing from {sp_context_name} ({sp_context_type})"}}

Shuffle: {sp_shuffle}
Repeat: {sp_repeat}

{{sp_message, "{sp_msg} {sp_msg_dur}"}}
=endif=

Credit:

A huge thank you to erruqie's Blockify and Jakob's CustomHud for their fantastic work, this wouldn't have been possible without them.

Disclaimer:

This project is not affiliated with or endorsed by Spotify, Blockify, or CustomHud.


Project members

Lightningtow

Member


Technical information

License
CC0-1.0
Client side
required
Server side
unsupported
Project ID