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.
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
.m3u or .txt playlists - EPG source files (
.xml, .tv) - Custom scripts and configuration files
- Go to notepad-plus-plus.org
- Download the latest version
- Install with default 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++
- 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!
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
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
• Ctrl+F - Find in current file
• Ctrl+Shift+F - Find in files (search all your bouquets at once)
• Ctrl+H - Replace with regex support
# 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.
Find: #EXTINF:-1,
Replace with: #EXTINF:-1 tvg-logo="",
(Adds empty logo parameter to all channels for easier editing)
- Open a file with garbled text
- Go to Encoding > Convert to UTF-8 without BOM
- Save and re-upload
• Cause: Wrong encoding or line endings
• Fix: Always use UTF-8 without BOM and Unix (LF) line endings
• Cause: Wrong character encoding
• Fix: Convert file to UTF-8 before editing
• Cause: Windows line endings (CR LF) instead of Unix (LF)
• Fix: Convert via Edit > EOL Conversion > Unix (LF)
• Cause: Permission issues on the receiver
• Fix: Use manual download/edit/upload method instead
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
- 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
• 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.
Thread
[How To] Notepad++
Here is a practical guide for Notepad++ covering the download, installation, and use of plugins for JSON, HTML, Regex, and XML.
The table below lists the recommended plugins for your needs.
| Language/Feature
| Recommended Plugin(s)
| Primary Use
|
| JSON
| JSON Viewer
| Formats and validates JSON data for easy reading.
|
| HTML
| HTML Tag (official) / WebEdit (unofficial)
| Assists with inserting and managing HTML/CSS code.
|
| XML
| XML Tools
| Validates, formats |
…