wrolpi/modules/videos
Roland fcb64fed13
Some checks failed
CodeQL / Analyze (push) Has been cancelled
Controller Tests / controller-tests (push) Has been cancelled
Jest Tests / jest-tests (push) Has been cancelled
Deprecate "Most Views" download order
YouTube's new listing layout means yt-dlp no longer returns `view_count`
in flat channel/playlist entries, so sorting by views raised KeyError and
the download failed and retried forever.

Sorting by views now requires per-video extraction (hundreds of requests
per channel), so the feature is deprecated rather than degraded:

- downloader: the 'views' branch raises UnrecoverableDownloadError so the
  download fails cleanly (no retry loop) with a message to switch to
  Newest/Oldest. May be revisited via the YouTube Data API.
- schema: download_order validation drops 'views' (newest/oldest/null only).
- UI: removed "Most Views" from the download-order dropdown.

Co-Authored-By: Claude Opus 4.8 (1M context) <noreply@anthropic.com>
2026-06-28 18:06:34 -06:00
..
channel Converting RSS and Video Downloaders to new testable strategy. 2026-05-07 20:07:31 -06:00
test Deprecate "Most Views" download order 2026-06-28 18:06:34 -06:00
video Restore the censored-video search filter (#499) 2026-06-27 09:48:36 -06:00
__init__.py Modifying Video/Channel/RSS Downloaders so that they can download videos, but audio only. These audio files are grouped under their channel directories. 2026-04-14 15:33:01 -06:00
api.py Unifying video download settings so that global/channel/rss/video 2026-03-05 17:40:17 -07:00
common.py Trying to get existing channel using more variations of Youtube URLs. 2026-03-20 17:26:51 -06:00
conftest.py Restore the censored-video search filter (#499) 2026-06-27 09:48:36 -06:00
cookies.py Using shared context to sync cookies between processes. 2026-02-22 14:32:27 -07:00
downloader.py Deprecate "Most Views" download order 2026-06-28 18:06:34 -06:00
errors.py Adding toggle to Channel page to stop downloading comments for certain channels. 2025-03-01 18:23:29 -07:00
lib.py chore: address Greptile P2 review comments on PR 449 2026-05-31 13:02:44 -06:00
models.py Models like Archive/Video/Doc can be deleted, even if they are tagged. User is shown a warning and must confirm deletion of tagged files. 2026-05-03 19:14:15 -06:00
normalize_video_url.py A video that is uploaded is attached to its Channel. Saving Channels config with both download url and frequency in case downloads config is corrupted. 2024-10-16 18:56:11 -06:00
schema.py Restore the censored-video search filter (#499) 2026-06-27 09:48:36 -06:00