osd-ext-info.lua: osd-weather modality fails with curl: (6)
osd-weather modality fails with:
[osd_ext_info] curl: (6) Could not resolve host: query.yahooapis.com [osd_ext_info] [osd_ext_info] [osd_ext_info] stack traceback: [osd_ext_info] /home/robert/.config/mpv/scripts/osd-ext-info.lua:427: in function 'osd_weather_msg' [osd_ext_info] /home/robert/.config/mpv/scripts/osd-ext-info.lua:544: in function 'fn' [osd_ext_info] mp.defaults:202: in function 'fn' [osd_ext_info] mp.defaults:60: in function 'handler' [osd_ext_info] mp.defaults:339: in function 'handler' [osd_ext_info] mp.defaults:459: in function 'call_event_handlers' [osd_ext_info] mp.defaults:493: in function 'dispatch_events' [osd_ext_info] mp.defaults:452: in function mp.defaults:451 [osd_ext_info] [C]: in ? [osd_ext_info] [C]: in ? [osd_ext_info] Lua error: /home/robert/.config/mpv/scripts/osd-ext-info.lua:427: attempt to index local 'tab' (a nil value) [osd_ext_info] Exiting...
Unfortunately as of 2019/03/02 Yahoo has retired the free public weather service (query.yahooapis.com), see details here:
To query Yahoo server an App registration is required. Every attempt to register returns "internal error":
An internal error occurred (eid 1882225).
Obviously there is no contact nor help link on the page to resolve this issue.
Hey Yahoo, Job well done !
Will try to pass app registration in next few days ... However, if anyone knows about other free public weather API service, just let me know, would like to bring back to life osd-weather modality