Skip to content

Option to ignore certain media types (e.g. pictures, audio) - #14

Open
bernd32 wants to merge 3 commits into
hacel:masterfrom
bernd32:master
Open

Option to ignore certain media types (e.g. pictures, audio)#14
bernd32 wants to merge 3 commits into
hacel:masterfrom
bernd32:master

Conversation

@bernd32

@bernd32 bernd32 commented Mar 30, 2023

Copy link
Copy Markdown

Added option to ignore certain media types (e.g. pictures, audio)

@dyphire

dyphire commented Jun 10, 2024

Copy link
Copy Markdown
Collaborator

Now you can do it through auto-profile in mpv.conf.

[recent]
profile-desc=only save videos records
profile-cond=(aid and (not vid or get("current-tracks/video/albumart"))) or (vid and not get("current-tracks/video/albumart") and estimated_frame_count <= 1)
profile-restore=copy
script-opts-add=recent-auto_save=no

In this way it is also possible to ignore a specific directory:

[recent]
profile-cond=path:find("testpath")~=nil or path:find("testdir")~=nil
profile-restore=copy
script-opts-add=recent-auto_save=no

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants