about summary refs log tree commit diff stats
path: root/crates/libmpv2/examples/events.rs (unfollow)
Commit message (Collapse)Author
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
2024-08-25fix(downloader): Remove useless logsBenedikt Peetz
2024-08-25fix(downloader): Be smarter, when checking for available cacheBenedikt Peetz
2024-08-25docs(cache): Add context to the cache_path deletion errorBenedikt Peetz
2024-08-25fix(yt_dlp/info_json): Accept further missing fields in the info_jsonBenedikt Peetz
2024-08-25fix(yt_dlp/lib/hook): Don't print download progress, when debug is loggedBenedikt Peetz
This makes interpreting the debug output easier.
2024-08-25build(update.sh): Correct path specifications and upgrade incompatible depsBenedikt Peetz
2024-08-25feat(crates/bytes): Support decimal number inputBenedikt Peetz
2024-08-25build(treewide): UpdateBenedikt Peetz