about summary refs log tree commit diff stats
path: root/src/storage
diff options
context:
space:
mode:
authorBenedikt Peetz <benedikt.peetz@b-peetz.de>2024-10-19 14:26:28 +0200
committerBenedikt Peetz <benedikt.peetz@b-peetz.de>2024-10-19 14:26:28 +0200
commitdd1d471820251dc9c5f60a5508e0e80711fb221a (patch)
treef400cc4d22736945c56dd3a302577df29cba0c96 /src/storage
parentfix(yt/download): Create the download dir, if it does not exist (diff)
downloadyt-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 'src/storage')
0 files changed, 0 insertions, 0 deletions