about summary refs log tree commit diff stats
path: root/src (follow)
Commit message (Collapse)AuthorAge
* refactor(storage): Make all URL parsings panicBenedikt Peetz2024-08-22
| | | | | | These URLs should be checked *before* they are written to the database, thus being unable to decode them after they've been read from the database is an application bug and not a user input issue.
* refactor(cli): Remove the useless `concurrent_processes` flag from `update`Benedikt Peetz2024-08-22
| | | | | With the new `update_raw.py` script, supporting this flag becomes nearly impossible. Thus, we're simply removing it.
* fix(update): Propagate the logging options to the `update_raw.py` scriptBenedikt Peetz2024-08-22
|
* fix(watch/events): Also mark a video inactive on the stop eventBenedikt Peetz2024-08-22
|
* fix(constants): Don't set a default subtile languageBenedikt Peetz2024-08-22
| | | | Always fetching a subtitle file is rather counterproductive.
* fix(update): Correctly treat a success as a successBenedikt Peetz2024-08-22
|
* fix(subscriptions/add): Ignore the trailing slash on URLsBenedikt Peetz2024-08-22
|
* fix(storage/get_videos): Also order by `publish_date`Benedikt Peetz2024-08-22
| | | | | All freshly added videos have a priority of 0. To ensure that they are still ordered, also sort by `publish_date`.
* feat(select/file): Allow `--priority` argument to all functionsBenedikt Peetz2024-08-22
| | | | This allows setting a priority even on picked videos.
* feat(download): Support limiting the downloader by maximal cache sizeBenedikt Peetz2024-08-22
|
* test(benches/update): InitBenedikt Peetz2024-08-22
|
* perf(raw_update.py)!: Don't fetch entries that are already in the databaseBenedikt Peetz2024-08-22
| | | | | | | | | | | | | | | | | | | | Testing has resulted in a speed-up of circa 3400% (updates of 1 subscription (which is already fully stored) are now ca. 1 sec from previously 34 sec). BREAKING CHANGE: The extractor hash is now calculated from the `id` and not the `webpage_url` field requiring a complete re-fetch of all stored videos. ```bash $# export your subscriptions: $ yt subs list --urls > subs.txt $# remove the old database $ mv ~/.local/share/yt/videos.sqlite{,.old} $# reimport the subsciptions $ yt subs import subs.txt $# refetch all videos $ yt upadate ```
* docs(yt_dlp/lib): Improve some commentsBenedikt Peetz2024-08-21
|
* fix(select/duration): Also parse `[No Duration]` as durationBenedikt Peetz2024-08-21
|
* fix(update): Use the `raw_update.py` from the pathBenedikt Peetz2024-08-21
|
* style(treewide): Reformat v0.1.0Benedikt Peetz2024-08-21
|
* chore: Initial CommitBenedikt Peetz2024-08-21
This repository was migrated out of my nixos-config.