about summary refs log tree commit diff stats
path: root/crates/libmpv2/libmpv2-sys (unfollow)
Commit message (Collapse)Author
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
2025-07-15refactor(crates/yt/config): Always use imported paths in config decBenedikt Peetz
2025-07-15feat(crates/yt/update): Make the concurrency configurableBenedikt Peetz
2025-07-15fix(crates/yt/cli): Use the correct `--plackback-speed` option nameBenedikt Peetz
2025-07-15feat(crates/yt/subscribe): Support a `--no-check` argumentBenedikt Peetz
2025-07-15feat(crates/yt): Support a `--format` argument for most commands with outputBenedikt Peetz
2025-07-15fix(crates/yt/update): Remove the `--grouped` update supportBenedikt Peetz
Our python implementation no longer leaks memory.
2025-07-15feat(crates/yt/watch): Support `--headless` and `--provide-ipc-socket` flagsBenedikt Peetz
2025-07-15refactor(crates/yt/comments): Remove dead codeBenedikt Peetz
2025-07-15fix(crates/yt/downloader): Correctly treat the download as blockingBenedikt Peetz
This change _might_ also allow aborting the current download, but I'm not yet sure.
2025-07-15refactor(crates/yt): Allow `missing_panic_docs` and use expectBenedikt Peetz
2025-07-15refactor(crates/yt/download/progress_hook): Use `json_{get,cast}` and owu-colorsBenedikt Peetz
2025-07-15refactor(crates/yt): Use the new storage layerBenedikt Peetz
2025-07-14fix(crates/yt/storage/migrate): Merge the `videos` and `video_options` tablesBenedikt Peetz
Keeping them separate was just introducing unnecessary friction.
2025-07-14feat(crates/yt/storage): Migrate inserts to operations and use methodsBenedikt Peetz
This allows us to re-use the operations and in the future to provide undo-capabilities and a git-reflog like changelog. This commit also fixes some bugs with the old design.
2025-07-10refactor(crates/yt): Make every `pub` item `pub(crate)`Benedikt Peetz
Otherwise, rust will not warn use about unused code (and `yt` is not a library).
2025-07-10docs(crates/libmpv2): Correctly format doc-testBenedikt Peetz
2025-07-10build(Cargo.toml): Update to include new changesBenedikt Peetz
2025-07-10build(Cargo.lock): UpdateBenedikt Peetz
2025-07-10build(.envrc): Set the `PYO3_PYTHON` variable againBenedikt Peetz
2025-07-10refactor(crates/yt/config): Use a macro to generate the config parsing codeBenedikt Peetz
This makes adding new config values easier and makes it harder to introduce slight bugs (with the old config system the cli `--db-path` flag did only take effect, after the value in the config file).
2025-07-10refactor(crates/yt_dlp): Port to `pyo3` againBenedikt Peetz
Rustpyton is slower, does not implement everything correctly and worst of all, contains code produced by LLM's. Using the freethreaded mode of pyo3 also works nicely around the GIL, and enables parallel execution.
2025-07-10refactor(crates/bytes): Move into ytBenedikt Peetz
`yt_dlp` no longer depends on it.
2025-07-10build(.cargo/cargo.toml): Remove pointless `PYO3_PATH`Benedikt Peetz
Hard-coding a nix store is ridiculous.
2025-06-28chore(version): v1.7.1 v1.7.1Benedikt Peetz
2025-06-28fix(yt/subscribe): Don't hard-error on failed subscribe, if it was not specifiedBenedikt Peetz
The user did not specify to subscribe to the `videos`, `streams` and `shorts` variants, as such we should not error if one of them fails, as the other one could succeed.
2025-06-28fix(yt/{subscribe,storage/subscriptions}): Fix more instances of the ↵Benedikt Peetz
capitalize Playlist type
2025-06-28build(nix/package): Update the git hashes after the updateBenedikt Peetz