mpv/player/lua
Dudemanguy 6e4a76db08 auto_profiles: check for non-existent properties
Previously, it just silently didn't do anything which is not very
intuitive. Since the lua api returns an error string, check to see if
it matches the "property not found" case and print an error message.
Additionally, don't add the fake property to the internal
cached_properties list or try to observe it. This avoids redundant
evaluate calls which will never actually succeed. We do still mark it
under watched_properties however. This avoids having to call
mp.get_property_native multiple times.
2023-03-29 13:33:57 +00:00
..
assdraw.lua osc: improve look of seekranges 2019-09-02 01:11:04 +03:00
auto_profiles.lua auto_profiles: check for non-existent properties 2023-03-29 13:33:57 +00:00
console.lua {console,ytdl_hook}: use the platform property 2023-02-27 17:13:21 +00:00
defaults.lua lua/js: remove user-data helpers 2023-01-29 01:52:31 +02:00
options.lua options.lua: remove unused function 2022-04-08 19:20:49 +03:00
osc.lua various: fix typos 2023-03-28 19:29:44 +00:00
stats.lua various: fix typos 2023-03-28 19:29:44 +00:00
ytdl_hook.lua ytdl_hook: only log error when no fallback url available 2023-03-03 23:02:13 +00:00