Display your Spotify info on your hud and control your music using ingame keybinds.
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 work fine without a subscription.
http://localhost:8001/callback..minecraft/config/hudify.json.To uninstall, also be sure to also disconnect the app from https://www.spotify.com/us/account/apps
This process is very easy, only takes ~5 minutes, and does not cost any money nor require a Premium subscription. If you're still not interested, I suggest you try the mod Blockify, which doesn't require this process.
=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=
The config above produced this HUD:
!An image showing song details on Minecraft's hud
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.
Pro tip: if you like the Hudify playback control keybinds, and want them to work everywhere on your computer, check out Microsoft PowerToys. You can use Keyboard Manager to rebind unused keys to Next Track, Previous Track, and Play/Pause Media.