Home - nzbgetcom/Extension-RemoveSamples GitHub Wiki
RemoveSamples-NZBGet Wiki
Welcome to the comprehensive documentation for RemoveSamples-NZBGet, a modern NZBGet extension for intelligent sample file detection and removal.
๐ฏ Overview
RemoveSamples is a next-generation NZBGet extension that automatically detects and removes sample files and directories before your media managers (Sonarr/Radarr/Lidarr/Prowlarr) process the downloads. Built with modern development practices, it replaces older solutions with advanced detection algorithms and user-friendly configuration.
๐ Complete Documentation
๐ Getting Started
- Installation Guide - Step-by-step installation for all platforms (Docker, Unraid, Linux, Windows, macOS)
- Configuration Reference - Complete settings documentation with examples and best practices
- Testing Guide - Comprehensive testing procedures to verify functionality across different platforms
- Workflow Integration - Integration with Sonarr/Radarr/Lidarr and optimal script ordering
๐ Understanding RemoveSamples
- Detection Logic - Technical details of how sample detection algorithms work
- Comparison with DeleteSamples - Why RemoveSamples is superior to the legacy DeleteSamples.py script
๐ ๏ธ Troubleshooting & Support
- Troubleshooting Guide - Solutions to common issues across all platforms and environments
- FAQ - Frequently asked questions with detailed answers
๐ค Community & Development
- Contributing - Development guidelines, testing procedures, and how to contribute to the project
โจ Key Features
Smart Detection
- Pattern-based identification - Multiple filename patterns for comprehensive detection
- Size-based filtering - Configurable thresholds for video and audio files
- Directory cleanup - Removes entire sample directories
Modern Interface
- Dropdown configuration - No more editing configuration files
- Real-time feedback - Clear status messages and logging
- Professional integration - Seamless NZBGet experience
Robust & Reliable
- Comprehensive testing - Full test coverage with automated CI/CD
- Error handling - Graceful handling of edge cases
- Performance optimized - Minimal impact on your system
๐ Why Choose RemoveSamples?
vs DeleteSamples.py (Legacy Script)
Feature | DeleteSamples.py | RemoveSamples |
---|---|---|
Configuration | Manual file editing | Modern dropdown interface |
Directory Removal | โ No | โ Yes |
Extension Format | โ Legacy script | โ Modern NZBGet extension |
Pattern Detection | โ Basic | โ Advanced multi-pattern |
Audio Support | โ Limited | โ Full configurable support |
Testing | โ None | โ Comprehensive test suite |
Maintenance | โ Abandoned | โ Active development |
๐ง Quick Configuration
Extension Settings โ RemoveSamples
โโโ Remove Directories: Yes
โโโ Remove Files: Yes
โโโ Debug: No
โโโ Video Size Threshold: 150 MB
โโโ Audio Size Threshold: 2 MB
๐ Sample Detection Examples
โ Will Be Removed
Movie.Name.2023.sample.mkv
sample.mp4
preview_sample.avi
samples/
directory- Video files under size threshold
โ Will Be Preserved
Movie.Name.2023.1080p.mkv
(normal size)soundtrack.mp3
(no sample pattern)behind-the-scenes.mp4
(above threshold)
๐งช Testing Your Installation
RemoveSamples includes comprehensive testing procedures for all platforms:
Platform-Specific Testing
- Linux Testing - Ubuntu, Debian, CentOS, RHEL
- Docker Testing - LinuxServer, Official containers
- Unraid Testing - Complete Unraid procedures
- Windows Testing - Native and PowerShell
- macOS Testing - Homebrew and manual installations
Quick Test Command
# Create test files and verify RemoveSamples works
cd /tmp && mkdir test && cd test
echo "content" > movie.sample.mkv && echo "content" > movie.1080p.mkv
# Run RemoveSamples test - see Testing Guide for complete procedure
๐ก๏ธ Security & Quality
RemoveSamples is built with enterprise-grade practices:
- Automated security scanning with CodeQL
- Dependency vulnerability monitoring with Dependabot
- Comprehensive test coverage with automated CI/CD
- Professional code review workflow
๐ Official Recognition
๐ RemoveSamples has been officially adopted by the NZBGet team!
The extension is now available through the official NZBGet Extension Manager, making installation as simple as:
- Settings โ Extension Manager
- Find "RemoveSamples"
- Click Install
๐ Support
- ๐ Bug Reports: GitHub Issues
- ๐ฌ Discussions: GitHub Discussions
- ๐ Security Issues: [email protected]
- ๐ Documentation: You're here!
๐ Documentation Navigation
New to RemoveSamples? Start here:
- Installation Guide โ Set up the extension
- Configuration Reference โ Configure settings
- Testing Guide โ Verify it works
- Workflow Integration โ Integrate with your setup
Having issues?
- Troubleshooting Guide โ Solve common problems
- FAQ โ Quick answers to frequent questions
Want to contribute?
- Contributing โ Development guidelines and how to help
Technical details:
- Detection Logic โ How the algorithms work
- Comparison with DeleteSamples โ Technical comparison with legacy solutions
Ready to get started? โ Installation Guide
Questions? โ FAQ | GitHub Discussions