Bug #306
closedClear weather wont show icon
0%
Description
when it presents Clear in my Weather my icons wont I tried other changing my Weather to realistic but still same thing also different skins.
this started with 3.5.2 and I had updated to 3.5.3 and now use 3.5.4 with same issue.
i already tired to reinstall xbmc4xbox and got newest weather same issue conintues.
heres my log
http://pastebin.com/Q5h9bkzG
thank you guys :)
Files
Updated by brentdc42 over 10 years ago
- File xmlcomparison.jpg xmlcomparison.jpg added
- File Weather.cpp.patch Weather.cpp.patch added
I found that the API has changed so the XML no longer returns the string "N/A" it now returns nothing i.e. "" (XML comparison pic attached). So with a very simple change the weather icon for N/A is now working fine for me.
GetString(pElement, "icon", iTmpStr, "");
if (iTmpStr "")
// if (iTmpStr "N/A")
m_currentIcon.Format("%s128x128/na.png", WEATHER_BASE_PATH);
Updated by brentdc42 over 10 years ago
By the way I'm referring to the <icon></icon> field in the XML, not the <t></t> field. So I guess that means that the icon field used to return <icon>N/A</icon> as well.
Updated by brentdc42 over 10 years ago
- File screenshot001.jpg screenshot001.jpg added
Updated by buzz over 10 years ago
- Category set to Weather forecasts
- Status changed from New to Closed
- Assignee set to buzz
- Target version set to 3.5
- Resolution set to fixed
- Affected Version changed from 3.3.2 to 3.5
Thanks brentdc42. Your fix has been applied in r32871.