Files
nfoguard/SUMMARY.md
T
2025-09-14 13:49:15 -04:00

1.6 KiB

NFOGuard Development Summary

Current Status: v1.3.8 - NFO Field Ordering Fix

Latest Updates (v1.3.8)

  • 🎯 FIELD ORDERING: NFOGuard fields now append at bottom of existing NFO content
  • 📋 STRUCTURE: Date fields (premiered, dateadded, lockdata) appear after all existing metadata
  • PRESERVATION: All existing content (actors, plot, ratings, etc.) maintained in original order
  • 🧹 SMART CLEANUP: Only removes NFOGuard-added elements, preserves existing uniqueid[tmdb]

NFO Field Order (Fixed)

Now places NFOGuard fields at the bottom:

<movie>
  <!-- All existing Radarr/Jellyfin content preserved -->
  <title>Movie Title</title>
  <plot>Plot content...</plot>
  <actor>...</actor>
  <!-- ... all existing fields ... -->
  
  <!-- NFOGuard fields appended at bottom -->
  <uniqueid type="imdb" default="true">tt8350360</uniqueid>
  <premiered>2019-06-26</premiered>  <!-- only if missing -->
  <dateadded>2025-09-14T13:45:54-04:00</dateadded>
  <lockdata>true</lockdata>
</movie>

Smart Element Management

  • Preserves existing uniqueid[tmdb] and other IDs
  • Only removes NFOGuard-managed uniqueid[imdb] to avoid duplicates
  • Appends new fields using ET.SubElement() for bottom placement
  • Maintains clean XML structure and formatting

Complete Path Processing Pipeline

  • Path Mapping: Fixed substring matching (movies/movies6, tv/tv6)
  • Database Schema: Clean migration with all required columns
  • NFO Preservation: Existing metadata maintained with fields appended
  • Webhook Processing: End-to-end processing working correctly