khloke/play-to-xbmc-chrome — pull request #5 by markcunninghamgit (2013-07-06 02:12:35+00:00)
Title: Youtube playlist only page will now add videos (not only when you're viewing a video in that playlist)

Not sure how you wanted your url variables to be used to I fixed it closest to the url parsing as I could.

You mistook the full url to be a url of just the search parameters, causing the first parameter checked to always fail (splitting the whole url with & which leads to the first param being http://bla... etc).

In a page like this http://www.youtube.com/playlist?list=PLF8274AC20DA0CA18, it means it won't trigger.

Second, even if it did, the button would work but style would keep it looking greyed out so i changed the parent
element to become non disabled as well.

Additionally, sort of in relation to this bug, chrome.tabs.getselected is deprecated. It still works for the time being however