54 lines
1.5 KiB
Markdown
54 lines
1.5 KiB
Markdown
# NFOGuard Development Summary
|
|
|
|
## Current Status: v1.4.8 - Config Attribute Names Fix! 🔧
|
|
|
|
### Latest Updates (v1.4.8)
|
|
- **🐛 CRITICAL FIX**: Fixed config attribute name mismatch in PathMapper
|
|
- **✅ ATTRIBUTE ERROR**: Resolved AttributeError for radarr_root_folders
|
|
- **🔧 CONFIG NAMING**: Updated PathMapper to use correct config attribute names
|
|
- **🚀 WORKING**: Container should now start successfully with proper path mapping
|
|
|
|
### Fixed Config Attribute Error
|
|
**Error:**
|
|
```
|
|
AttributeError: 'NFOGuardConfig' object has no attribute 'radarr_root_folders'
|
|
```
|
|
|
|
**Fix:**
|
|
```python
|
|
# Before (broken - lowercase):
|
|
config.radarr_root_folders
|
|
config.sonarr_root_folders
|
|
config.movie_paths
|
|
config.tv_paths
|
|
|
|
# After (fixed - uppercase):
|
|
config.RADARR_ROOT_FOLDERS
|
|
config.SONARR_ROOT_FOLDERS
|
|
config.MOVIE_PATHS
|
|
config.TV_PATHS
|
|
```
|
|
|
|
### Expected Startup Now
|
|
```
|
|
INFO: Loaded environment from .env
|
|
INFO: Loaded secrets from .env.secrets
|
|
INFO: Starting NFOGuard v1.4.8
|
|
INFO: Movie priority: import_then_digital
|
|
INFO: Server starting on port 8080
|
|
```
|
|
|
|
### Path Mapping Status
|
|
- ✅ **Configuration**: Attribute names now match config class
|
|
- ✅ **Path Debug**: PATH_DEBUG=false gives clean logs
|
|
- ✅ **Initialization**: PathMapper should load paths correctly
|
|
- ✅ **Ready**: Both movie and TV webhook processing functional
|
|
|
|
## 🔧 NFOGuard v1.4.8 fixes the config attribute issue - restart ready! 🔧
|
|
|
|
### Restart Command:
|
|
```bash
|
|
docker compose down
|
|
docker compose up -d
|
|
docker logs -f sonarr-nfo-cache
|
|
``` |