diff options
-rw-r--r-- | hm/soispha/conf/ytcc/default.nix | 2 | ||||
-rw-r--r-- | hm/soispha/conf/ytcc/ytcc.conf | 3 |
2 files changed, 3 insertions, 2 deletions
diff --git a/hm/soispha/conf/ytcc/default.nix b/hm/soispha/conf/ytcc/default.nix index 0a336be5..87300ec1 100644 --- a/hm/soispha/conf/ytcc/default.nix +++ b/hm/soispha/conf/ytcc/default.nix @@ -5,7 +5,7 @@ }: { xdg.configFile."ytcc/ytcc.conf".source = pkgs.substituteAll { src = ./ytcc.conf; - xdg_download_dir = config.xdg.userDirs.download; + download_dir = "${config.xdg.userDirs.download}/ytcc"; xdg_data_home = config.xdg.dataHome; }; } diff --git a/hm/soispha/conf/ytcc/ytcc.conf b/hm/soispha/conf/ytcc/ytcc.conf index 8f1b2388..513418ca 100644 --- a/hm/soispha/conf/ytcc/ytcc.conf +++ b/hm/soispha/conf/ytcc/ytcc.conf @@ -1,7 +1,8 @@ [ytcc] -download_dir = @xdg_download_dir@ +download_dir = @download_dir@ download_subdirs = false mpv_flags = --really-quiet --ytdl --ytdl-format=bestvideo[height<=?1080]+bestaudio/best --speed=2.7 +download_subdirs = true order_by = playlists:asc, publish_date:desc video_attrs = id, title, publish_date, duration, playlists playlist_attrs = name, url, tags, reverse |