Add notification function to yt-dlp

This commit is contained in:
Yan Lin 2025-10-09 08:41:28 +02:00
parent 51abd863a3
commit 177dbf3048
2 changed files with 86 additions and 7 deletions

View file

@ -14,6 +14,9 @@
programs.yt-dlp-custom = {
enable = true;
downloadDir = "/mnt/storage/Media/web";
enableNotifications = true;
gotifyUrl = "https://notify.yanlincs.com";
gotifyToken = "Ac9qKFH5cA.7Yly"; # Same token as container-updater and borg-backup
};
services.scheduled-commands.video-downloads = {
@ -39,6 +42,7 @@
"dlv youtube -n 3 -r 1 --min 1 --max 180 'https://www.youtube.com/@thespiffingbrit/videos'"
"dlv youtube -n 3 -r 1 --min 1 --max 180 'https://www.youtube.com/@DoshDoshington/videos'"
"dlv youtube -n 3 -r 1 --min 1 --max 180 'https://www.youtube.com/@ScottTheWoz/videos'"
"dlv bilibili -n 3 -r 1 --title '' 'https://space.bilibili.com/15810/upload/video'"
];
};