about summary refs log tree commit diff stats
path: root/crates/libmpv2/src/lib.rs (unfollow)
Commit message (Collapse)Author
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.
2024-10-07style(python_update/raw_update.py): FormatBenedikt Peetz
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-10-07feat(cli): Also add a `dowa` commandBenedikt Peetz
This is the same as the `sedowa` command, with the difference that the `dowa` command does not include the select part.
2024-10-07fix(cli): Avoid having to interleave `sedowa` with dashesBenedikt Peetz
Otherwise the `sedowa` command would be `se-do-wa`
2024-10-07fix(crates/yt_dlp/wrappers/info_json): Add further info.json fieldsBenedikt Peetz
2024-10-07feat(crates/yt_dlp): Make saving the downloaded info.json configurableBenedikt Peetz
This avoids having to recompile the application to save the downloaded info.json, and simply requires setting an environment variable.
2024-10-07build(crates/libmpv2/update.sh): Correctly specify child update pathsBenedikt Peetz
2024-09-11chore(version): v1.2.1 v1.2.1Benedikt Peetz
2024-09-11build(treewide): UpdateBenedikt Peetz
2024-08-25chore(version): v1.2.0 v1.2.0Benedikt Peetz
2024-08-25style(treewide): ReformatBenedikt Peetz
2024-08-25refactor(treewide): Conform to `cargo clippy`Benedikt Peetz
2024-08-25docs(yt_dlp/progress_hook): Add a note about the possibility to calculate ↵Benedikt Peetz
video sizes
2024-08-25feat(cli): Support the common select -> download -> watch workflowBenedikt Peetz
2024-08-25refactor(watch/playlist_handler): InitBenedikt Peetz
This facilitates outsourcing the mpv playlist operations and overlaying them with an cache that provides the facility to convert for `playlist_entry_id`s to `ExtractorHash`es even after their corresponding video has been removed from the playlist.
2024-08-25fix(storage/extractor_hash): Remove useless logsBenedikt Peetz
2024-08-25fix(select/duration): Report parse errors, as the input is user specifiedBenedikt Peetz
2024-08-25fix(downloader): Fallback to calculating the video size, before using ↵Benedikt Peetz
hardcoded value