Add WFMU Radio current songs playing and favorites to Last.fm account
WFMU Radio to Last.fm Extension
This extension allows WFMU radio listeners to track what they are listening to. It sends currently playing song info to the recent tracks played in their last.fm account. The user can also favorite songs on WFMU playlists and those will be added to their loved tracks in their last.fm account.
The extension can track what is being listened to on these sites:
https://wfmu.org/listen-live/
https://www.radiorethink.com/tuner/index.cfm?stationCode=wfmu
https://tunein.com/radio/WFMU-911-s28808/
https://www.radio.net/s/wfmu
https://onlineradiobox.com/us/wfmu/?cs=us.wfmu
And on the WFMU page with the currently playing playlist (playlist and comments)
The listener can create last.fm credentials in their last.fm account to get an API key and secret. There will be prompts in the extension pop-up that allows them to do so. The link and required field info are provided in the pop-up to facilitate it.
The extension uses last.fm's api love.track and scrobble.track methods to accomplish its functionality.
Read more
The extension can track what is being listened to on these sites:
https://wfmu.org/listen-live/
https://www.radiorethink.com/tuner/index.cfm?stationCode=wfmu
https://tunein.com/radio/WFMU-911-s28808/
https://www.radio.net/s/wfmu
https://onlineradiobox.com/us/wfmu/?cs=us.wfmu
And on the WFMU page with the currently playing playlist (playlist and comments)
The listener can create last.fm credentials in their last.fm account to get an API key and secret. There will be prompts in the extension pop-up that allows them to do so. The link and required field info are provided in the pop-up to facilitate it.
The extension uses last.fm's api love.track and scrobble.track methods to accomplish its functionality.
Source Manifest.json
{"update_url": "https://clients2.google.com/service/update2/crx",\t"name": "WFMU Radio to Last.fm",\t"description": "Add WFMU Radio current songs playing and favorites to Last.fm account",\t"version": "1",\t"manifest_version": 3,\t"background": {\t\t"service_worker": "background.js"\t},\t"permissions": ["storage", "notifications"],\t"action": {\t\t"default_popup": "popup.html",\t\t"default_icon": {\t\t\t"16": "/images/radio_16px.png",\t\t\t"32": "/images/radio_32px.png",\t\t\t"48": "/images/radio_48px.png",\t\t\t"128": "/images/radio_128px.png"\t\t}\t},\t"content_scripts": [\t\t{\t\t\t"matches": ["https://*.wfmu.org/playlists/shows/*"],\t\t\t"js": ["scrobble.js", "MD5.js"]\t\t},\t\t{\t\t\t"matches": [\t\t\t\t"https://*.wfmu.org/listen-live/*",\t\t\t\t"https://tunein.com/radio/WFMU-911-s28808/",\t\t\t\t"https://*.radio.net/s/wfmu",\t\t\t\t"https://onlineradiobox.com/us/wfmu/?cs=us.wfmu*",\t\t\t\t"https://*.radiorethink.com/tuner/index.cfm?stationCode=wfmu*"\t\t\t],\t\t\t"js": ["wfmuPlayRadioApi.js", "MD5.js"]\t\t},\t\t{\t\t\t"matches": ["https://*.last.fm/api/auth?token*"],\t\t\t"js": ["lastFmGetToken.js", "MD5.js"]\t\t}\t]}
Read more