No description
- Rust 98.4%
- Shell 1.6%
Forked from madeofpendletonwool/PinePods Backend/pinepods_backend (main branch, 2026-08-03) to fix a real bug and add an optional feature, both around YouTube channel search/subscribe: 1. yt-dlp aborted the ENTIRE channel fetch the moment it hit one members-only/restricted video in a channel's recent uploads -- very common for channels that mix public and member-exclusive content. Added --ignore-errors to both yt-dlp invocations and changed the failure check to only bail when literally zero videos came back, instead of on any non-zero yt-dlp exit code (which --ignore-errors alone does not prevent). See upstream issue #951. 2. Added optional YouTube Data API v3 support (own module, youtube_data_api.rs): when YOUTUBE_API_KEY is set, YouTube search and channel lookup go through the official API instead of yt-dlp scraping, including full upload-history pagination (up to ~2000 videos via nextPageToken) rather than the 15-video cap yt-dlp is stuck with. Falls back to the fixed yt-dlp path when unset, so this is fully backwards compatible. Built image: forgejo.gmatte.xyz/gmatte/pinepods_backend:combined-fix-and-api Includes unit tests for both changes (parse_jsonl_entries in main.rs, non_empty/thumbnail_url in youtube_data_api.rs) -- run with `cargo test` from pinepods_backend/. Upstream PR patches (kept separate, one per fix) are tracked at homelab-gitops/tmp/000{1,2}-*.patch in the deploying repo. |
||
|---|---|---|
| pinepods_backend | ||
| dockerfile | ||
| startup.sh | ||