From e96868824b6341e10cc497f78f8dd9423bb68f21 Mon Sep 17 00:00:00 2001 From: tw93 Date: Fri, 30 Jan 2026 11:19:10 +0800 Subject: [PATCH] feat: clean Apple Podcasts zombie StreamedMedia files (#387) Add cleanup for sandboxed container tmp directory where zombie sparse files can accumulate (0-byte files with ~93MB pre-allocated APFS blocks). --- lib/clean/app_caches.sh | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/lib/clean/app_caches.sh b/lib/clean/app_caches.sh index 2402f09..c4ae7a7 100644 --- a/lib/clean/app_caches.sh +++ b/lib/clean/app_caches.sh @@ -114,6 +114,11 @@ clean_media_players() { fi safe_clean ~/Library/Caches/com.apple.Music "Apple Music cache" safe_clean ~/Library/Caches/com.apple.podcasts "Apple Podcasts cache" + # Apple Podcasts sandbox container: zombie sparse files and stale artwork cache (#387) + safe_clean ~/Library/Containers/com.apple.podcasts/Data/tmp/StreamedMedia "Podcasts streamed media" + safe_clean ~/Library/Containers/com.apple.podcasts/Data/tmp/*.heic "Podcasts artwork cache" + safe_clean ~/Library/Containers/com.apple.podcasts/Data/tmp/*.img "Podcasts image cache" + safe_clean ~/Library/Containers/com.apple.podcasts/Data/tmp/*CFNetworkDownload*.tmp "Podcasts download temp" safe_clean ~/Library/Caches/com.apple.TV/* "Apple TV cache" safe_clean ~/Library/Caches/tv.plex.player.desktop "Plex cache" safe_clean ~/Library/Caches/com.netease.163music "NetEase Music cache"