aboutsummaryrefslogtreecommitdiffstats
path: root/src/update (unfollow)
Commit message (Collapse)Author
2024-10-14refactor(treewide): Combine the separate crates in one workspaceBenedikt Peetz
2024-10-14feat(videos): Provide a consistent display for the `Video` structBenedikt Peetz
Before, `Video`s where colourized differently, just because the colourization was not standardized. It now is.
2024-10-07feat(cli): Add a `add` commandBenedikt Peetz
This command allows adding URLs directly. Otherwise, the process would be: `yt subs add <URL>` -> `yt update` -> `yt subs remove <URL>`
2024-08-25style(treewide): ReformatBenedikt Peetz
2024-08-25refactor(treewide): Conform to `cargo clippy`Benedikt Peetz
2024-08-24feat(select/display): Also show the video hash when color displaying itBenedikt Peetz
The hash can now be used on the commandline to access video information.
2024-08-23style(treewide): FormatBenedikt Peetz
2024-08-22fix(update): Propagate the logging options to the `update_raw.py` scriptBenedikt Peetz
2024-08-22fix(update): Correctly treat a success as a successBenedikt Peetz
2024-08-22perf(raw_update.py)!: Don't fetch entries that are already in the databaseBenedikt Peetz
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 ```
2024-08-21docs(yt_dlp/lib): Improve some commentsBenedikt Peetz
2024-08-21fix(update): Use the `raw_update.py` from the pathBenedikt Peetz