NTS Radio Scrobbler for Teal.fm#
A Chrome extension that scrobbles NTS Radio tracks to Teal.fm on the AT Protocol.
NOTE: You need to be an NTS Radio supporter to access the current track/tracklist.
Features#
- Automatically detects currently playing tracks on NTS Radio
- Posts track info to your Bluesky feed
- Auto-scrobble toggle
- Secure authentication with Bluesky
Installation#
- Clone this repository
- Open Chrome and navigate to
chrome://extensions/ - Enable "Developer mode" in the top right
- Click "Load unpacked" and select this directory
- Create placeholder icons in an
icons/directory (16x16, 48x48, 128x128 PNG files)
Usage#
- Click the extension icon to open the popup
- Log in with your Bluesky handle/email and password
- Visit nts.live and start listening
- Tracks will automatically be scrobbled to your Bluesky feed
Setup Icons#
Before loading the extension, create an icons/ directory with three PNG files:
icon16.png(16x16)icon48.png(48x48)icon128.png(128x128)
Development#
The extension consists of:
manifest.json- Extension configurationcontent.js- Scrapes track info from NTS Radiobackground.js- Service worker handling scrobbling logicatproto.js- AT Protocol clientpopup.html/js- Authentication and settings UI
Notes#
- The content script may need adjustments if NTS Radio changes their website structure
- Session tokens are stored locally and refreshed automatically
- Only works on nts.live domains