about summary refs log tree commit diff stats
Commit message (Collapse)AuthorAge
* style(yt/select): Apply clippy's suggestionsBenedikt Peetz33 hours
|
* fix(yt/update): Also handle the newly introduced error conditionsBenedikt Peetz33 hours
|
* feat(yt_dlp): Support a DeArrow post processorBenedikt Peetz33 hours
|
* refactor(yt_dlp/lib): De-duplicate the info json sanitize codeBenedikt Peetz33 hours
|
* refactor(yt_dlp/lib): Explicitly convert python exceptions into an errorBenedikt Peetz33 hours
| | | | This avoids having to wrap all blocks into a `match` statement.
* build(.envrc): Also disable ytdlp plugins by defaultBenedikt Peetz33 hours
|
* build(package/package.nix): Update to the new build requirementsBenedikt Peetz33 hours
|
* build({flake,Cargo}.lock): UpdateBenedikt Peetz35 hours
|
* fix(scripts/mkdb.sh): Also use the `$DATABASE_URL` variable as source sourceBenedikt Peetz35 hours
| | | | This avoids having to specify the db location twice.
* refactor(yt/select/selection_file): Migrate from `trinitry` to `shlex`Benedikt Peetz36 hours
| | | | shlex is better maintained, and _actually_ meant for this purpose .
* test(yt/cli): Test the CLIBenedikt Peetz36 hours
|
* fix(libmpv2-sys): Avoid generating comments, that confuse rustdocBenedikt Peetz36 hours
|
* fix(yt/cli): Remove duplicated short flag key (help also uses 'h')Benedikt Peetz36 hours
|
* feat(yt/cli): Add support for command line completionsBenedikt Peetz36 hours
|
* build(.envrc): Remove outdated env variablesBenedikt Peetz36 hours
|
* feat(yt/select/split): Make sorting configurableBenedikt Peetz36 hours
| | | | | I also moved that to a separate subcommand, as we would otherwise have too many `requires`/`conflicts_with` statements.
* feat(yt/videos/list): Replace the nucleo matcher with a simple `contains`Benedikt Peetz36 hours
| | | | | | The matching behaviour was not predictable at all (probably due to a bad config), which than led to using `yt videos ls | grep -i <query>` instead.
* fix(yt/download/get_file_size): Correct deal with `filesize_approx` = NullBenedikt Peetz47 hours
|
* fix(yt_dlp/json_{cast,get}): Improve error reportingBenedikt Peetz47 hours
|
* build(treewide): UpdateBenedikt Peetz2 days
|
* fix(yt/update): Correct the progress display in `--grouped` modeBenedikt Peetz2 days
|
* docs(yt/watch/playlist_handler/client_messages): Add TODO about `current_exe`Benedikt Peetz2 days
|
* docs(yt_dlp): Fix typo in `Cargo.toml`'s descriptionBenedikt Peetz2 days
|
* fix(yt_dlp): Avoid writing the json output to diskBenedikt Peetz2 days
| | | | | There is no point in doing this anymore, as we no longer need to deserialize it.
* fix(yt/update/video_entry_to_video): Cast the json objectsBenedikt Peetz2 days
| | | | | Otherwise, we might encounter very weird behaviour if yt_dlp ever changes the types of these keys.
* feat(yt/update): Print a nice progress numberBenedikt Peetz2 days
| | | | | | | This number obviously does not actually mean that we have finished updating (as it is incremented on staring). But it still provides some feedback, on how long the update will probably take.
* feat(yt/update): Support grouped updatesBenedikt Peetz2 days
| | | | | | | | | | Rustpython currently does not use a garbage collector. Thus, every cyclic reference between Python objects results in a memory leak of these objects (as Rustpython uses (A)RCs). The only real way to workaround the memory leaks, is by restarting the whole process, and this `--grouped` flag seems to be the best solution for that.
* perf(yt/update/updater): Acknowledge, that `yt_dlp` has a sync APIBenedikt Peetz2 days
| | | | | | | | | | | | | | | The previous code was written with the assumption, that `yt_dlp` had an async API (which means, that calls to it should never block). Unfortunately, the API is sync and all calls into it block. Therefore, all the parallelism in the previous code accounted for nothing; The actual update ran completely sequentially. The new version uses a local thread pool to avoid blocking the tokio runtime and as such achieves higher speed. Unfortunately, because the rustpython implementation is way slower than cpython, the whole update takes longer. But that is a problem for another day.
* feat(yt/select): Support a directory selection processBenedikt Peetz2 days
| | | | The single file approach becomes unwieldy once one has more open videos.
* refactor(yt/select): Split the `select::select` function upBenedikt Peetz2 days
|
* feat(yt/update): Specify subscriptions to update as positional argsBenedikt Peetz3 days
| | | | | Having the `-s/--subscription` flag is pointless, as there are no other flags that could make a positional arg ambiguous.
* feat({yt/update,yt_dlp}): Use yt_dlp errors againBenedikt Peetz3 days
| | | | | This code was temporarily commented out, as I had not migrated it in the pyo3 -> rustpython migration.
* docs(yt/update): Add comment about the `unsmuggle_url` invocationBenedikt Peetz3 days
|
* fix(yt/update): Avoid printing all the subscriptions that are not updatedBenedikt Peetz3 days
| | | | This is just too much noise.
* fix(yt/select/selection_file/duration): Improve the duration parserBenedikt Peetz3 days
| | | | | | | | The previous parser was very brittle, it failed for (valid) outputs like `1d 10h 30m` (as it only expected two number unit pairs). On top of that, extending it was failure prone (as proven by the roundtrip failure in combination with the `d` unit).
* fix(yt/version): Use yt_dlp's native python version implyBenedikt Peetz4 days
| | | | This is just cleaner, compared to running `yt-dlp --version` as command.
* build(treewide): UpdateBenedikt Peetz4 days
|
* build(flake): Document for what the `CLANG_*` env vars are neededBenedikt Peetz4 days
|
* build(flake): Remove `flake-utils`Benedikt Peetz4 days
| | | | This library serves no real purpose, and now started failing to updated.
* refactor(yt): Move to `crates/yt`Benedikt Peetz4 days
| | | | Having one crate outside the `crates` directory is just weird.
* build(flake): Switch to `nixpkgs-unstable-small`Benedikt Peetz4 days
| | | | | Small is updated faster, and we need quick updates as `yt_dlp` needs to be always up-to-date so that it actually works with YouTube.
* build(flake): Adapt the dev env to yt_dlp's new dependenciesBenedikt Peetz4 days
|
* fix(yt/subscribe): Deal with moved url valueBenedikt Peetz4 days
|
* fix(yt/downloader/progress_hook): Silence clippy warningsBenedikt Peetz4 days
|
* refactor(yt): Consolidate the multiple ANSI escape code wrapper functionsBenedikt Peetz4 days
|
* fix(yt/watch/playlist): Workaround terminals, that treat 0 as 1Benedikt Peetz4 days
|
* fix(yt/storage/migrate): Correct the two to three migration scriptBenedikt Peetz4 days
|
* fix(yt/storage/migrate): Correctly state the upgrade to the topmost versionBenedikt Peetz4 days
| | | | Previously `$new_version` and `$old_version` were mistakenly swapped.
* feat(yt/status): Show the percentage of videos that were actually watchedBenedikt Peetz4 days
|
* style(yt/cli): Sort the toplevel flags alphabeticallyBenedikt Peetz4 days
|