I am just noticing on their index page "<PARAM NAME=movie VALUE="https://www.pandora.com:443/radio/tuner_8_4_0_0_pandora.swf">". That would be really easy to grab, and that page is only 16k, which I imagine is small compared to the applet itself. I would be happy to implement this feature if anyone thinks it is useful, grabbing the URL on startup of the applet (not each time it is clicked).
Another option could be to host a small text file with the URL in it (does Launchpad allow for this?) and grab that in the applet instead of hardcoding the URL. Maybe even scrape it from a moderated wiki page. Then we can just change that and a new version doesn't need to issued.
A THIRD idea would be to have the URL in a config file, as moonbeam suggested. Then we could wrap the swf grab in a try and if it fails, grab it from pandora.com and write the new one out. That seems like the best of both worlds because it is not hitting any other site normally, except when the URL changes, and then it writes that as the new config value.
I am just noticing on their index page "<PARAM NAME=movie VALUE="https:/ /www.pandora. com:443/ radio/tuner_ 8_4_0_0_ pandora. swf">". That would be really easy to grab, and that page is only 16k, which I imagine is small compared to the applet itself. I would be happy to implement this feature if anyone thinks it is useful, grabbing the URL on startup of the applet (not each time it is clicked).
Another option could be to host a small text file with the URL in it (does Launchpad allow for this?) and grab that in the applet instead of hardcoding the URL. Maybe even scrape it from a moderated wiki page. Then we can just change that and a new version doesn't need to issued.
A THIRD idea would be to have the URL in a config file, as moonbeam suggested. Then we could wrap the swf grab in a try and if it fails, grab it from pandora.com and write the new one out. That seems like the best of both worlds because it is not hitting any other site normally, except when the URL changes, and then it writes that as the new config value.
Any thoughts?