mpv-scripts
mpv-scripts copied to clipboard
visualizer conflict with search-subtitles.lua results 2x
I simply commented out these two lines and no longer get double results when searching subtitles with subtitle-search.lua
in visualizer.lua --mp.observe_property("current-tracks/audio", "native", visualizer_hook) --mp.observe_property("current-tracks/video", "native", visualizer_hook)
https://github.com/zenwarr/mpv-config/blob/master/scripts/subtitle-search.lua
I'm sure it's somehow loading double tracks somehow..probably related to this stuff in the manual --track-auto-selection=<yes|no>
Enable the default track auto-selection (default: yes).
Enabling this will make the player select streams according to --aid, --alang, and others.
If it is disabled, no tracks are selected.
In addition, the player will not exit if no tracks are selected,
and wait instead (this wait mode is similar to pausing, but the pause option is not set).
This is useful with --lavfi-complex: you can start playback in this mode,
and then set select tracks at runtime by setting the filter graph.
Note that if --lavfi-complex is set before playback is started, the referenced tracks are always selected.