mockturtl / cinnamon-weather

DEPRECATED. Use linuxmint/cinnamon-spices-applets instead.
https://cinnamon-spices.linuxmint.com/applets/view/17
28 stars 35 forks source link

A "band aid" for unreliable weather data #131

Closed ccprog closed 8 years ago

ccprog commented 8 years ago

In answer to mockturtl/cinnamon-weather#127, here is a proposal for a temporary measure. It is not really a patch, but at least would make the user experience smoother.

  1. Reject outdated weather data from Yahoo weather (i. e. older than 3 hours) and step up refresh rate to 30 seconds until valid data are found
  2. Log selection progress
  3. Disclose weather data production time to end user

Unfortunately the recursion code had to be reworked for the step-up to work.

mockturtl commented 8 years ago

@ccprog Heroic effort, thanks!

Let's keep an eye on Yahoo, and see if the problem has cleared up.

mockturtl commented 8 years ago

Per #127, I think this is resolved. @ccprog Thank you again for your help.