Podsync: add config and load from ~/Videos

This commit is contained in:
Phantop 2020-10-09 12:43:52 -04:00
parent bce30f2661
commit d07d613b76
5 changed files with 42 additions and 6 deletions

@ -1 +1 @@
Subproject commit 13ea184015c30be5160ae285aedc0eaec0c72e6c
Subproject commit d16273e07231260e02412625f98651bc6ceebb56

36
.config/podsync.toml Executable file
View File

@ -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 }

View File

@ -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")

View File

@ -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"

2
.setup
View File

@ -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