From d78f57a5b3ae5af7e5711f7d050dfb6f9c6057b3 Mon Sep 17 00:00:00 2001 From: Benedikt Peetz Date: Fri, 23 Aug 2024 14:09:41 +0200 Subject: docs(config): Add an example configuration file --- contrib/config.toml | 29 +++++++++++++++++++++++++++++ 1 file changed, 29 insertions(+) create mode 100644 contrib/config.toml 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 +# 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 . + +[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 -- cgit 1.4.1