about summary refs log tree commit diff stats
path: root/tree-sitter-yts/src (unfollow)
Commit message (Collapse)Author
35 hoursbuild(yt_dlp/Cargo.toml): Pin git dependenciesBenedikt Peetz
35 hoursfix(yt_dlp/post_processors/dearrow): Don't try to access the drained vecBenedikt Peetz
If all titles were declared “bad” the pp previously tried to access the first title in the array, which was already drained. We now simply clone the array to facilitate this usage.
35 hoursfeat(yt/version): Add the (rust)python version againBenedikt Peetz
35 hoursfix(yt/update/grouped): Don't drop the verbosity levelBenedikt Peetz
Otherwise, the sub-processes run with the default verbosity level.
35 hoursfeat(yt/cli): Also add completion for subscription namesBenedikt Peetz
9 dayschore(version): v1.6.1 v1.6.1Benedikt Peetz
9 daysbuild(flake): Teach the flake about the new package.nix locationBenedikt Peetz
9 dayschore(treewide): Assure that `nix fmt` and `reuse lint` are happyBenedikt Peetz
9 daysbuild({Cargo,flake}.lock): UpdateBenedikt Peetz
9 daysrefactor(nix/package): Avoid the duplicated `package` nameBenedikt Peetz
9 daysfix(package): Set the PYTHONPATH ourselvesBenedikt Peetz
The propagation mechanism seems to be python exclusive and not something that works inside the `buildRustPackage` function.
9 daysrefactor(yt_dlp): Split the big `lib.rs` file upBenedikt Peetz
9 daysrefactor(yt_dlp/progress_hook): Use public api via `__priv` moduleBenedikt Peetz
That makes it clear that these parts are only exposed to facilitate macro use and not as part of the public API.
9 daysfix(yt_dlp/post_processing/dearrow): Correctly type the `CasualVote` fieldBenedikt Peetz
9 daysrefactor(yt_dlp/logging): Avoid adding to the `__all__` listBenedikt Peetz
This seems to have no apparent effect on anything. As such I went ahead and removed this dead code.
9 daysfix(yt_dlp): Typos in stringsBenedikt Peetz
9 daysfix(yt_dlp/post_processors): Register in pythonBenedikt Peetz
We need to tell yt_dlp about our post processors, as they would otherwise not take full effect. For example, changing the title would previously only have changed the title in the *in-memory* info json, the actual file on disk (video and .info.json) would still have the old title, as yt_dlp did not know about our post processor. Registering it via their api also has the upside of being able to determine when to run.
9 daysfix(yt_dlp/post_processors/dearrow): Migrate to curl for api requestsBenedikt Peetz
The reqwest crate will panic if it is blockingly run inside another executor. But we cannot make this function async, as the whole api is forced to be sync by python ffi.
9 daysfix(yt_dlp/): Include the frozen python stdlibBenedikt Peetz
This avoids the dependency on a real std-library (i.e., python3) at runtime.
9 dayschore(version): v1.6.0 v1.6.0Benedikt Peetz
9 daysbuild(cog.toml): Use the correct remote urlBenedikt Peetz
9 daysbuild(cog.toml): Use correct usernameBenedikt Peetz
9 daysstyle(treewide): ReformatBenedikt Peetz
9 dayschore(treewide): Add missing copyright headersBenedikt Peetz
9 daysstyle(yt/select): Apply clippy's suggestionsBenedikt Peetz
9 daysfix(yt/update): Also handle the newly introduced error conditionsBenedikt Peetz
9 daysfeat(yt_dlp): Support a DeArrow post processorBenedikt Peetz
9 daysrefactor(yt_dlp/lib): De-duplicate the info json sanitize codeBenedikt Peetz
9 daysrefactor(yt_dlp/lib): Explicitly convert python exceptions into an errorBenedikt Peetz
This avoids having to wrap all blocks into a `match` statement.
9 daysbuild(.envrc): Also disable ytdlp plugins by defaultBenedikt Peetz
9 daysbuild(package/package.nix): Update to the new build requirementsBenedikt Peetz
10 daysbuild({flake,Cargo}.lock): UpdateBenedikt Peetz
10 daysfix(scripts/mkdb.sh): Also use the `$DATABASE_URL` variable as source sourceBenedikt Peetz
This avoids having to specify the db location twice.
10 daysrefactor(yt/select/selection_file): Migrate from `trinitry` to `shlex`Benedikt Peetz
shlex is better maintained, and _actually_ meant for this purpose .
10 daystest(yt/cli): Test the CLIBenedikt Peetz
10 daysfix(libmpv2-sys): Avoid generating comments, that confuse rustdocBenedikt Peetz
10 daysfix(yt/cli): Remove duplicated short flag key (help also uses 'h')Benedikt Peetz
10 daysfeat(yt/cli): Add support for command line completionsBenedikt Peetz
10 daysbuild(.envrc): Remove outdated env variablesBenedikt Peetz
10 daysfeat(yt/select/split): Make sorting configurableBenedikt Peetz
I also moved that to a separate subcommand, as we would otherwise have too many `requires`/`conflicts_with` statements.
10 daysfeat(yt/videos/list): Replace the nucleo matcher with a simple `contains`Benedikt Peetz
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.
10 daysfix(yt/download/get_file_size): Correct deal with `filesize_approx` = NullBenedikt Peetz
10 daysfix(yt_dlp/json_{cast,get}): Improve error reportingBenedikt Peetz
10 daysbuild(treewide): UpdateBenedikt Peetz
10 daysfix(yt/update): Correct the progress display in `--grouped` modeBenedikt Peetz
10 daysdocs(yt/watch/playlist_handler/client_messages): Add TODO about `current_exe`Benedikt Peetz
10 daysdocs(yt_dlp): Fix typo in `Cargo.toml`'s descriptionBenedikt Peetz
10 daysfix(yt_dlp): Avoid writing the json output to diskBenedikt Peetz
There is no point in doing this anymore, as we no longer need to deserialize it.
10 daysfix(yt/update/video_entry_to_video): Cast the json objectsBenedikt Peetz
Otherwise, we might encounter very weird behaviour if yt_dlp ever changes the types of these keys.
10 daysfeat(yt/update): Print a nice progress numberBenedikt Peetz
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.