| Tidying up ytdl-sub config. - selfhost - Incus configurations for my self-hoste… | |
| Log | |
| Files | |
| Refs | |
| README | |
| --- | |
| commit 7c972e9d2ea5caf10dc4a414fd590898415bb35a | |
| parent 83fe097630d507ebc562928330cce2d43554cff1 | |
| Author: Jay Scott <[email protected]> | |
| Date: Sun, 23 Jun 2024 12:41:17 +0100 | |
| Tidying up ytdl-sub config. | |
| Diffstat: | |
| A ytdl-sub/files/config.yaml | 18 ++++++++++++++++++ | |
| M ytdl-sub/files/subscriptions.yaml | 31 ++++++-----------------------… | |
| M ytdl-sub/init.sh | 1 + | |
| 3 files changed, 25 insertions(+), 25 deletions(-) | |
| --- | |
| diff --git a/ytdl-sub/files/config.yaml b/ytdl-sub/files/config.yaml | |
| @@ -0,0 +1,18 @@ | |
| +presets: | |
| + | |
| + no_shorts: | |
| + match_filters: | |
| + filters: | |
| + - "original_url!*=/shorts/" | |
| + | |
| + TV Shows: | |
| + preset: | |
| + - "Jellyfin TV Show by Date" | |
| + - "no_shorts" | |
| + - "Only Recent" | |
| + - "max_1080p" | |
| + | |
| + overrides: | |
| + only_recent_date_range: "1month" | |
| + only_recent_max_files: 10 | |
| + tv_show_directory: "/tv_shows" | |
| diff --git a/ytdl-sub/files/subscriptions.yaml b/ytdl-sub/files/subscriptions.y… | |
| @@ -1,19 +1,6 @@ | |
| -# Overrides to the prebuilt presets | |
| -__preset__: | |
| - overrides: | |
| - tv_show_directory: "/tv_shows" | |
| +TV Shows: | |
| - only_recent_date_range: "1months" | |
| - only_recent_max_files: 10 | |
| - | |
| -# Choose the player you intend to use by setting the top-level key to be eithe… | |
| -# - Plex TV Show by Date: | |
| -# - Jellyfin TV Show by Date: | |
| -# - Kodi TV Show by Date: | |
| -Jellyfin TV Show by Date: | |
| - | |
| - # Sets genre tag to "Documentaries" | |
| - = Tech | Only Recent: | |
| + = Tech: | |
| "Brodie Robertson": "https://www.youtube.com/channel/UCld68syR8Wi-GY_n4Cao… | |
| "DistroTube": "https://www.youtube.com/@DistroTube" | |
| "Zaney": "https://www.youtube.com/@ZaneyOG" | |
| @@ -22,7 +9,7 @@ Jellyfin TV Show by Date: | |
| "Ned in the Cloud": "https://www.youtube.com/@NedintheCloud" | |
| "DB Tech": "https://www.youtube.com/@DBTechYT" | |
| - = Adventure | Only Recent: | |
| + = Adventure: | |
| "Planes Trains and Everything": "https://www.youtube.com/@PlanesTrainsAndE… | |
| "Steve Wallis": "https://www.youtube.com/@campingwithsteve" | |
| "Alastair Humphreys": "https://www.youtube.com/@al_humphreys" | |
| @@ -35,23 +22,17 @@ Jellyfin TV Show by Date: | |
| "Danni and Joe": "https://www.youtube.com/@DanniandJoe" | |
| "Itchy Boots": "https://www.youtube.com/@ItchyBoots" | |
| - = Radio | Only Recent: | |
| + = Radio: | |
| "Ringway Manchester": "https://www.youtube.com/@RingwayManchester" | |
| - = Gaming | Only Recent: | |
| + = Gaming: | |
| "Lazy Peon": "https://www.youtube.com/@TheLazyPeon" | |
| "Bellular Warcraft": "https://www.youtube.com/@BellularGaming" | |
| "Kelani": "https://www.youtube.com/@SignsOfKelani" | |
| - = Misc | Only Recent: | |
| + = Misc: | |
| "Zac Alsop": "https://www.youtube.com/@ZacAlsop" | |
| "Steve1989MREInfo": "https://www.youtube.com/@Steve1989MRE" | |
| "Auto Alex": "https://www.youtube.com/@AutoalexCars" | |
| "Peter Santenello": "https://www.youtube.com/@PeterSantenello" | |
| - | |
| - | |
| - | |
| - | |
| - | |
| - | |
| diff --git a/ytdl-sub/init.sh b/ytdl-sub/init.sh | |
| @@ -7,4 +7,5 @@ incus delete $HOST | |
| incus launch images:alpine/3.20/cloud $HOST < $HOST.yaml | |
| incus file push ./files/subscriptions.yaml $HOST/root/ -pv --mode 644 | |
| +incus file push ./files/config.yaml $HOST/root/ -pv --mode 644 | |
| incus exec $HOST -- cloud-init status --wait |