mirror of
https://github.com/mpv-player/mpv.git
synced 2026-05-07 20:02:49 +00:00
d2e3fd9383
This increases the priority from 50 (which is neutral) to ensure that profiles are applied before other scripts. In general, applying profiles before other scripts makes sense. This was already the case for external scripts with default priority because they would load after auto_profiles. This commit primarily fixes ytdl_hook.lua to respond to profile changes. In most cases, profile conditions are triggered by external conditions, not the output from the ytdl hook, so this is fine. I acknowledge that this will change the order if a script previously had a priority lower than 50. However, injecting itself before profiles are evaluated is a very obscure use case, if there is even a valid one.
2 lines
48 B
Plaintext
2 lines
48 B
Plaintext
Change auto profiles hook priority from 50 to 5
|