Tips and Tricks
Best Practices
Directory Organization
Organize your files consistently:
TV Shows/
├── Show Name/
│ ├── Season 1/
│ │ ├── episode1.mkv
│ │ └── episode2.mkv
│ └── Season 2/
│ ├── episode1.mkv
│ └── episode2.mkv
Performance Optimization
-
Thread Configuration
-
Batch Processing
Error Handling
-
Always use dry-run first:
-
Check logs regularly:
Advanced Usage
Custom Matching
from mkv_episode_matcher import process_show
# Custom matching with specific settings
process_show(
season=1,
dry_run=True,
get_subs=True
)
Subtitle Processing
-
Extract subtitles only:
-
Download specific subtitles:
Troubleshooting
Common Issues
-
File Permission Errors
-
API Rate Limits
- Use rate limiting in configuration
-
Implement exponential backoff
-
Memory Usage
- Reduce max_threads
- Process seasons separately
Maintenance
Clean Up
-
Remove temporary files:
-
Clear cache:
Backup Strategy
-
Create backups before processing:
-
Use dry-run to verify changes:
Integration Tips
Automation
-
Cron Jobs
-
Watch Folders
API Usage
-
Rate limiting:
-
Cache management: