mirror of
https://github.com/lrnselfreliance/wrolpi.git
synced 2026-10-26 19:01:39 -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> |
||
|---|---|---|
| .. | ||
| __init__.py | ||
| test_api.py | ||
| test_channel_directory_scenarios.py | ||
| test_channel_refresh_external_files.py | ||
| test_channels_config.py | ||
| test_common.py | ||
| test_cookies.py | ||
| test_downloader.py | ||
| test_lib.py | ||
| test_models.py | ||
| test_video.py | ||
| test_video_modeler_loop.py | ||
| test_video_url_resolver.py | ||