mirror of
https://github.com/lrnselfreliance/wrolpi.git
synced 2026-10-26 02:48:38 -04:00
A user reported videos placed in a Channel's directory did not appear on that Channel's page. Their info json named another existing Channel, and get_channel preferred the source_id match over the directory, so the videos were assigned to the other Channel. Reorder get_channel so the directory match (with its parent-directory walk) runs before the source_id/url matches. A Video's files must live in their Channel's directory, so the directory reflects the user's intent and beats yt-dlp metadata. This also aligns validation with VideoDownloader._get_channel, which already prefers the destination directory, and stops validation from clobbering that decision. channel_id still wins over all other params; source_id/url still apply when the file is not in any Channel's directory. Co-Authored-By: Claude Fable 5 <noreply@anthropic.com> |
||
|---|---|---|
| .. | ||
| archive | ||
| docs | ||
| flasher | ||
| inventory | ||
| map | ||
| videos | ||
| zim | ||
| __init__.py | ||