summary refs log tree commit diff
path: root/.config/mvi/script-opts/gallery_worker.conf
diff options
context:
space:
mode:
authorRobert Günzler <r@gnzler.io>2020-12-03 12:56:51 +0100
committerRobert Günzler <r@gnzler.io>2020-12-07 19:28:05 +0100
commit0eb11ed2c3dc235349b87d20bf657f2fb9729994 (patch)
treeceba665d591328bb47418ab82bb0de31abff98e5 /.config/mvi/script-opts/gallery_worker.conf
parente93cee56264c7e1d07b422d66430d996fd8b0c40 (diff)
Add bin/mvi and config; mpv-based image viewer
Diffstat (limited to '.config/mvi/script-opts/gallery_worker.conf')
-rw-r--r--.config/mvi/script-opts/gallery_worker.conf13
1 files changed, 13 insertions, 0 deletions
diff --git a/.config/mvi/script-opts/gallery_worker.conf b/.config/mvi/script-opts/gallery_worker.conf
new file mode 100644
index 0000000..499d25e
--- /dev/null
+++ b/.config/mvi/script-opts/gallery_worker.conf
@@ -0,0 +1,13 @@
+# accepts a |-separated list of URL patterns which gallery.lua should thumbnail using youtube-dl.
+# The patterns are matched after the http(s):// part of the URL.
+#^ matches the beginning of the URL, $ matches its end, and you should use % before any of the characters ^$()%|,.[]*+-? to match that character.
+#
+#Examples
+#  will exclude any URL that starts with http://youtube.com or https://youtube.com:
+#     ytdl_exclude=^youtube%.com
+#  will exclude any URL that ends with .mkv or .mp4:
+#     ytdl_exclude=%.mkv$|%.mp4$
+#  See more lua patterns here: https://www.lua.org/manual/5.1/manual.html#5.4.1
+#
+#See also: ytdl_hook-exclude in mpv's manpage.
+ytdl_exclude=