Notepad++ for Enigma2: The Essential Setup & Configuration Guide
master G
- 🚀 Part 1: Why Use Notepad++? (Quick Benefits)
- 📥 Part 2: Setting Up Notepad++ for Enigma2
- 🔌 Part 3: Connecting to Your Enigma2 Box (Two Methods)
- ✨ Part 4: Notepad++ Features That Save Time
- 🔧 Part 5: Practical Editing Examples
- 🚨 Part 6: Common Problems & Solutions
- 💾 Part 7: Backup Best Practices
- ✅ Quick Start Checklist
- 🎯 Pro Tips for Power Users
Editing Enigma2 configuration files directly on your PC is faster, safer, and more reliable than using the on-screen editor. Notepad++ is the perfect free tool for the job. This guide shows you how to set it up and use it like a pro.
🚀 Part 1: Why Use Notepad++? (Quick Benefits)
Editing files on your PC instead of your receiver gives you:
• Syntax highlighting - See errors before they crash your box
• Multiple file editing - Work on several configs at once
• Search & replace across all your bouquets instantly
• Undo/redo without limits
• Encoding control - Fix those "garbage character" problems
Common Files You'll Edit:
bouquets.tv/bouquets.radio(your channel lists)lamedb(channel database)settings(receiver configuration)- IPTV
.m3uor.txtplaylists - EPG source files (
.xml,.tv) - Custom scripts and configuration files
📥 Part 2: Setting Up Notepad++ for Enigma2
Step 1: Download & Install
- Go to notepad-plus-plus.org
- Download the latest version
- Install with default settings
Step 2: Essential Plugins & Settings
After installation, configure these options:
A. Encoding Settings (CRITICAL for Enigma2 files)
- Go to Settings > Preferences > New Document
- Set Encoding to:
UTF-8 without BOM - Check Apply to opened ANSI files
B. Line Endings (Prevent Issues)
- Go to Edit > EOL Conversion
- Select Unix (LF) - This matches Linux/Enigma2 format
C. Install FTP Plugin (Optional but Powerful)
- Go to Plugins > Plugins Admin
- Search for "NppFTP"
- Install it
- Restart Notepad++
🔌 Part 3: Connecting to Your Enigma2 Box (Two Methods)
Method B: Direct FTP Editing with NppFTP Plugin
- Click the FTP icon in the toolbar (or go to Plugins > NppFTP > Show NppFTP Window)
- Click the Settings icon > Profile Settings
- Click Add new and enter:
- Hostname: Your receiver's IP (e.g., 192.168.1.100)
- Connection type: FTP
- Username:
root - Password: [often blank]
- Click Connect
- Browse your receiver's files and edit directly - changes save automatically!
✨ Part 4: Notepad++ Features That Save Time
1. Syntax Highlighting for Different Files
Notepad++ automatically color-codes:
• Python files (.py) - Green comments, blue functions
• XML files (.xml) - Purple tags, red attributes
• Configuration files (.conf) - Blue variables, green values
2. Compare Plugin (Find Differences)
Perfect for comparing backup files with current ones:
- Install Compare Plugin via Plugins Admin
- Open two files
- Go to Plugins > Compare > Compare
- See exactly what changed between versions
3. Column/Block Editing
Edit multiple lines at once:
- Hold Alt and drag to select a column
- Type to edit all selected lines simultaneously
- Great for editing channel reference lists
4. Powerful Search & Replace
• Ctrl+F - Find in current file
• Ctrl+Shift+F - Find in files (search all your bouquets at once)
• Ctrl+H - Replace with regex support
🔧 Part 5: Practical Editing Examples
Example 1: Fixing a Channel Reference in bouquets.tv
# BEFORE (broken):
#SERVICE 1:64:1:283D:3FB:1:C00000:0:0:0:Channel Name
# AFTER (fixed with Notepad++):
#SERVICE 1:0:1:283D:3FB:1:C00000:0:0:0:Channel Name
Just find the incorrect line and fix the service type.
Example 2: Bulk Editing an IPTV Playlist
Find: #EXTINF:-1,
Replace with: #EXTINF:-1 tvg-logo="",
(Adds empty logo parameter to all channels for easier editing)
Example 3: Converting File Encoding
- Open a file with garbled text
- Go to Encoding > Convert to UTF-8 without BOM
- Save and re-upload
🚨 Part 6: Common Problems & Solutions
Problem: Edited files cause Enigma2 to crash
• Cause: Wrong encoding or line endings
• Fix: Always use UTF-8 without BOM and Unix (LF) line endings
Problem: Special characters (ä, ö, ü, ß) show as ?
• Cause: Wrong character encoding
• Fix: Convert file to UTF-8 before editing
Problem: Files lose formatting on the receiver
• Cause: Windows line endings (CR LF) instead of Unix (LF)
• Fix: Convert via Edit > EOL Conversion > Unix (LF)
Problem: Can't save files directly via FTP
• Cause: Permission issues on the receiver
• Fix: Use manual download/edit/upload method instead
💾 Part 7: Backup Best Practices
ALWAYS backup before editing:
- Right-click file in FileZilla > Download to backup folder
- Rename backup with date:
bouquets.tv.backup.18-01-26 - Edit the original file in Notepad++
- If something breaks, restore from backup
Create a backup script (save as backup_enigma2.bat):
@echo off
echo Backing up Enigma2 files...
mkdir "Backups\%date%"
xcopy "C:\Enigma2Files\*.*" "Backups\%date%\" /E /I
echo Backup complete!
pause
✅ Quick Start Checklist
- Notepad++ installed
- Encoding set to UTF-8 without BOM
- Line endings set to Unix (LF)
- NppFTP plugin installed (optional)
- Know your receiver's IP address
- Created a backup folder for original files
- Tested with a simple file edit
🎯 Pro Tips for Power Users
• Use tabs - Keep all related files open together (bouquets.tv, lamedb, userbouquet files)
• Create custom shortcuts for frequent actions in Settings > Shortcut Mapper
• Install "XML Tools" plugin for validating EPG XML files
• Use "Function List" (View > Function List) to navigate large files quickly
• Set up auto-backup: Go to Settings > Preferences > Backup and enable automatic saving
Remember: When in doubt, make a backup first! A 30-second backup can save hours of troubleshooting.