toby/playgrub

Unload Playgrub?

jphastings opened this issue · 0 comments

Is there any way to unload or reload the playgrub scripts etc? For AJAX powered sites (eg http://billboard.com) the playgrub bookmarklet will open up the first generated playlist rather than generating a new one.

I'm thinking I could add some code to Playgrub.source.scrape that would add Playgrub.generate_new_flag = true; to every ajax-link on the page which would get playgrub to generate a new playlist next time the bookmarklet is used. Sound reasonable? I'm not really sure how to work this into your code as I haven't been through it all yet!