# Changelog All notable changes to this project will be documented in this file. See [conventional commits](https://www.conventionalcommits.org/) for commit guidelines. - - - ## [v1.2.0](https://git.vhack.eu/soispha/clients/yt/compare/c467d7a4457363b0da4a41aa4869ab368ff452e3..v1.2.0) - 2024-08-25 #### Bug Fixes - **(cli/selectCommand)** Explicitly set the aliases - ([35db9c0](https://git.vhack.eu/soispha/clients/yt/commit/35db9c0d4ad2029300087370ccaa5c49b10d1638)) - [@soispha](https://git.vhack.eu/soispha) - **(config)** Check for wrong keys in the config file - ([43522ef](https://git.vhack.eu/soispha/clients/yt/commit/43522ef7898c60ffd3e7c5ff056fd765635bbc5c)) - [@soispha](https://git.vhack.eu/soispha) - **(config/from_filesystem)** Only create the parent of config paths - ([8345367](https://git.vhack.eu/soispha/clients/yt/commit/834536721ce27ebfb8d73ae529d0f446725b3a4d)) - [@soispha](https://git.vhack.eu/soispha) - **(config/from_filesystem)** Just load an empty config, if there isn't one - ([c467d7a](https://git.vhack.eu/soispha/clients/yt/commit/c467d7a4457363b0da4a41aa4869ab368ff452e3)) - [@soispha](https://git.vhack.eu/soispha) - **(contrib/config.toml)** Correct typo in config key - ([18303c2](https://git.vhack.eu/soispha/clients/yt/commit/18303c231ce2f6636b7958d6db0d7041665960ce)) - [@soispha](https://git.vhack.eu/soispha) - **(download)** Don't fail hard, when a video file size can't be approximated - ([82285c8](https://git.vhack.eu/soispha/clients/yt/commit/82285c86bf811c642b4593bc9a28633e92feceb4)) - [@soispha](https://git.vhack.eu/soispha) - **(downloader)** Fallback to calculating the video size, before using hardcoded value - ([66c4526](https://git.vhack.eu/soispha/clients/yt/commit/66c4526d120b52ba8cf6a53196477b99d4cffaca)) - [@soispha](https://git.vhack.eu/soispha) - **(downloader)** Remove useless logs - ([df06c51](https://git.vhack.eu/soispha/clients/yt/commit/df06c51b39fed58c8230fad93dac2e274d3a7f56)) - [@soispha](https://git.vhack.eu/soispha) - **(downloader)** Be smarter, when checking for available cache - ([09d03dc](https://git.vhack.eu/soispha/clients/yt/commit/09d03dc79c6e39f12392b3a9edf5c121519bfc92)) - [@soispha](https://git.vhack.eu/soispha) - **(select/cmds)** Accept the watch flags for every command - ([6adacc3](https://git.vhack.eu/soispha/clients/yt/commit/6adacc346a6b0406e69e77a24b204f2e74182471)) - [@soispha](https://git.vhack.eu/soispha) - **(select/display)** Only align the status commands in color_display - ([ffab606](https://git.vhack.eu/soispha/clients/yt/commit/ffab6069611efe74b8f01c0b8cbcb01afc37ed47)) - [@soispha](https://git.vhack.eu/soispha) - **(select/duration)** Report parse errors, as the input is user specified - ([fb751fa](https://git.vhack.eu/soispha/clients/yt/commit/fb751fa0959fc99bc662e273a7aedffb0d335801)) - [@soispha](https://git.vhack.eu/soispha) - **(storage/database)** Already borrow the `VideoStatus::ALL` constant - ([f8546ef](https://git.vhack.eu/soispha/clients/yt/commit/f8546efe4e52bf517d54b0d5fd45fc196cb05bcd)) - [@soispha](https://git.vhack.eu/soispha) - **(storage/extractor_hash)** Remove useless logs - ([51fa79a](https://git.vhack.eu/soispha/clients/yt/commit/51fa79a22d4cca066c5272bd6f9fab923dab9c4a)) - [@soispha](https://git.vhack.eu/soispha) - **(treewide)** Always display bytes in a formatted way through `Bytes` - ([324ddec](https://git.vhack.eu/soispha/clients/yt/commit/324ddec41d474bb4840a2b76db48b5f97ed65889)) - [@soispha](https://git.vhack.eu/soispha) - **(update_raw.py)** Only return the needed fields to rust - ([dde1e0b](https://git.vhack.eu/soispha/clients/yt/commit/dde1e0b672dc9829de4120f87464d00a79535e15)) - [@soispha](https://git.vhack.eu/soispha) - **(yt_dlp/info_json)** Accept further missing fields in the info_json - ([cedffd5](https://git.vhack.eu/soispha/clients/yt/commit/cedffd59dd4047908a87e7c52ae5a9d5876a8b15)) - [@soispha](https://git.vhack.eu/soispha) - **(yt_dlp/lib/hook)** Don't print download progress, when debug is logged - ([5e46f47](https://git.vhack.eu/soispha/clients/yt/commit/5e46f4726f308cbe25a84e71e083ffe99e9e4c2d)) - [@soispha](https://git.vhack.eu/soispha) #### Build system - **(treewide)** Update - ([7cc9b60](https://git.vhack.eu/soispha/clients/yt/commit/7cc9b6069f803fcb99f5089ca50558ae16d4a70e)) - [@soispha](https://git.vhack.eu/soispha) - **(update.sh)** Correct path specifications and upgrade incompatible deps - ([d083afc](https://git.vhack.eu/soispha/clients/yt/commit/d083afc2db80a061dc96f8a9c47235edfce89854)) - [@soispha](https://git.vhack.eu/soispha) #### Documentation - **(cache)** Add context to the cache_path deletion error - ([e8d165f](https://git.vhack.eu/soispha/clients/yt/commit/e8d165fe0ef18530f3c921778cae1d4b2bed2ee1)) - [@soispha](https://git.vhack.eu/soispha) - **(yt_dlp/progress_hook)** Add a note about the possibility to calculate video sizes - ([8e79f6c](https://git.vhack.eu/soispha/clients/yt/commit/8e79f6c27128ce9ef7aed28ddb3cac59eca3e701)) - [@soispha](https://git.vhack.eu/soispha) #### Features - **(bytes)** Add implementation for serde's `Serialize` - ([66ded1e](https://git.vhack.eu/soispha/clients/yt/commit/66ded1ec598639fd54a75d6af007ed60541df5ca)) - [@soispha](https://git.vhack.eu/soispha) - **(cli)** Support the common select -> download -> watch workflow - ([5638cbd](https://git.vhack.eu/soispha/clients/yt/commit/5638cbda332f0cb4d2bc5bfefac5a3ab3d01366e)) - [@soispha](https://git.vhack.eu/soispha) - **(cli/config)** Show the currently active configuration - ([55e8da5](https://git.vhack.eu/soispha/clients/yt/commit/55e8da54a85c817bc6f71a9af43a7f6d813a67b3)) - [@soispha](https://git.vhack.eu/soispha) - **(cli/selectCommand/file)** Allow re-use of the previous selection file - ([b0ba7c7](https://git.vhack.eu/soispha/clients/yt/commit/b0ba7c7d5329148495d9a676c3314a9a35e4ca18)) - [@soispha](https://git.vhack.eu/soispha) - **(crates/bytes)** Support decimal number input - ([8327e89](https://git.vhack.eu/soispha/clients/yt/commit/8327e89e0b66a6c43d14b8c3003e781635f9baa1)) - [@soispha](https://git.vhack.eu/soispha) - **(downloader)** Display the sizes, when waiting for a cache size reduction - ([5ae4ea6](https://git.vhack.eu/soispha/clients/yt/commit/5ae4ea69a25abda96a4114298216a8602c2d7d5d)) - [@soispha](https://git.vhack.eu/soispha) - **(select/cmds)** Add a `watched` command - ([cc07fd4](https://git.vhack.eu/soispha/clients/yt/commit/cc07fd430f5860481d6dd7e9050bf32da11d76ce)) - [@soispha](https://git.vhack.eu/soispha) - **(select/display)** Also show the video hash when color displaying it - ([0f4abc0](https://git.vhack.eu/soispha/clients/yt/commit/0f4abc0997625fe4912883947210fbc9f2712396)) - [@soispha](https://git.vhack.eu/soispha) - **(status)** Also show the cache usage - ([c05f431](https://git.vhack.eu/soispha/clients/yt/commit/c05f4317b299f1ebaff4955339f6d9ce44e9891b)) - [@soispha](https://git.vhack.eu/soispha) - **(videos)** Allow limiting the number of videos to show - ([4eeb519](https://git.vhack.eu/soispha/clients/yt/commit/4eeb519ae5398b5b5f5c7d9938e3887cac2c9faf)) - [@soispha](https://git.vhack.eu/soispha) - **(videos)** Init - ([d5c2fcc](https://git.vhack.eu/soispha/clients/yt/commit/d5c2fcc184f764f9d4bb5846a1182c6014316bdc)) - [@soispha](https://git.vhack.eu/soispha) - **(watch)** Idle until new videos are available instead of exiting - ([020c6e2](https://git.vhack.eu/soispha/clients/yt/commit/020c6e2ed2f424f997d0f124f7ae1aabb8a020dc)) - [@soispha](https://git.vhack.eu/soispha) - **(watch/handlers)** Add status messages to the script handlers - ([0380edd](https://git.vhack.eu/soispha/clients/yt/commit/0380edd9681862150568b9f544c1e718523c31ab)) - [@soispha](https://git.vhack.eu/soispha) #### Refactoring - **(comments)** Remove dead code - ([a8c50ca](https://git.vhack.eu/soispha/clients/yt/commit/a8c50ca481a153a51467acf7cc4e418c952e909b)) - [@soispha](https://git.vhack.eu/soispha) - **(treewide)** Conform to `cargo clippy` - ([a60cd8f](https://git.vhack.eu/soispha/clients/yt/commit/a60cd8f2a96aae3f7db8dfccec2aa5cf21f8c411)) - [@soispha](https://git.vhack.eu/soispha) - **(watch)** Don't track the playlist, use the properties of `mpv` instead - ([75f2a6a](https://git.vhack.eu/soispha/clients/yt/commit/75f2a6a9cf0bab4be6530a0f91fa05bf9d9d1b24)) - [@soispha](https://git.vhack.eu/soispha) - **(watch/playlist_handler)** Init - ([83643e0](https://git.vhack.eu/soispha/clients/yt/commit/83643e0370b101968bd3de5e9a81c2b309955cbd)) - [@soispha](https://git.vhack.eu/soispha) #### Style - **(treewide)** Reformat - ([e9be421](https://git.vhack.eu/soispha/clients/yt/commit/e9be4219b63cbb4fdfe8de8779481568a69ceb8a)) - [@soispha](https://git.vhack.eu/soispha) #### Tests - **(storage/setters)** Assert the video status in `set_video_watched` - ([ee57640](https://git.vhack.eu/soispha/clients/yt/commit/ee576400ce9c9e4f5d4ce420987ffd3ebe8ff5e0)) - [@soispha](https://git.vhack.eu/soispha) - - - ## [v1.1.0](https://git.vhack.eu/soispha/clients/yt/compare/07fe26382e7a13a3a14a664345f73d97039d0b03..v1.1.0) - 2024-08-23 #### Bug Fixes - **(cli)** Always log with a verbosity of at least WARN - ([0cf8d97](https://git.vhack.eu/soispha/clients/yt/commit/0cf8d9759f1bcfef39626406867c41b425178d48)) - [@soispha](https://git.vhack.eu/soispha) - **(cli/verbosity)** Simplify setting the default level - ([0929e66](https://git.vhack.eu/soispha/clients/yt/commit/0929e662cbf5cde2f0558df785830a24118c930e)) - [@soispha](https://git.vhack.eu/soispha) - **(package)** Actually provide the blake3 library to the python interpreter - ([07fe263](https://git.vhack.eu/soispha/clients/yt/commit/07fe26382e7a13a3a14a664345f73d97039d0b03)) - [@soispha](https://git.vhack.eu/soispha) - **(storage/downloader)** Sort the next videos to be downloaded like in the selection file - ([f497dd5](https://git.vhack.eu/soispha/clients/yt/commit/f497dd5581358fc6e8fdd895500eea4141dd1519)) - [@soispha](https://git.vhack.eu/soispha) - **(storage/schema.sql)** Tell SQLite to perform type-checking - ([aded88a](https://git.vhack.eu/soispha/clients/yt/commit/aded88ac8094a71a8ed559615e4150d302fb5e8b)) - [@soispha](https://git.vhack.eu/soispha) - **(storage/setters)** Enforce status invariants - ([2e75681](https://git.vhack.eu/soispha/clients/yt/commit/2e75681a0569b67c81efc051ea57f56f14c09543)) - [@soispha](https://git.vhack.eu/soispha) - **(storage/setters)** Avoid writing a literal "NULL" string into the db - ([42971f7](https://git.vhack.eu/soispha/clients/yt/commit/42971f7b1ae7fb006a1a2007db72a8c45e45fd36)) - [@soispha](https://git.vhack.eu/soispha) - **(treewide)** Actually use the values from the config - ([86e9c74](https://git.vhack.eu/soispha/clients/yt/commit/86e9c745681a6cde96e1089b9a70f7cd2397a720)) - [@soispha](https://git.vhack.eu/soispha) - **(update)** Propagate the logging options to the `update_raw.py` script - ([8594386](https://git.vhack.eu/soispha/clients/yt/commit/85943861ea66ee5eaf40aa2c405892636b59ce71)) - [@soispha](https://git.vhack.eu/soispha) - **(yt_dlp/lib)** Standardize the formatting of bytes with the new `bytes` crate - ([2e168d0](https://git.vhack.eu/soispha/clients/yt/commit/2e168d07314c38adbe25a046a06c8f62e5e33c6e)) - [@soispha](https://git.vhack.eu/soispha) #### Documentation - **(config)** Add an example configuration file - ([d78f57a](https://git.vhack.eu/soispha/clients/yt/commit/d78f57a5b3ae5af7e5711f7d050dfb6f9c6057b3)) - [@soispha](https://git.vhack.eu/soispha) #### Features - **(cli)** Add an explicit `subs export` subcommand - ([ce55247](https://git.vhack.eu/soispha/clients/yt/commit/ce5524775bb7a7f34f92ee732c7e4df29142cf00)) - [@soispha](https://git.vhack.eu/soispha) - **(crates/bytes)** Init - ([d21a523](https://git.vhack.eu/soispha/clients/yt/commit/d21a523ab459f7a6893e85822d0ef5d4ec795949)) - [@soispha](https://git.vhack.eu/soispha) - **(treewide)** Use a configuration file - ([94c656a](https://git.vhack.eu/soispha/clients/yt/commit/94c656ad40a7aae570e5a5fb61ad32632acc6d46)) - [@soispha](https://git.vhack.eu/soispha) - **(watch/events)** Add further understood script-messages - ([293b7b2](https://git.vhack.eu/soispha/clients/yt/commit/293b7b2bcf3b6ae6db98eb5dfa0c3496f2a1b2df)) - [@soispha](https://git.vhack.eu/soispha) #### Miscellaneous Chores - **(yt_dlp/info_json)** Add further fields - ([a5a80eb](https://git.vhack.eu/soispha/clients/yt/commit/a5a80eb2de4beddca9e1c1478e63eb783c1bdc1d)) - [@soispha](https://git.vhack.eu/soispha) - **(yt_dlp/progress_hook)** Also consider the `total_bytes_estimate` field - ([82f40b3](https://git.vhack.eu/soispha/clients/yt/commit/82f40b353a744924816a5844fbfe44781ca40df3)) - [@soispha](https://git.vhack.eu/soispha) #### Refactoring - **(cli)** Replace the byte parser with the one from the `bytes` crate - ([08e9d68](https://git.vhack.eu/soispha/clients/yt/commit/08e9d686a836032ec54834a8142be4d7302205e0)) - [@soispha](https://git.vhack.eu/soispha) - **(cli)** Remove the useless `concurrent_processes` flag from `update` - ([6603420](https://git.vhack.eu/soispha/clients/yt/commit/66034207a6b98fb8e9b7a6b1f9d860731dc44743)) - [@soispha](https://git.vhack.eu/soispha) - **(libmpv2)** Move to the `crates` directory - ([0ae5018](https://git.vhack.eu/soispha/clients/yt/commit/0ae5018c33cc4bfe27583c9902472b499f4bd269)) - [@soispha](https://git.vhack.eu/soispha) - **(storage)** Make all URL parsings panic - ([d71f3ef](https://git.vhack.eu/soispha/clients/yt/commit/d71f3efe57646d639ae19b26dbea5115c219557c)) - [@soispha](https://git.vhack.eu/soispha) - **(storage/downloader)** Remove unused `get_next_video_watchable` - ([9a53a73](https://git.vhack.eu/soispha/clients/yt/commit/9a53a739b0f0e1a6741ec6f1bef6a572a8743182)) - [@soispha](https://git.vhack.eu/soispha) - **(storage/getters)** Inline an Option re-creation with `map` - ([b334010](https://git.vhack.eu/soispha/clients/yt/commit/b33401043b512f2538079ea9ee618b09deffe0d5)) - [@soispha](https://git.vhack.eu/soispha) - **(yt_dlp)** Also move the `crates` subdirectory - ([52e99b3](https://git.vhack.eu/soispha/clients/yt/commit/52e99b38eae6b4f3cb991342ff9ba9abbab9e42c)) - [@soispha](https://git.vhack.eu/soispha) #### Style - **(treewide)** Format - ([4c8a71e](https://git.vhack.eu/soispha/clients/yt/commit/4c8a71e3fc2e0d9c30e47241d3740c49c834d3fa)) - [@soispha](https://git.vhack.eu/soispha) - - - ## [v1.0.0](https://git.vhack.eu/soispha/clients/yt/compare/812dde842c25183a482a98e02eeca724a5d24320..v1.0.0) - 2024-08-22 #### Bug Fixes - **(constants)** Don't set a default subtile language - ([b26ffaa](https://git.vhack.eu/soispha/clients/yt/commit/b26ffaa3d0815bae5ea7663df8690326c4a06e56)) - [@soispha](https://git.vhack.eu/soispha) - **(storage/get_videos)** Also order by `publish_date` - ([e072f23](https://git.vhack.eu/soispha/clients/yt/commit/e072f23cdb739837b69165b889c2792a815a192d)) - [@soispha](https://git.vhack.eu/soispha) - **(subscriptions/add)** Ignore the trailing slash on URLs - ([a2015b8](https://git.vhack.eu/soispha/clients/yt/commit/a2015b82eeb1dde1aded82435b3f3700232b9d83)) - [@soispha](https://git.vhack.eu/soispha) - **(update)** Correctly treat a success as a success - ([c0245c2](https://git.vhack.eu/soispha/clients/yt/commit/c0245c2a33dd4b59067f7b67dc4f26190abab59c)) - [@soispha](https://git.vhack.eu/soispha) - **(watch/events)** Also mark a video inactive on the stop event - ([6b16545](https://git.vhack.eu/soispha/clients/yt/commit/6b16545ce7b4cb1fe8c029e40e64ebca020f4968)) - [@soispha](https://git.vhack.eu/soispha) - **(yt_dlp/info_json)** Add further missing fields - ([c72dc6e](https://git.vhack.eu/soispha/clients/yt/commit/c72dc6e1c2fd836ad0894877207b834ce3aedc6c)) - [@soispha](https://git.vhack.eu/soispha) #### Build system - **(package)** Include python `blake3` dependency - ([812dde8](https://git.vhack.eu/soispha/clients/yt/commit/812dde842c25183a482a98e02eeca724a5d24320)) - [@soispha](https://git.vhack.eu/soispha) #### Features - **(download)** Support limiting the downloader by maximal cache size - ([6bfc7ee](https://git.vhack.eu/soispha/clients/yt/commit/6bfc7ee06dc1a598014dd5bec659b14a3aa87bbd)) - [@soispha](https://git.vhack.eu/soispha) - **(select/file)** Allow `--priority` argument to all functions - ([2fd17e5](https://git.vhack.eu/soispha/clients/yt/commit/2fd17e51868b5f25e888b6aee1c1f56f3fbec40b)) - [@soispha](https://git.vhack.eu/soispha) #### Miscellaneous Chores - **(treewide)** Add missing license - ([e227b92](https://git.vhack.eu/soispha/clients/yt/commit/e227b92207401c6904e0507360d63461d822ffd7)) - [@soispha](https://git.vhack.eu/soispha) #### Performance Improvements - **(raw_update.py)** Don't fetch entries that are already in the database - ([53f49fa](https://git.vhack.eu/soispha/clients/yt/commit/53f49fa9279ac86944dfdc48f80a5783430632bf)) - [@soispha](https://git.vhack.eu/soispha) #### Tests - **(benches/update)** Init - ([72acfb9](https://git.vhack.eu/soispha/clients/yt/commit/72acfb93627918f6fc9c68a5bf5b4ecf34d07a23)) - [@soispha](https://git.vhack.eu/soispha) - - - ## [v0.1.3](https://git.vhack.eu/soispha/clients/yt/compare/be14a2827878e1c86ced04d595af7317766153ec..v0.1.3) - 2024-08-21 #### Bug Fixes - **(yt_dlp/info_json)** Add another missing attribute - ([be14a28](https://git.vhack.eu/soispha/clients/yt/commit/be14a2827878e1c86ced04d595af7317766153ec)) - [@soispha](https://git.vhack.eu/soispha) - - - ## [v0.1.2](https://git.vhack.eu/soispha/clients/yt/compare/54ad8cdafba9ac3e054bb12e26a025ae2fb088e8..v0.1.2) - 2024-08-21 #### Bug Fixes - **(yt_dlp/info_json)** Add further fields - ([947e3f1](https://git.vhack.eu/soispha/clients/yt/commit/947e3f119995b02ca5455683632f4ca7e1b6e670)) - [@soispha](https://git.vhack.eu/soispha) #### Build system - **(flake)** Wrap the yt binary with the required dependencies - ([54ad8cd](https://git.vhack.eu/soispha/clients/yt/commit/54ad8cdafba9ac3e054bb12e26a025ae2fb088e8)) - [@soispha](https://git.vhack.eu/soispha) #### Documentation - **(yt_dlp/lib)** Improve some comments - ([269cf79](https://git.vhack.eu/soispha/clients/yt/commit/269cf79c5e25b6b3440ad11dee4b0662cdc74221)) - [@soispha](https://git.vhack.eu/soispha) - - - ## [v0.1.1](https://git.vhack.eu/soispha/clients/yt/compare/4907705f19ba5299247c4a16fc0675c6b6f5f016..v0.1.1) - 2024-08-21 #### Bug Fixes - **(select/duration)** Also parse `[No Duration]` as duration - ([27a007a](https://git.vhack.eu/soispha/clients/yt/commit/27a007ad021c4b8d62b857a6e312a608d33b6cb0)) - [@soispha](https://git.vhack.eu/soispha) - **(update)** Use the `raw_update.py` from the path - ([c89c6a0](https://git.vhack.eu/soispha/clients/yt/commit/c89c6a07925cfeb1287fff42a8964ae5253d3b83)) - [@soispha](https://git.vhack.eu/soispha) #### Build system - **(flake)** Add package definition - ([4907705](https://git.vhack.eu/soispha/clients/yt/commit/4907705f19ba5299247c4a16fc0675c6b6f5f016)) - [@soispha](https://git.vhack.eu/soispha) - - - Changelog generated by [cocogitto](https://github.com/cocogitto/cocogitto).