about summary refs log tree commit diff stats
path: root/src/videos/display/mod.rs (unfollow)
Commit message (Collapse)Author
30 hoursfix(yt_dlp/wrappers/info_json): Add further fields to `RequestedDownloads`Benedikt Peetz
33 hourschore(version): v1.4.0 v1.4.0Benedikt Peetz
33 hoursbuild(treewide): UpdateBenedikt Peetz
33 hoursfeat(yt/watch/events): Wire up the `yt-description-*` client commandsBenedikt Peetz
33 hoursrefactor(yt/description): Provide `get` function, returning a stringBenedikt Peetz
This allows code to get the description without shelling out.
33 hoursrefactor(yt/config): Rename `local_comments_length` to `local_display_length`Benedikt Peetz
This allows to use this value both for comments and description display.
34 hoursfeat(yt/description): InitBenedikt Peetz
34 hoursrefactor(yt/comments): Move the display code to a separate functionBenedikt Peetz
34 hoursfix(yt/cli): Ensure that all `[No <xyz>]` value can be parsedBenedikt Peetz
34 hoursfeat(tree-sitter-yts): Update to new tree-sitter version & improve parsingBenedikt Peetz
34 hoursfix(yt_dlp/wrappers/info_json): Add missing fields to `Subtitle`Benedikt Peetz
34 hoursfix(yt_dlp/wrappers/info_json): Treat `Extractor` and `ExtractorKey` as StringsBenedikt Peetz
There are too many possible extractors to mandate hard-coding them in a enumeration.
2024-11-16chore(version): v1.3.3 v1.3.3Benedikt Peetz
2024-11-16build(treewide): Update dependenciesBenedikt Peetz
2024-11-08fix(yt/select/add): Avoid crash on adding a videoBenedikt Peetz
Currently, it expects the video to be already added to the database, as it requires looking up it's hash from it. Re-ordering the statements is not the cleanest solution, but it works.
2024-11-04chore(version): v1.3.2 v1.3.2Benedikt Peetz
2024-11-04chore(tree-sitter-yts): Add copyright headersBenedikt Peetz
2024-11-04build(update.sh): Improve recursivenessBenedikt Peetz
2024-11-04fix(yt/select/cmds): Fix future incompatibilityBenedikt Peetz
In rust edition 2024 this type can no longer be auto-injected.
2024-11-04build(treewide): UpdateBenedikt Peetz
2024-11-04fix(tree-sitter-yts/grammar.js): Add missing commandsBenedikt Peetz
2024-11-04build(tree-sitter-yts): Include in buildsBenedikt Peetz
2024-11-04refactor(tree-sitter-yts): Move in treeBenedikt Peetz
2024-11-04style(yt/main): Use consistent use qualificationsBenedikt Peetz
2024-11-04build(cog.toml): Format *before* checking the formattingBenedikt Peetz
Otherwise, the formatting step would always be useless, as everything should already be formatted.
2024-11-04fix(yt_dlp/progress_hook): Mark estimates as suchBenedikt Peetz
Currently, the wildly changing estimate numbers are not differentiated from the valid numbers.
2024-11-04fix(yt/download): Only print changed bytes sizes, on changed stringBenedikt Peetz
2_000_000_000 and 2_000_000_001 cache sizes are not the same, but will both print out "1.86 GiB". Obviously, notifying the user about this change is rather counter-productive.
2024-11-02fix(yt/download): Don't trust the `cache_path` attributeBenedikt Peetz
2024-10-29chore(version): v1.3.1 v1.3.1Benedikt Peetz
2024-10-29style(treewide): FormatBenedikt Peetz
2024-10-29fix(yt/videos/display): Also replace '“' in titlesBenedikt Peetz
2024-10-29chore(yt_dlp/wrapper/info_json): Add further structure fieldsBenedikt Peetz
2024-10-29fix(yt/watch): Refine the warning on empty queueBenedikt Peetz
This avoids spamming the terminal with "Queue is empty" messages, when one warning would have been enough.
2024-10-29fix(yt_dlp/lib/progress_hook): Avoid overriding previous messagesBenedikt Peetz
Otherwise, the hook would simply cancel the already printed line.
2024-10-19fix(yt_dlp/lib/progress_hook): Estimate `total_byte_size` betterBenedikt Peetz
This still is sort of weird, because the total byte size changes whilst downloading, but it is still immensely better than just putting a `0` there.
2024-10-19fix(yt/cache): Don't try to delete video cache paths that don't exist anymoreBenedikt Peetz
This is a quite common problem, because the download dir (residing on `/tmp/yt` by default) is cleared with every reboot, leaving the stale `cache_path` entries in the database. If a user would than run `yt download --force` these already deleted `cache_paths` should not be deleted again.
2024-10-19fix(yt/download): Create the download dir, if it does not existBenedikt Peetz
2024-10-14chore(version): v1.3.0 v1.3.0Benedikt Peetz
2024-10-14refactor(libmpv2): Include in the workspaceBenedikt Peetz
2024-10-14chore(treewide): Add missing copyright headerBenedikt Peetz
2024-10-14test(treewide): Fix, so they compile and ignoreBenedikt Peetz
The tests are just not in an ideal state right now. Running them via `cargo test` still works, but the `yt_dlp` test simply seem to deadlock?
2024-10-14build(scripts/mkdb.sh): Update to use new sql schema pathBenedikt Peetz
2024-10-14style(treewide): FormatBenedikt Peetz
2024-10-14build(.envrc): Set `sqlx`'s `DATABASE_URL` variableBenedikt Peetz
2024-10-14refactor(treewide): Conform to the clippy and rust lintsBenedikt Peetz
2024-10-14feat(unreachable): Init traitBenedikt Peetz
2024-10-14refactor(treewide): Combine the separate crates in one workspaceBenedikt Peetz
2024-10-14build(Cargo.toml): Add further lintsBenedikt 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-07fix(downloader): Don't display changed cache size on first runBenedikt Peetz
Currently, the "Can't download video ..." message is directly followed by the "Current cache size has changed ...", when a full cache was hit before. This avoids this duplicated message, by update the cached cache size.