43 lines
1.7 KiB
Markdown
43 lines
1.7 KiB
Markdown
# NFOGuard Development Summary
|
|
|
|
## Current Status: v1.4.0 - Complete Date Field Management
|
|
|
|
### Latest Updates (v1.4.0)
|
|
- **🎯 ALL DATE FIELDS**: Now moves premiered, year, dateadded, and lockdata to bottom
|
|
- **📋 COMPREHENSIVE**: Removes existing premiered/year fields and re-adds at bottom
|
|
- **✅ PRESERVATION**: Preserves existing premiered date if no new release date provided
|
|
- **🧹 CLEAN STRUCTURE**: All date/metadata fields grouped together at bottom
|
|
|
|
### Complete NFO Structure (Fixed)
|
|
```xml
|
|
<movie>
|
|
<!-- All existing Radarr/Jellyfin content preserved -->
|
|
<title>Annabelle Comes Home</title>
|
|
<plot>Plot content...</plot>
|
|
<uniqueid type="tmdb" default="true">521029</uniqueid> <!-- preserved -->
|
|
<genre>Horror</genre>
|
|
<director>Gary Dauberman</director>
|
|
<actor>...</actor>
|
|
<!-- ... all existing fields including all actors ... -->
|
|
|
|
<!-- ALL date/metadata fields at absolute bottom -->
|
|
<uniqueid type="imdb" default="true">tt8350360</uniqueid>
|
|
<premiered>2019-06-26</premiered>
|
|
<year>2019</year>
|
|
<dateadded>2025-09-14T13:50:34-04:00</dateadded>
|
|
<lockdata>true</lockdata>
|
|
</movie>
|
|
```
|
|
|
|
### NFOGuard Managed Fields
|
|
- ✅ `uniqueid[type="imdb"]` - IMDb ID for identification
|
|
- ✅ `premiered` - Release date (moved to bottom)
|
|
- ✅ `year` - Extracted from premiered date
|
|
- ✅ `dateadded` - Import timestamp
|
|
- ✅ `lockdata` - Prevents metadata overwrites
|
|
|
|
### 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 |