Plex RAR Bridge Enhanced Edition v2.0 is a comprehensive Windows service that automatically processes RAR archives for Plex Media Server with three powerful processing modes, streamlined interface, and a revolutionary one-click rar2fs installer. Choose the perfect processing method for each directory based on your specific needs.
- 🚀 One-Click rar2fs Installation: Revolutionary installer eliminates complex manual setup
- 🎯 Streamlined Interface: Single unified Enhanced Setup Panel (removed duplicate interfaces)
- 🔧 Smart Dependency Management: Automatic WinFSP and Cygwin installation with error recovery
- ⚡ Enhanced Performance: Improved installer with complete component integration
- 🔥 Python VFS (Recommended): Zero-dependency virtual filesystem with instant file access
- ⚡ External rar2fs: Space-efficient FUSE mounting with one-click installation
- 🗂️ Traditional Extraction: Classic file extraction (well-tested)
- Streamlined Interface: Single unified Enhanced Setup Panel (no duplicate interfaces)
- Per-Directory Configuration: Different processing modes for different directories
- Visual Processing Mode Selection: Easy-to-use interface for complex setups
- One-Click rar2fs Installation: Simplified single-button installer with all fixes included
- Real-Time Monitoring: Live status updates and performance metrics
- Advanced Setup Panel: Complete configuration management with enhanced rar2fs integration
- Processing Mode Comparison: Visual comparison of all modes
- Automatic Mode Selection: System suggests optimal processing modes
- Fallback Support: Automatic fallback if primary mode fails
- Performance Optimization: Mode-specific performance tuning
- Resource Management: Efficient CPU and memory usage
| Feature | Python VFS | rar2fs | Extraction |
|---|---|---|---|
| Dependencies | None | Cygwin + WinFSP | UnRAR only |
| Setup Complexity | ✅ Simple | ✅ One-Click | ✅ Simple |
| Disk Space Usage | ✅ Minimal | ✅ Minimal | ❌ 2x Required |
| Processing Speed | ✅ Instant | ✅ Fast | |
| File Availability | ✅ Immediate | ✅ Immediate | |
| Plex Compatibility | ✅ HTTP Streaming | ✅ Native | ✅ Native |
| Windows Support | ✅ Native | ✅ Native | |
| Recommended For | Most users | All users | Legacy systems |
The Enhanced Setup Panel now includes a revolutionary one-click rar2fs installer that eliminates the complexity of manual setup:
- ✅ WinFSP Installation: Automatic download and installation with complete components (
ADDLOCAL=ALL) - ✅ Cygwin Environment: Full development environment with all required packages
- ✅ Complete Package List: Includes
unzip,gettext-devel, and all build dependencies - ✅ Source Compilation: Downloads and compiles latest UnRAR and rar2fs from source
- ✅ Windows Integration: Creates wrapper scripts for seamless Windows usage
- ✅ Error Recovery: Automatic fixes for common installation issues
- ✅ Progress Feedback: Real-time installation progress and status updates
- Open Enhanced Setup Panel in the GUI
- Navigate to rar2fs Configuration tab
- Click "🚀 Install rar2fs" button
- Follow admin privilege prompt
- Wait 15-30 minutes for complete installation
- Done! - rar2fs ready to use
- Download the latest release
- Run PowerShell as Administrator
- Execute the installer:
.\Install-PlexRarBridge.ps1
The installer will:
- ✅ Install Python dependencies automatically
- ✅ Auto-detect Plex server and token
- ✅ Guide you through processing mode selection
- ✅ Configure directories and libraries
- ✅ Install Windows service
- ✅ Launch enhanced GUI
# Basic installation (Python VFS mode)
.\Install-PlexRarBridge.ps1
# Installation with specific processing mode
.\Install-PlexRarBridge.ps1 -ProcessingMode "python_vfs"
# Silent installation
.\Install-PlexRarBridge.ps1 -NoGui -ProcessingMode "python_vfs"
# Upgrade existing installation
.\Install-PlexRarBridge.ps1 -Upgrade
# Uninstall
.\Install-PlexRarBridge.ps1 -Uninstall- Install Python 3.8+
- Install dependencies:
pip install -r requirements.txt
- Install UnRAR (for extraction mode)
- Configure
config.yaml - Run the application:
python plex_rar_bridge.py
PlexRarBridge/
├── 📁 Core Application
│ ├── plex_rar_bridge.py # Main application
│ ├── monitor_service.py # Service monitoring
│ └── config.yaml # Enhanced configuration
│
├── 📁 Enhanced GUI
│ ├── gui_monitor.py # Main GUI application
│ ├── enhanced_setup_panel.py # Advanced configuration panel
│ └── ftp_pycurl_handler.py # FTP download manager
│
├── 📁 Processing Modes
│ ├── python_rar_vfs.py # Python VFS handler
│ ├── rar2fs_handler.py # rar2fs integration
│ ├── advanced_rar2fs_installer.py # Enhanced one-click rar2fs installer
│ ├── fix_cygwin_unzip.py # Cygwin unzip package fix
│ ├── fix_cygwin_gettext.py # Cygwin gettext-devel package fix
│ └── fix_winfsp_cygfuse.py # WinFSP Cygfuse installation fix
│
├── 📁 Configuration Examples
│ ├── config-enhanced.yaml # Enhanced configuration
│ ├── config-rar2fs-example.yaml # rar2fs configuration
│ └── ftp_config.json # FTP settings
│
├── 📁 Documentation
│ ├── docs/PROCESSING_MODES.md # Processing mode guide
│ ├── docs/ENHANCED_GUI_FEATURES.md # GUI feature guide
│ ├── docs/RAR2FS_INTEGRATION.md # rar2fs setup guide
│ └── docs/... # Additional documentation
│
├── 📁 Installation
│ ├── Install-PlexRarBridge.ps1 # Enhanced PowerShell installer
│ ├── install_service_easy.bat # Legacy installer
│ └── requirements.txt # Python dependencies
│
└── 📁 Runtime Directories
├── logs/ # Application logs
├── data/ # SQLite database
├── work/ # Temporary extraction
├── failed/ # Failed archives
├── archive/ # Processed archives
├── mounts/ # VFS mount points
└── thumbnails_cache/ # GUI thumbnails
Launch the enhanced GUI:
python gui_monitor.py- 🔄 Active Threads: Monitor processing threads in real-time
- 📋 Retry Queue: View failed processing attempts
- 📊 Live Logs: Real-time logging with filtering
- 📈 Statistics: Processing metrics and performance
- 🌐 FTP Downloads: FTP SSL download management with IMDb integration
- 🎯 Enhanced Setup: STREAMLINED - Single unified configuration panel
- 📝 Configuration: Direct config file editing
- 🎨 Visual Processing Mode Selection: Easy comparison and selection
- 📂 Per-Directory Configuration: Different modes for different directories
- 🚀 One-Click rar2fs Installation: Enhanced installer with automatic dependency resolution
- 🔧 Smart Dependency Management: Automatic WinFSP and Cygwin setup with all required components
- 🔗 Plex Integration: Auto-detect server and libraries
- 🧪 Real-Time Testing: Test configurations before applying
- 💾 Configuration Management: Save, load, and apply settings
- 📊 Performance Tuning: Mode-specific optimization
- 🎯 Streamlined Interface: No duplicate panels, simplified workflow
Configure different processing modes for different directories:
# Enhanced Configuration Example
options:
global_processing_mode: "python_vfs" # Default mode
# Per-Directory Processing
directory_pairs:
# High-performance for new releases
- source: "C:/Downloads/Movies"
target: "D:/Plex/Movies"
processing_mode: "python_vfs"
plex_library: "Movies"
enabled: true
# Space-efficient for TV shows
- source: "C:/Downloads/TV"
target: "D:/Plex/TV"
processing_mode: "python_vfs"
plex_library: "TV Shows"
enabled: true
# Traditional extraction for compatibility
- source: "C:/Downloads/Archive"
target: "D:/Plex/Archive"
processing_mode: "extraction"
plex_library: "Movies"
enabled: true
# Processing Mode Configurations
processing_modes:
python_vfs:
enabled: true
port_range: [8765, 8865]
mount_base: "C:/PlexRarBridge/mounts"
rar2fs:
enabled: false
executable: "C:/cygwin64/home/User/rar2fs/rar2fs.exe"
mount_base: "C:/PlexRarBridge/rar2fs_mounts"
extraction:
enabled: true
work_dir: "C:/PlexRarBridge/work"
delete_archives: true- Zero Dependencies: No external tools required
- Instant Access: Files available immediately via HTTP streaming
- Space Efficient: No disk space for extraction
- HTTP Streaming: Plex accesses files via HTTP
- Cross-Platform: Works on any Python-supported OS
processing_modes:
python_vfs:
enabled: true
port_range: [8765, 8865] # HTTP server port range
mount_base: "C:/PlexRarBridge/mounts"
stream_chunk_size: 8192
max_concurrent_streams: 10
cache_headers: true- Space Efficient: Minimal disk usage
- Native Integration: Files appear as regular files
- One-Click Installation: Enhanced installer handles all dependencies automatically
- Smart Setup: WinFSP with complete components, Cygwin with all build tools
- Error Recovery: Automatic fix for common installation issues
processing_modes:
rar2fs:
enabled: true
executable: "C:/cygwin64/home/User/rar2fs/rar2fs.exe"
mount_base: "C:/PlexRarBridge/rar2fs_mounts"
mount_options:
- "uid=-1"
- "gid=-1"
- "allow_other"- Well-Tested: Proven approach
- Full Compatibility: Works with all media servers
- Disk Space: Requires 2x space (original + extracted)
- Slower Processing: Files available after extraction
processing_modes:
extraction:
enabled: true
work_dir: "C:/PlexRarBridge/work"
delete_archives: true
duplicate_check: true
verify_extraction: true- Install: Run
Install-PlexRarBridge.ps1(automatically detects Plex token) - Configure: Use Enhanced Setup tab in GUI
- Drop Files: Place RAR files in configured directories
- Monitor: Watch processing in real-time via GUI
The installer now automatically detects your Plex token from multiple sources:
- Windows Registry - Plex installation settings
- Preferences Files - Plex Media Server configuration
- Browser Cookies - Chrome/Edge saved tokens
- Plex Databases - Library database files
- Process Memory - Running Plex processes
- Web Interface - Direct web interface scraping
Token Validation Tool: Use test_plex_token.ps1 to verify your token works correctly.
directory_pairs:
- source: "C:/Downloads"
target: "D:/Plex/Media"
processing_mode: "python_vfs"
plex_library: "Movies"directory_pairs:
- source: "C:/Downloads/Movies"
target: "D:/Plex/Movies"
processing_mode: "python_vfs"
- source: "C:/Downloads/TV"
target: "D:/Plex/TV"
processing_mode: "python_vfs"
- source: "C:/Downloads/Archive"
target: "D:/Plex/Archive"
processing_mode: "extraction"directory_pairs:
- source: "\\\\server\\incoming\\movies"
target: "\\\\plex\\media\\movies"
processing_mode: "python_vfs"
- source: "\\\\server\\incoming\\tv"
target: "\\\\plex\\media\\tv"
processing_mode: "rar2fs"
- source: "\\\\server\\archive"
target: "\\\\plex\\archive"
processing_mode: "extraction"- Automatic Mode Selection: System suggests optimal modes
- Fallback Support: Automatic fallback if primary mode fails
- Performance Optimization: Mode-specific performance tuning
- Resource Management: Efficient CPU and memory usage
- Real-Time Status: Live processing updates
- Performance Metrics: Processing speed and efficiency
- Error Tracking: Detailed error analysis
- Health Monitoring: System health checks
- SSL/TLS Support: Secure FTP downloads
- Content Discovery: IMDb integration for posters
- Automated Downloads: Schedule and manage downloads
- Progress Tracking: Real-time download progress
- SHA-256 Hashing: Prevents duplicate processing
- Database Tracking: SQLite database for hash storage
- Cross-Directory: Detects duplicates across all directories
- Performance Optimized: Fast hash calculations
- Port Conflicts: Change port range in configuration
- Memory Usage: Adjust cache settings
- Firewall: Allow HTTP ports through firewall
- Executable Not Found: Use auto-installer or manual setup
- Mount Failures: Check WinFSP installation
- Permission Errors: Verify mount options
- UnRAR Not Found: Install UnRAR or check PATH
- Disk Space: Ensure sufficient free space
- Permissions: Check directory write access
- Enhanced GUI: Built-in diagnostic tools
- Log Analysis: Detailed error reporting
- Configuration Testing: Test all modes
- Performance Monitoring: Real-time metrics
- Check Logs: Review detailed logs in
logs/directory - Documentation: Read mode-specific documentation
- Test Configuration: Use built-in testing tools
- GUI Diagnostics: Use Enhanced Setup panel diagnostics
- Processing Modes Guide - Detailed comparison of all modes
- Enhanced GUI Features - Complete GUI guide
- rar2fs Integration - rar2fs setup guide
- FTP Panel Guide - FTP download management
- Service Installation - Windows service setup
- Setup Panel Guide - Configuration panel usage
- Quick Start - Get started in 5 minutes
- Installation Guide - Detailed installation steps
- Configuration Examples - Sample configurations
The enhanced installer automatically:
- ✅ Detects existing installations
- ✅ Preserves current configuration
- ✅ Upgrades to enhanced features
- ✅ Maintains service continuity
- Backup: Copy existing
config.yaml - Upgrade: Run installer with
-Upgradeflag - Configure: Use Enhanced Setup panel
- Test: Verify processing modes work correctly
# Upgrade existing installation
.\Install-PlexRarBridge.ps1 -Upgrade -ProcessingMode "python_vfs"processing_modes:
python_vfs:
max_memory_cache: 100 # MB
preload_headers: true
connection_pool_size: 5
stream_chunk_size: 8192processing_modes:
rar2fs:
mount_timeout: 60
retry_mount: 3
unmount_timeout: 30processing_modes:
extraction:
parallel_extraction: true
temp_cleanup_interval: 300
verify_extraction: true- Token Protection: Secure Plex token storage
- Network Security: Configurable network access
- File Permissions: Proper directory permissions
- Audit Logging: Security event logging
- Regular Updates: Keep software updated
- Access Control: Limit user access
- Network Isolation: Use firewalls
- Log Monitoring: Regular log analysis
We welcome contributions! Please see our contribution guidelines:
- Fork the repository
- Create a feature branch
- Implement your changes
- Test thoroughly
- Submit a pull request
# Clone repository
git clone https://github.com/user/plex-rar-bridge.git
# Install development dependencies
pip install -r requirements.txt
# Run tests
python -m pytest tests/
# Start development server
python plex_rar_bridge.pyThis project is licensed under the MIT License - see the LICENSE file for details.
- 📖 Documentation: Complete guides in
docs/directory - 🐛 Issues: Report bugs on GitHub Issues
- 💬 Discussions: Community discussions on GitHub
- 📧 Email: Contact for enterprise support
- GitHub Issues: Bug reports and feature requests
- GitHub Discussions: Community support
- Documentation: Comprehensive guides
- GUI Help: Built-in help system
- Plex Media Server: For the excellent media server platform
- Python Community: For the amazing ecosystem
- Contributors: All contributors to this project
- Users: For feedback and suggestions
🚀 Ready to get started? Run the enhanced installer and experience the future of RAR processing for Plex!
.\Install-PlexRarBridge.ps1Plex RAR Bridge Enhanced Edition - The ultimate RAR processing solution for Plex Media Server