[mythtv-users] MythWeather Weather Underground

Chris Porter hoodlum7 at gmail.com
Sat Oct 5 04:56:34 UTC 2013


I am still having issues getting static or animated maps from Weather
Underground.

The wunderground script returns the following

amdesc::San Diego International-Lindbergh, CA, USA Animated Radar Map
animatedimage::
http://api.wunderground.com/api/ba3ace4144b5709d/animatedradar/q/zmw%3A92140.5.99999.gif?width=1024&height=768&newmaps=1&num=6&timelabel=1&timelabel.x=10&timelabel.y=758
copyright::Weather data courtesy of Weather Underground, Inc.
copyrightlogo::http://icons.wxug.com/logos/images/wundergroundLogo_4c.jpg
updatetime::Fri Oct  4, 2013 21:18:29


if I run mythfrontend with -v none,gui.file,general I get the following as
it relates to the animated maps.

2013-10-04 21:51:55.778176 I  Starting update of wunderground-animaps
2013-10-04 21:51:55.822681 I  MythCoreContext: Connecting to backend
server: 192.168.1.10:6543 (try 1 of 1)
2013-10-04 21:51:55.827526 I  Using protocol version 77
2013-10-04 21:51:56.208347 I  MythUIHelper: LoadCacheImage(
http://api.wunderground.com/api/ba3ace4144b5709d/animatedradar/q/zmw%3A92140.5.99999.gif?width=1024&height=768&newmaps=1&num=6&timelabel=1&timelabel.x=10&timelabel.y=758,http:--api.wunderground.com-api-ba3ace4144b5709d-animatedradar-q-zmw1755A92140.5.99999.gif?width=1024&height=768&newmaps=1&num=6&timelabel=1&timelabel.x=10&timelabel.y=758--1755x720.png
)
2013-10-04 21:51:56.208642 I  MythUIHelper: LoadCacheImage(
http://api.wunderground.com/api/ba3ace4144b5709d/animatedradar/q/zmw%3A92140.5.99999.gif?width=1024&height=768&newmaps=1&num=6&timelabel=1&timelabel.x=10&timelabel.y=758,http:--api.wunderground.com-api-ba3ace4144b5709d-animatedradar-q-zmw1755A92140.5.99999.gif?width=1024&height=768&newmaps=1&num=6&timelabel=1&timelabel.x=10&timelabel.y=758--1755x720.png
)
2013-10-04 21:51:56.209110 I  MythUIHelper: LoadCacheImage(
http://api.wunderground.com/api/ba3ace4144b5709d/animatedradar/q/zmw%3A92140.5.99999.gif?width=1024&height=768&newmaps=1&num=6&timelabel=1&timelabel.x=10&timelabel.y=758,http:--api.wunderground.com-api-ba3ace4144b5709d-animatedradar-q-zmw1755A92140.5.99999.gif?width=1024&height=768&newmaps=1&num=6&timelabel=1&timelabel.x=10&timelabel.y=758--1755x720.png
)
2013-10-04 21:51:56.211557 I  MythUIHelper: LoadCacheImage(
http://icons.wxug.com/logos/images/wundergroundLogo_4c.jpg,http:--icons.wxug.com-logos-images-wundergroundLogo_4c.jpg--228x57.png
)
2013-10-04 21:51:56.211665 I  MythUIHelper: LoadCacheImage(
http://icons.wxug.com/logos/images/wundergroundLogo_4c.jpg,http:--icons.wxug.com-logos-images-wundergroundLogo_4c.jpg--228x57.png
)
2013-10-04 21:51:56.211758 I  MythUIHelper: LoadCacheImage(
http://icons.wxug.com/logos/images/wundergroundLogo_4c.jpg,http:--icons.wxug.com-logos-images-wundergroundLogo_4c.jpg--228x57.png
)

2013-10-04 21:52:29.666172 I  MythUIHelper: NOT IN RAM CACHE, Adding, and
adding to size
:http:--api.wunderground.com-api-ba3ace4144b5709d-animatedradar-q-zmw1755A92140.5.99999.gif?width=1024&height=768&newmaps=1&num=6&timelabel=1&timelabel.x=10&timelabel.y=758--1755x720.png:
:0:
2013-10-04 21:52:29.666198 I  MythUIHelper: MythUIHelper::CacheImage :
Cache Count = :150: size :1692:
2013-10-04 21:52:29.666226 I
ImageLoader::LoadImage(http:--api.wunderground.com-api-ba3ace4144b5709d-animatedradar-q-zmw1755A92140.5.99999.gif?width=1024&height=768&newmaps=1&num=6&timelabel=1&timelabel.x=10&timelabel.y=758--1755x720.png)
Found in cache, RefCount = 2
2013-10-04 21:52:29.666240 I  ImageLoader::LoadImage(
http://api.wunderground.com/api/ba3ace4144b5709d/animatedradar/q/zmw%3A92140.5.99999.gif?width=1024&height=768&newmaps=1&num=6&timelabel=1&timelabel.x=10&timelabel.y=758)
Image is NULL
2013-10-04 21:52:36.062942 I  MythUIHelper: NOT IN RAM CACHE, Adding, and
adding to size
:http:--icons.wxug.com-logos-images-wundergroundLogo_4c.jpg--228x57.png:
:21660:
2013-10-04 21:52:36.062992 I  MythUIHelper: MythUIHelper::CacheImage :
Cache Count = :151: size :1692:
2013-10-04 21:52:36.063017 I
ImageLoader::LoadImage(http:--icons.wxug.com-logos-images-wundergroundLogo_4c.jpg--228x57.png)
Found in cache, RefCount = 2

if I look in .mythtv/themecache/TintedGlass.1920.1080 I can find the
wundergroundLogo  image file. I cannot find any animated maps. I know the
URL's for the animated maps are good. If I copy and paste the URL out of
the above logs and paste them in a browser the animated map comes up for
me. My gut is telling me the function LoadImage is timing out before the
animated map is retrieved.

-- 
Working on World Domination since 2001
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://www.mythtv.org/pipermail/mythtv-users/attachments/20131004/b316df2f/attachment.html>


More information about the mythtv-users mailing list