sd-webui-infinite-image-bro.../scripts/iib
zanllp a5b99223e3 fix: cleanup orphaned images when removing extra paths
When a folder is removed from the library, images under that folder are
now properly cleaned up from the database if they are not covered by any
other registered paths. This fixes the issue where Random Image would
pull from folders that had been removed.

The cleanup logic checks if each image is still "owned" by any remaining
scanned path before deletion, supporting nested path scenarios where a
parent path may still contain the images.

Fixes #868

Co-Authored-By: Claude <noreply@anthropic.com>
2026-02-18 14:21:56 +08:00
..
db fix: cleanup orphaned images when removing extra paths 2026-02-18 14:21:56 +08:00
parsers feat: add audio file playback support and improve TikTok view 2025-12-15 00:22:23 +08:00
api.py fix: cleanup orphaned images when removing extra paths 2026-02-18 14:21:56 +08:00
auto_tag.py fix: add null checks for Tag.get_or_create calls 2026-01-23 00:17:53 +08:00
dir_cover_cache.py Enhance compatibility 2024-06-23 03:44:46 +08:00
fastapi_video.py fix: 修复视频流 Range 解析并提升大文件吞吐 2026-01-24 18:04:28 +08:00
img_cache_gen.py fix 2026-01-04 23:21:40 +08:00
logger.py Resolved module conflict 2023-06-03 16:29:46 +08:00
organize_files.py feat: AI reuses existing folder names when organizing files 2026-02-17 20:02:19 +08:00
plugin.py releases/iib_app_cli 2024-08-24 04:53:58 +08:00
seq.py Fix: Replace seq function with custom implementation to avoid dependency errors 2024-02-18 22:59:25 +08:00
tag_graph.py Update: cache banner and type declarations 2026-01-18 14:20:06 +08:00
tool.py feat: add smart organize feature with AI-powered file organization 2026-02-17 17:14:02 +08:00
topic_cluster.py feat: AI reuses existing folder names when organizing files 2026-02-17 20:02:19 +08:00
video_cover_gen.py Add support for pre-generating cache via startup parameters and specifying cache directory through environment variables 2024-07-08 00:07:12 +08:00