aboutsummaryrefslogtreecommitdiffstats
path: root/crates (unfollow)
Commit message (Collapse)Author
2025-11-30chore(version): v1.9.0v1.9.0primeBenedikt Peetz
2025-11-30fix(treewide): Avoid using deprecated functions or patternsBenedikt Peetz
2025-11-30build(treewide): UpdateBenedikt Peetz
2025-11-30build(update.sh): Also work, when the cwd directory changedBenedikt Peetz
2025-11-30fix(yt/commands/download/progress_hook): Show title, if already downloadedBenedikt Peetz
Otherwise, if an already downloaded video (but not as downloaded registered video) is "downloaded" yt would just show `-> download finish`. This does not inform the user about what was actually downloaded.
2025-11-30fix(yt/commands/status): Show active subscriptions numberBenedikt Peetz
2025-11-30fix(yt/commands/select/add): Correct add behaviourBenedikt Peetz
2025-08-26fix(yt/commands/download): Fix typoBenedikt Peetz
2025-08-26feat(yt/commands/subs): Implement disabling subscriptionsBenedikt Peetz
This allows for a softer version of `unsubscribe`, as the subscription can be enabled again.
2025-07-24chore(version): v1.8.0v1.8.0Benedikt Peetz
2025-07-24refactor(crates/yt/constants): Remove empty moduleBenedikt Peetz
2025-07-24style(treewide): FormatBenedikt Peetz
2025-07-24chore(treewide): Add missing license headersBenedikt Peetz
2025-07-24test(crates/libmpv2): Avoid compiling a doc-testBenedikt Peetz
2025-07-24fix(crates/yt/commands/database): Correctly format the default for `--kind`Benedikt Peetz
The `fmt::Debug` impl will print them capitalized, which is obviously wrong in this context.
2025-07-24test(crates/yt/tests/watch/focus_switch.rs): This test simply lacks its purposeBenedikt Peetz
2025-07-24test(crates/yt/testenv/run/run_piped): Finalize the second command after the ↵Benedikt Peetz
first one Otherwise, we introduce a race condition and thus produce spurious test failures.
2025-07-24feat(crates/yt/commands/cache): InitBenedikt Peetz
2025-07-24refactor(crates/yt/commands): Restrict visibility to itselfBenedikt Peetz
This ensures, that the other code in `yt` does not reference this.
2025-07-24fix(crates/yt): Correct importsBenedikt Peetz
2025-07-24fix(crates/yt/config): Avoid module name re-use in `watch` configBenedikt Peetz
2025-07-24fix(crates/yt/commands/select): Allow configuring the `yt select url` openerBenedikt Peetz
2025-07-24fix(crates/yt/storage/db/videos/comments): Don't always associate a reply ↵Benedikt Peetz
with its base The previous code immediately return from the `find_author_mut` function, as the `return` was not scoped in a closure. We now only return that value, if it should actually be returned, and added a test for that case.
2025-07-24refactor(crates/yt/src/ansi_escape_codes): Use better name for ↵Benedikt Peetz
`erase_in_display_from_cursor`
2025-07-24fix(crates/yt/commands): Add the actual `implm` wrapperBenedikt Peetz
2025-07-24refactor(crates/colors): Don't expose the custom colours moduleBenedikt Peetz
It does not contain anything useful for downsteam consumers.
2025-07-24fix(treewide): Use `json_try_get!` instead of `json.get(..).map(|| ..)`Benedikt Peetz
`json.get` will return `Some(Value::Null)` if the json key exists but has been set to `null`. This is obviously not what we want, and as such we also need to check that the value is not null, before calling map. The `json_try_get!` macro does exactly that.
2025-07-24fix(crates/yt/{commands/playlist,videos/format_video}): Correctly calculate ↵Benedikt Peetz
watch percent Previously, they were using u64, which obviously only returned `0%`.
2025-07-24feat(crates/yt/commands/database): Init, to show the txn_logBenedikt Peetz
2025-07-24feat(crates/yt/storage/db/insert): Track all inserted operationsBenedikt Peetz
2025-07-24feat(crates/yt/commands/watch/mpv_commands): Hook-up the new show commandsBenedikt Peetz
2025-07-24feat(crates/yt/commands/show): Also provide thumbnail and info screenBenedikt Peetz
2025-07-18refactor(crates/yt/db/insert::Commitable): Make `Debug` a dependencyBenedikt Peetz
This avoids having to copy the already implied dependency to every type bound.
2025-07-18fix(crates/yt/db/insert/playlist): Account for playlist_len == 0Benedikt Peetz
Previously, we always tried to mark a new video as next to focus, but that is obviously impossible with an empty playlist.
2025-07-18build(crates/yt/Cargo.toml): Remove now pointless `owo-colors` depBenedikt Peetz
2025-07-18build(treewide): UpdateBenedikt Peetz
2025-07-18build({update.sh,crates/{libmpv2,yt_dlp}/update.sh}): Remove pointless ↵Benedikt Peetz
update instructions We only need to explicitly update the creates that are not part of the workspace.
2025-07-18fix(crates/yt/db/insert/maintenance): Re-initBenedikt Peetz
2025-07-18test(crates/yt/tests/_testenv): Store `Child`s instead of PIDsBenedikt Peetz
That avoids killing a random process if the original process has already exited.
2025-07-18perf(crates/yt/db/extractor_hash/realize): Allow passing in a `all_hashes`Benedikt Peetz
This avoids having to re-fetch that value for each realized short hash and massively speeds up the `process_line` code while running `select {file,split}`.
2025-07-18fix(crates/yt/config): Ensure that the download_dir is createdBenedikt Peetz
Previously, we only ensured that for its parent directory.
2025-07-18test(crates/yt/tests/_testenv::init): Use appropriate atomic u64 typeBenedikt Peetz
2025-07-18fix(crates/yt): **Always** honor the `config.global.display_colors` config ↵Benedikt Peetz
setting
2025-07-18chore(crates/yt/Cargo.toml): Add `pretty-assertions` for testsBenedikt Peetz
This makes the errors in the comment tests easier to see.
2025-07-18feat(crates/yt): Separate all commands from their implementation codeBenedikt Peetz
This also comes with a re-worked and tested implementation of the comments rendering code.
2025-07-15test(crates/yt): Add basic integration testsBenedikt Peetz
2025-07-15fix(crates/yt/select): Correctly open the persistent file in `select split`Benedikt Peetz
Otherwise, the written changes to the persistent file would either not be saved or they would be saved but not used.
2025-07-15feat(crates/yt/select): Print the currently processed line as progressBenedikt Peetz
This is especially useful when using the commands standalone (i.e., `yt select watch ...`), as that will now show you exactly what your command did to the video.
2025-07-15fix(crates/yt): Add stuff that was missedBenedikt Peetz
2025-07-15feat(crates/yt/watch): Make the time between watch progress saves configurableBenedikt Peetz