diff options
author | Benedikt Peetz <benedikt.peetz@b-peetz.de> | 2024-10-19 14:26:28 +0200 |
---|---|---|
committer | Benedikt Peetz <benedikt.peetz@b-peetz.de> | 2024-10-19 14:26:28 +0200 |
commit | dd1d471820251dc9c5f60a5508e0e80711fb221a (patch) | |
tree | f400cc4d22736945c56dd3a302577df29cba0c96 /crates/yt_dlp/src/lib.rs | |
parent | fix(yt/download): Create the download dir, if it does not exist (diff) | |
download | yt-dd1d471820251dc9c5f60a5508e0e80711fb221a.tar.gz yt-dd1d471820251dc9c5f60a5508e0e80711fb221a.zip |
fix(yt/cache): Don't try to delete video cache paths that don't exist anymore
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.
Diffstat (limited to 'crates/yt_dlp/src/lib.rs')
0 files changed, 0 insertions, 0 deletions