about summary refs log tree commit diff stats
diff options
context:
space:
mode:
authorBenedikt Peetz <benedikt.peetz@b-peetz.de>2024-08-23 14:09:41 +0200
committerBenedikt Peetz <benedikt.peetz@b-peetz.de>2024-08-23 14:12:20 +0200
commitd78f57a5b3ae5af7e5711f7d050dfb6f9c6057b3 (patch)
treef47d2d8634a29e26561f33300529e3a35a8fdfee
parentfix(cli/verbosity): Simplify setting the default level (diff)
downloadyt-d78f57a5b3ae5af7e5711f7d050dfb6f9c6057b3.tar.gz
yt-d78f57a5b3ae5af7e5711f7d050dfb6f9c6057b3.zip
docs(config): Add an example configuration file
-rw-r--r--contrib/config.toml29
1 files changed, 29 insertions, 0 deletions
diff --git a/contrib/config.toml b/contrib/config.toml
new file mode 100644
index 0000000..45c8b2b
--- /dev/null
+++ b/contrib/config.toml
@@ -0,0 +1,29 @@
+# yt - A fully featured command line YouTube client
+#
+# Copyright (C) 2024 Benedikt Peetz <benedikt.peetz@b-peetz.de>
+# SPDX-License-Identifier: GPL-3.0-or-later
+#
+# This file is part of Yt.
+#
+# You should have received a copy of the License along with this program.
+# If not, see <https://www.gnu.org/licenses/gpl-3.0.txt>.
+
+[select]
+playback_speed = 2.7
+subtitle_langs = ""
+
+[watch]
+local_comments_length = 1000
+
+[paths]
+download_dir = "/tmp/yt"
+mpv_config_path = "./contrib/mpv.conf"
+mpv_info_path = "./contrib/mpv.info.conf"
+database_path = "./target/database.sql"
+last_selection_path = "./target/last_selection.sql"
+
+[download]
+max_cache_size = "1B"
+
+[update]
+max_backlog = 1