question-mark
Stuck on an issue?

Lightrun Answers was designed to reduce the constant googling that comes with debugging 3rd party libraries. It collects links to all the places you might be looking at while hunting down a tough bug.

And, if you’re still stuck at the end, we’re happy to hop on a call to see how we can help out.

Can't get YouTube scrobbling working?

See original GitHub issue

Expected behavior

Scrobble YouTube music videos to Last.FM

Current behavior

Icon says “This site is supported for scrobbling” but nothing happens?

Possible solution

Steps to reproduce (for bugs)

chrome.storage.local = {"Core":{"appVersion":"1.52.1"},"LastFM":{"sessionID":null,"token":null}}
core/background/services/lastfm.js:52 [Deprecation] Synchronous XMLHttpRequest on the main thread is deprecated because of its detrimental effects to the end user's experience. For more help, check https://xhr.spec.whatwg.org/.
getAuthUrl @ core/background/services/lastfm.js:52
core/background/services/lastfm.js:56 getToken response: <?xml version="1.0" encoding="UTF-8"?>
<lfm status="ok">
  <token>djOGx9yE-iEU57Xq8eK5pfVPQPuMDltw</token>
</lfm>

core/background/notifications.js:163 Notification onClicked: aae1f339-f927-46a4-a11d-18abcb981375
inject.js:79 -- loaded for the first time, injecting the scripts
inject.js:107 	injecting vendor/jquery-2.1.0.min.js
inject.js:107 	injecting vendor/underscore-min.js
inject.js:107 	injecting core/content/reactor.js
inject.js:107 	injecting core/content/connector.js
inject.js:107 	injecting connectors/v2/youtube.js
inject.js:107 	injecting core/content/starter.js
controller.js:320 Tab 932: created controller for connector: {"label":"YouTube","matches":["*://www.youtube.com/watch*","*://www.youtube.com/user/*"],"js":["connectors/v2/youtube.js"],"version":2}
inject.js:79 -- loaded for the first time, injecting the scripts
inject.js:107 	injecting vendor/jquery-2.1.0.min.js
inject.js:107 	injecting vendor/underscore-min.js
inject.js:107 	injecting core/content/reactor.js
inject.js:107 	injecting core/content/connector.js
inject.js:107 	injecting connectors/v2/youtube.js
inject.js:107 	injecting core/content/starter.js
controller.js:320 Tab 932: created controller for connector: {"label":"YouTube","matches":["*://www.youtube.com/watch*","*://www.youtube.com/user/*"],"js":["connectors/v2/youtube.js"],"version":2}
3inject.js:120 -- subsequent ajax navigation, the scripts are already injected
main.js:97 Missing controller for tab 932 (should only happen for legacy connector)
getControllerByTabId @ main.js:97
_generated_background_page.html:1 Error in event handler for runtime.onMessage: TypeError: Cannot read property 'onStateChanged' of undefined
    at chrome-extension://pncfaijgefbolbapchmpkfkjpgjelclh/core/background/main.js:145:10
inject.js:79 -- loaded for the first time, injecting the scripts
inject.js:107 	injecting vendor/jquery-2.1.0.min.js
inject.js:107 	injecting vendor/underscore-min.js
inject.js:107 	injecting core/content/reactor.js
inject.js:107 	injecting core/content/connector.js
inject.js:107 	injecting connectors/v2/youtube.js
inject.js:107 	injecting core/content/starter.js
controller.js:320 Tab 932: created controller for connector: {"label":"YouTube","matches":["*://www.youtube.com/watch*","*://www.youtube.com/user/*"],"js":["connectors/v2/youtube.js"],"version":2}
core/background/notifications.js:163 Notification onClicked: caaaa785-9462-47eb-a539-a2606e7a1075
inject.js:79 -- loaded for the first time, injecting the scripts
inject.js:107 	injecting vendor/jquery-2.1.0.min.js
inject.js:107 	injecting vendor/underscore-min.js
inject.js:107 	injecting core/content/reactor.js
inject.js:107 	injecting core/content/connector.js
inject.js:107 	injecting connectors/v2/youtube.js
inject.js:107 	injecting core/content/starter.js
controller.js:320 Tab 932: created controller for connector: {"label":"YouTube","matches":["*://www.youtube.com/watch*","*://www.youtube.com/user/*"],"js":["connectors/v2/youtube.js"],"version":2}

Context

Steps for resolving the issue

  • Reauthenticate on Last.fm
  • Try to use unpacked extension from latest master
  • Check other issues for duplicates

Environment

  • Version used:
  • Browser name and version:

Issue Analytics

  • State:closed
  • Created 5 years ago
  • Reactions:2
  • Comments:14 (2 by maintainers)

github_iconTop GitHub Comments

2reactions
XenHatcommented, Aug 31, 2018

In extreme cases, it might be necessary to disable both category restrictions and/or force track recognition. It didn’t work until I performed these changes:

image

1reaction
musictilldeathcommented, Aug 29, 2018

I have the same problem, nothing helps

Read more comments on GitHub >

github_iconTop Results From Across the Web

Scrobbling Youtube won't work? : r/lastfm - Reddit
Scroblr works fine on plug.dj though... I use this for Youtube scrobbling. the scroblr extension works for me on Youtube, it just sucks...
Read more >
Last.fm Scrobbler for YouTube™
This extension seemingly scrobble watched YouTube videos to the "Last.fm" service without visiting the site. Automatic scrobbling takes ...
Read more >
Web Scrobbler — Scrobble music all around the web!
Web Scrobbler is a browser extension created for people who listen to music online through their browser, and would like to keep an...
Read more >
Last.fm - Apps on Google Play
Your stats. On the Go. Make listening count with the Last.fm App. Track the music you stream and access personalized listening reports, stats,...
Read more >
Last.fm Scrobbler for YouTube™ - Microsoft Edge Addons
Scrobbling YouTube music videos to Last.fm with support for chapters/tracks. ... the track name or artist name (if the song doesn't get recognized)...
Read more >

github_iconTop Related Medium Post

No results found

github_iconTop Related StackOverflow Question

No results found

github_iconTroubleshoot Live Code

Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free

github_iconTop Related Reddit Thread

No results found

github_iconTop Related Hackernoon Post

No results found

github_iconTop Related Tweet

No results found

github_iconTop Related Dev.to Post

No results found

github_iconTop Related Hashnode Post

No results found