plexinc-plugins/GiantBomb.bundle — pull request #9 by FodderMK (2014-04-04 06:29:14+00:00)
Title: Link codes expire, api_key needs to be passed to the URL plugin from GiantBomb.bundle

Trying this again.

As far as I can tell the link code generated from http://www.giantbomb.com/plex expires after a few hours. This prevents the GiantBomb plugin setup from working in a desired way. In order to correct the issue the URL plugin needs to get the API key from this bundle (because afaict there's no way for the URL plugin to get the cached API key from Dict). This is a two-part change.

1. GiantBomb.bundle needs to be modified to send the cached API key with the URL
2. The GiantBomb URL service plugin needs to extract and use the API key from the sent URL instead of trying to generate one from the preferences link code.

I have made the appropriate pull requests on both projects. Unfortunately the changes to one break compatibility with the old version of the code in the other and vise-versa so the pull requests would need to be accepted at the same time.