Complete v0.6.0 documentation update and review
📚 Documentation Updates: • Updated CHANGELOG.md with comprehensive v0.6.0 feature list • Enhanced README.md with new TV processing endpoints and examples • Updated SETUP.md with required Sonarr API key configuration • Enhanced TESTING.md with v0.6.0 TV testing procedures • Updated .env templates with proper Sonarr requirements 🔧 Configuration Updates: • Mark SONARR_API_KEY as REQUIRED for v0.6.0+ Enhanced TV NFOs • Updated version examples from 0.5.1 to 0.6.0 • Added JSON response examples for new TV endpoints • Clarified URL-safe vs URL-encoded endpoint options 📋 Complete File Review: • Verified all Python imports are consistent across modules • Confirmed all typing imports (Dict, Any, List, Optional) are present • Validated configuration templates match actual requirements • Added comprehensive testing procedures for TV enhancements ✅ Ready for Production: • All endpoints documented with examples • Configuration requirements clearly specified • Testing procedures comprehensive for troubleshooting • Backward compatibility maintained throughout
This commit is contained in:
+28
@@ -114,6 +114,34 @@ curl -X POST "http://localhost:8080/manual/scan?scan_type=movies"
|
||||
curl -X POST "http://localhost:8080/bulk/update"
|
||||
```
|
||||
|
||||
### Step 6: Test Enhanced TV Processing (v0.6.0+)
|
||||
```bash
|
||||
# Test Sonarr API integration
|
||||
curl "http://localhost:8080/health"
|
||||
# Check that Sonarr connection shows up
|
||||
|
||||
# Test single season processing (URL-safe)
|
||||
curl -X POST "http://localhost:8080/tv/scan-season" \
|
||||
-H "Content-Type: application/json" \
|
||||
-d '{
|
||||
"series_path": "/media/TV/tv/Your Show [imdb-tt1234567]",
|
||||
"season_name": "Season 01"
|
||||
}'
|
||||
|
||||
# Test single episode processing (URL-safe)
|
||||
curl -X POST "http://localhost:8080/tv/scan-episode" \
|
||||
-H "Content-Type: application/json" \
|
||||
-d '{
|
||||
"series_path": "/media/TV/tv/Your Show [imdb-tt1234567]",
|
||||
"season_name": "Season 01",
|
||||
"episode_name": "S01E01.mkv"
|
||||
}'
|
||||
|
||||
# Verify enhanced NFO was created with metadata
|
||||
find /media/TV/tv -name "S01E*.nfo" | head -1 | xargs cat
|
||||
# Should show: <title>, <plot>, <rating>, <runtime>, timestamps
|
||||
```
|
||||
|
||||
## 🛠 Why These Tests Are Needed
|
||||
|
||||
1. **Docker Environment Isolation**: Tests run in the same environment as the production app
|
||||
|
||||
Reference in New Issue
Block a user