Play music from Spotify, YouTube & Apple Music while you race on Nitro Type. Paste any playlist, album, or track URL — playback is bridged through YouTube with album art, shuffle, session resume, and more.
Play music from Spotify, YouTube, and Apple Music while you race on Nitro Type. Paste any playlist, album, or track URL and the script handles the rest — no accounts, logins, or API keys required.
The script adds a custom music station to Nitro Type's existing music selector. Select it, paste a URL, and your music plays through YouTube in the background while you race.
Spotify and Apple Music tracks are automatically matched to YouTube equivalents using a multi-source search pipeline that strongly prefers studio-quality audio, especially Topic-channel results when available.
| Platform | Tracks | Albums | Playlists |
|---|---|---|---|
| Spotify | ✅ | ✅ | ✅ |
| YouTube | ✅ | ✅ | ✅ |
| Apple Music | ✅ | ✅ | ✅ |
Your playback session is saved as you listen. When you enter a new race or refresh the page, the script restores the same track, position, and shuffle state.
When playing from Spotify or Apple Music, the script searches for the best YouTube match using multiple sources:
Matches are ranked using channel quality, title similarity, artist match, and duration accuracy. Resolved video IDs are cached locally so repeat plays load much faster.
The player integrates directly into Nitro Type’s built-in music selector. Your custom station appears alongside the native stations with matching inline controls.
Brief, non-intrusive notifications appear for key events like shuffle changes, source loads, and playback errors.
When installed alongside Nitro Type - Mod Menu, player settings are available from /settings/mods.
To change your source, open the link input again and paste a new URL. To stop playback completely, use Clear.
Open your browser console and use any of these:
| Command | Description |
|---|---|
NTMusic.queue() |
Print the full queue with the current track highlighted |
NTMusic.now() |
Print the current track, playback position, and YouTube video ID |
NTMusic.status() |
Print version, active state, queue size, playback mode, and debug status |
NTMusic.debug() |
Toggle verbose debug logging |
NTMusic.debug(true) |
Enable verbose debug logging |
NTMusic.debug(false) |
Disable verbose debug logging |
The script makes direct requests to services needed to fetch source metadata and resolve YouTube playback candidates, including:
open.spotify.com / api.spotify.comwww.youtube.com / music.youtube.comwww.google.comnoembed.comitunes.apple.com / music.apple.comThese requests are used only to read public track, playlist, and search data needed for playback. Preferences, cached matches, and session state are stored locally through your userscript manager and browser storage.
Music doesn't start playing?
Wrong song is playing?
Playlist won't load?