mpv/player
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
..
javascript lua/js: remove user-data helpers 2023-01-29 01:52:31 +02:00
lua auto_profiles: check for non-existent properties 2023-03-29 13:33:57 +00:00
audio.c audio: remove a duplicate clearing of a struct variable 2023-02-27 17:02:19 +00:00
client.c client API: reintroduce CONF_TYPE_FLAG for type conversion 2023-02-27 11:21:49 +01:00
client.h
command.c player: set playlist title to media title if not set already 2023-03-24 02:28:49 +00:00
command.h player: make deprecated track/chapter/metadata events internal 2021-12-15 12:29:10 +01:00
configfiles.c various: drop unused #include "config.h" 2023-02-20 14:21:18 +00:00
core.h loadfile: report hls_bitrate and program_id in struct track 2023-03-03 23:54:46 -06:00
external_files.c external_files: recognize jxl and avif files as cover art 2023-02-27 17:50:46 +00:00
external_files.h
javascript.c various: fix warning -Wimplicit-const-int-float-conversion 2023-02-26 16:45:07 +01:00
loadfile.c loadfile: strongly prefer that all streams are from the same program 2023-03-03 23:54:46 -06:00
lua.c various: fix various typos in the code base 2023-03-28 19:29:44 +00:00
main.c player: remove unittest option 2023-03-02 15:45:27 +00:00
misc.c vo_wayland: fix warning -Wvoid-pointer-to-enum-cast 2023-02-26 16:45:07 +01:00
osd.c various: drop unused #include "config.h" 2023-02-20 14:21:18 +00:00
playloop.c various: drop unused #include "config.h" 2023-02-20 14:21:18 +00:00
screenshot.c player/screenshot: add filename return field 2023-03-25 16:24:21 +00:00
screenshot.h
scripting.c
sub.c various: drop unused #include "config.h" 2023-02-20 14:21:18 +00:00
video.c various: fix typos 2023-03-28 19:29:44 +00:00