david-sabata/web-scrobbler — pull request #422 by dgw (2014-07-07 04:13:31+00:00)
Title: Fix bug with Plex connector not detecting playback

I noticed that playing music from my Plex server, though the icon in my browser showed
that the site (my PMS instance) is supported for scrobbling, no playback notifications
ever appeared. I did a little digging and discovered that .live() is deprecated in
latest jQuery; we should use .on() instead (or .delegate(), if absolutely necessary).

In fact, testing $('div#plex.application').live(); in the JS console with my Plex server
open and the scrobbler icon active in my location bar returned a TypeError: undefined is
not a function. However, $('dig#plex.application').on(); works fine.

Granted, I don't know enough about building Chrome extensions to actually package this
and test it myself, but having a patch available is still a step toward fixing an issue.