scrobble your tracks from youtube music
readme.md | ||
script.js |
youtube music scrobbler for antisocial.moe
so i made this script that scrobbles your youtube music plays to my blog, antisocial.moe. not sure if anyone else will use it, but whatever.
installation
- install tampermonkey, violentmonkey, or any userscript manager.
- create a new script and paste in the code from the script file.
- save it.
setup
you need to set your AUTH_KEY
for it to work.
- after installing the script, click on the userscript manager icon (it's probably in your browser toolbar).
- find the script (probably called "antisocial.moe - youtube music scrobbler").
- click on "Set antisocial.moe Auth Key" in the menu.
- enter your
AUTH_KEY
. if you don't have one, well, i guess you need to get one somehow.
usage
just play music on youtube music, and it'll scrobble the songs to antisocial.moe after they've been playing for 10 seconds. if you skip songs before 10 seconds, it won't scrobble them.
notes
- only scrobbles when the song is playing.
- waits 10 seconds before scrobbling to avoid spamming with skipped tracks.
- if it's not working, check the console for errors. maybe i screwed something up.
- probably needs more testing, but it works for me.