From d07d613b76e287c518121fd855ff7689ff077a9a Mon Sep 17 00:00:00 2001 From: Phantop Date: Fri, 9 Oct 2020 12:43:52 -0400 Subject: [PATCH] Podsync: add config and load from ~/Videos --- .config/nvim/autoload/vim-plug | 2 +- .config/podsync.toml | 36 ++++++++++++++++++++++++++++++++++ .config/qutebrowser/config.py | 4 ++-- .local/bin/podsync | 4 ++-- .setup | 2 +- 5 files changed, 42 insertions(+), 6 deletions(-) create mode 100755 .config/podsync.toml diff --git a/.config/nvim/autoload/vim-plug b/.config/nvim/autoload/vim-plug index 13ea184..d16273e 160000 --- a/.config/nvim/autoload/vim-plug +++ b/.config/nvim/autoload/vim-plug @@ -1 +1 @@ -Subproject commit 13ea184015c30be5160ae285aedc0eaec0c72e6c +Subproject commit d16273e07231260e02412625f98651bc6ceebb56 diff --git a/.config/podsync.toml b/.config/podsync.toml new file mode 100755 index 0000000..0f3c642 --- /dev/null +++ b/.config/podsync.toml @@ -0,0 +1,36 @@ +[server] +port = 2020 +hostname = "aperture.local:2020" +data_dir = "/home/glados/Videos/YouTube" + +[tokens] +youtube = "" + +[feeds] + [feeds.Fullsauce] + url = "https://www.youtube.com/channel/UC2_IYqb1Tc_8Azh7rByedPA" + page_size = 8 # The number of episodes to query each update (keep in mind, that this might drain API token) + update_period = "10m" # How often query for updates, examples: "60m", "4h", "2h45m" + quality = "high" # or "low" + format = "video" # or "audio" + max_height = 480 + clean = { keep_last = 6 } + filters = { not_title = "Vinesauce Art Corner"} + + [feeds.CrowVOD] + url = "https://www.youtube.com/channel/UCJDDY5VgK2jN5MFK3fHIMbA" + page_size = 3 # The number of episodes to query each update (keep in mind, that this might drain API token) + update_period = "10m" # How often query for updates, examples: "60m", "4h", "2h45m" + quality = "high" # or "low" + format = "video" # or "audio" + max_height = 480 + clean = { keep_last = 3 } + + [feeds.VargFull] + url = "https://www.youtube.com/channel/UCRNCUBq676nUhXyy8AJzD5w" + page_size = 3 # The number of episodes to query each update (keep in mind, that this might drain API token) + update_period = "10m" # How often query for updates, examples: "60m", "4h", "2h45m" + quality = "high" # or "low" + format = "video" # or "audio" + max_height = 480 + clean = { keep_last = 3 } diff --git a/.config/qutebrowser/config.py b/.config/qutebrowser/config.py index dd58aa8..7246a01 100644 --- a/.config/qutebrowser/config.py +++ b/.config/qutebrowser/config.py @@ -1,4 +1,4 @@ -invid = 'invidious.tube' +invid = 'www.invidious.tube' nittr = 'nitter.snopyta.org' # bindings @@ -45,10 +45,10 @@ c.url.open_base_url = True c.tabs.background = True c.content.dns_prefetch = True c.confirm_quit = ["downloads"] +c.scrolling.smooth = True c.content.user_stylesheets = ["normalize/normalize.css"] -c.content.host_blocking.lists.append("https://raw.githubusercontent.com/StevenBlack/hosts/master/hosts") c.content.host_blocking.lists.append("https://raw.githubusercontent.com/jmdugan/blocklists/master/corporations/facebook/all") c.content.host_blocking.lists.append("https://raw.githubusercontent.com/jmdugan/blocklists/master/corporations/microsoft/all") c.content.host_blocking.lists.append("https://github.com/Perflyst/PiHoleBlocklist/raw/master/AmazonFireTV.txt") diff --git a/.local/bin/podsync b/.local/bin/podsync index 2a69531..e96b02d 100755 --- a/.local/bin/podsync +++ b/.local/bin/podsync @@ -1,8 +1,8 @@ #!/bin/bash -cd $D/Videos/YouTube/ +cd ~/Videos/YouTube/ #for f in */*.mp4; do # grep -q "$f" *.xml || rm "$f" #done -tmux new -s 1 -d "podsync-bin --no-banner -c $D/Videos/YouTube/config.toml" +tmux new -s 1 -d "podsync-bin --no-banner" diff --git a/.setup b/.setup index 49aeff0..d42e12b 100755 --- a/.setup +++ b/.setup @@ -2,7 +2,7 @@ sudo eopkg it -c system.devel sudo eopkg rm celluloid gnome-mpv gnome-terminal libreoffice-common mate-terminal nautilus rhythmbox -desktop="audacity caja feh gmic-gimp goverlay keepassx kitty mpv qbittorrent quodlibet qutebrowser rofi spek viewnior zathura-poppler" +desktop="audacity caja feh gmic-gimp goverlay keepassx kitty libstrangle mpv qbittorrent quodlibet qutebrowser rofi spek viewnior zathura-poppler" terminal="advancecomp aria2 autojump busybox fd fish git-extras innoextract jq libva-utils most ncdu neovim pip ripgrep solbuild-config-local-unstable speedtest-cli stow" sudo eopkg it $desktop $terminal sudo pip3 install --upgrade qutebrowser