mirror of
https://github.com/Phantop/dotfiles
synced 2025-11-26 06:06:40 +00:00
Podsync: add config and load from ~/Videos
This commit is contained in:
parent
bce30f2661
commit
d07d613b76
|
|
@ -1 +1 @@
|
||||||
Subproject commit 13ea184015c30be5160ae285aedc0eaec0c72e6c
|
Subproject commit d16273e07231260e02412625f98651bc6ceebb56
|
||||||
36
.config/podsync.toml
Executable file
36
.config/podsync.toml
Executable 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 }
|
||||||
|
|
@ -1,4 +1,4 @@
|
||||||
invid = 'invidious.tube'
|
invid = 'www.invidious.tube'
|
||||||
nittr = 'nitter.snopyta.org'
|
nittr = 'nitter.snopyta.org'
|
||||||
|
|
||||||
# bindings
|
# bindings
|
||||||
|
|
@ -45,10 +45,10 @@ c.url.open_base_url = True
|
||||||
c.tabs.background = True
|
c.tabs.background = True
|
||||||
c.content.dns_prefetch = True
|
c.content.dns_prefetch = True
|
||||||
c.confirm_quit = ["downloads"]
|
c.confirm_quit = ["downloads"]
|
||||||
|
c.scrolling.smooth = True
|
||||||
|
|
||||||
c.content.user_stylesheets = ["normalize/normalize.css"]
|
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/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://raw.githubusercontent.com/jmdugan/blocklists/master/corporations/microsoft/all")
|
||||||
c.content.host_blocking.lists.append("https://github.com/Perflyst/PiHoleBlocklist/raw/master/AmazonFireTV.txt")
|
c.content.host_blocking.lists.append("https://github.com/Perflyst/PiHoleBlocklist/raw/master/AmazonFireTV.txt")
|
||||||
|
|
|
||||||
|
|
@ -1,8 +1,8 @@
|
||||||
#!/bin/bash
|
#!/bin/bash
|
||||||
cd $D/Videos/YouTube/
|
cd ~/Videos/YouTube/
|
||||||
|
|
||||||
#for f in */*.mp4; do
|
#for f in */*.mp4; do
|
||||||
# grep -q "$f" *.xml || rm "$f"
|
# grep -q "$f" *.xml || rm "$f"
|
||||||
#done
|
#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
2
.setup
|
|
@ -2,7 +2,7 @@
|
||||||
sudo eopkg it -c system.devel
|
sudo eopkg it -c system.devel
|
||||||
sudo eopkg rm celluloid gnome-mpv gnome-terminal libreoffice-common mate-terminal nautilus rhythmbox
|
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"
|
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 eopkg it $desktop $terminal
|
||||||
sudo pip3 install --upgrade qutebrowser
|
sudo pip3 install --upgrade qutebrowser
|
||||||
|
|
|
||||||
Loading…
Reference in a new issue