Skip to content

feat: implement Auto-Tagging system#2146

Draft
TheNightShift-nsfw wants to merge 2 commits into
xbapps:masterfrom
TheNightShift-nsfw:feat-autoTag
Draft

feat: implement Auto-Tagging system#2146
TheNightShift-nsfw wants to merge 2 commits into
xbapps:masterfrom
TheNightShift-nsfw:feat-autoTag

Conversation

@TheNightShift-nsfw

Copy link
Copy Markdown

This PR introduces a comprehensive Auto-Tagging system for XBVR.

Features:

  • Actor trait tagging: Automatically tag scenes with actor age, height, nationality, ethnicity, hair/eye color, and cup size.
  • Video quality tagging: Tags for resolution (4K, 8K, etc.) and format (180, 360, Flat).
  • Scene attribute tagging: Tags for duration categories and interracial status.
  • Schedule integration: New 'Auto Tags' tab in Task Schedules to configure and automate these tasks.
  • System Tag management: System-generated tags are marked as such, allowing for easy reset without affecting manual tags.

Minor Fixes:

  • Improved DLNA stability by handling missing icons gracefully.

Closes #2129 (if applicable, based on recent deps update context).

- Add configurable gender filter for actor-based tags (dynamic
  checkboxes from distinct actor genders in DB)
- Fix early-exit bug that skipped all tagging unless BreastType
  was enabled
- Fix resolution thresholds: 4K band was unreachable (5K caught
  everything >= 2160); 5K now >= 2700
- Process scenes in batches of 500 instead of loading entire
  library into memory
- Pre-cache system tags and reuse the open DB handle instead of
  opening a connection per tag write
- Fix stale duplicate check that could double-append tags
- New endpoint /api/task/actor-genders for the UI filter

Co-Authored-By: Claude Fable 5 <noreply@anthropic.com>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant