Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

osd-ext-info.lua: osd-weather modality fails with curl: (6) #1

Open
blue-sky-r opened this issue Feb 21, 2019 · 1 comment
Open

osd-ext-info.lua: osd-weather modality fails with curl: (6) #1

blue-sky-r opened this issue Feb 21, 2019 · 1 comment

Comments

@blue-sky-r
Copy link
Owner

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...

@blue-sky-r
Copy link
Owner Author

Unfortunately as of 2019/03/02 Yahoo has retired the free public weather service (query.yahooapis.com),
see details here:

Yahoo Weather API

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

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant