detuur / mpv-scripts

This is a collection of my own mpv scripts.
MIT License
54 stars 9 forks source link

skiptosilence: create and remove filters on the fly #7

Closed microraptor closed 2 years ago

microraptor commented 2 years ago

Audio and video filters are now only created when a skip is started and deleted afterwards, instead of disabling them. I believe there is no difference in performance. A major advantage is that the filters don't show up on the stats page or anywhere else, which can be annoying or confusing, for people using the skip function only occasionally.

The filter creation and removal method has been changed as well, which simplifies the code a lot.

A log message has been added as well.

detuur commented 2 years ago

A net improvement, thank you very much.