First version
This commit is contained in:
commit
9a5e16d077
4 files changed
+89
No files matched your search
+13
@@ -0,0 +1,13 @@
|
||||
defaults:
|
||||
|
||||
download_archive: /config/archive/downloaded.txt
|
||||
|
||||
retries: 5
|
||||
|
||||
ignoreerrors: true
|
||||
|
||||
writeinfojson: true
|
||||
|
||||
writethumbnail: true
|
||||
|
||||
embedthumbnail: true
|
||||
@@ -0,0 +1,38 @@
|
||||
services:
|
||||
|
||||
ytdl-sub:
|
||||
image: ghcr.io/jmbannon/ytdl-sub:latest
|
||||
container_name: ytdl-sub
|
||||
|
||||
restart: unless-stopped
|
||||
|
||||
user: "${PUID}:${PGID}"
|
||||
|
||||
environment:
|
||||
TZ: ${TZ}
|
||||
|
||||
volumes:
|
||||
- /var/lib/docker/volumes/ytdl-sub/config/ytdl-sub:/config
|
||||
- ./media/podcasts:/media/podcasts
|
||||
|
||||
command:
|
||||
- /config/subscriptions.yaml
|
||||
|
||||
cron:
|
||||
image: alpine:latest
|
||||
|
||||
container_name: podcast-cron
|
||||
|
||||
restart: unless-stopped
|
||||
|
||||
volumes:
|
||||
- /var/run/docker.sock:/var/run/docker.sock
|
||||
|
||||
command: >
|
||||
sh -c "
|
||||
apk add --no-cache docker-cli &&
|
||||
while true; do
|
||||
docker exec ytdl-sub ytdl-sub /config/subscriptions.yaml;
|
||||
sleep 21600;
|
||||
done
|
||||
"
|
||||
@@ -0,0 +1,34 @@
|
||||
__preset__:
|
||||
- podcast
|
||||
|
||||
Les Technos:
|
||||
|
||||
rss_url: https://lestechnos.be/feed/podcast/
|
||||
|
||||
output_options:
|
||||
|
||||
Hard Fork:
|
||||
|
||||
rss_url: https://example.com/video-podcast.xml
|
||||
|
||||
output_options:
|
||||
|
||||
output_directory: /media/podcasts/Video/Hard Fork
|
||||
|
||||
file_name: >
|
||||
%(upload_date>%Y-%m-%d)s -
|
||||
%(title)s.%(ext)s
|
||||
|
||||
WAN Show:
|
||||
|
||||
url: https://www.youtube.com/@LinusTechTips
|
||||
|
||||
output_options:
|
||||
|
||||
output_directory: /media/podcasts/Video/WAN Show
|
||||
|
||||
file_name: >
|
||||
%(upload_date>%Y-%m-%d)s -
|
||||
%(title)s.%(ext)s
|
||||
|
||||
|
||||
Reference in new issue
Block a user