Notepad++ for Enigma2: The Essential Setup & Configuration Guide

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 .m3u or .txt playlists
  • EPG source files (.xml, .tv)
  • Custom scripts and configuration files

📥 Part 2: Setting Up Notepad++ for Enigma2

Step 1: Download & Install

  1. Go to notepad-plus-plus.org
  2. Download the latest version
  3. Install with default settings


Step 2: Essential Plugins & Settings

After installation, configure these options:

A. Encoding Settings (CRITICAL for Enigma2 files)

  1. Go to Settings > Preferences > New Document
  2. Set Encoding to: UTF-8 without BOM
  3. Check Apply to opened ANSI files

B. Line Endings (Prevent Issues)

  1. Go to Edit > EOL Conversion
  2. Select Unix (LF) - This matches Linux/Enigma2 format

C. Install FTP Plugin (Optional but Powerful)

  1. Go to Plugins > Plugins Admin
  2. Search for "NppFTP"
  3. Install it
  4. Restart Notepad++


🔌 Part 3: Connecting to Your Enigma2 Box (Two Methods)


Method B: Direct FTP Editing with NppFTP Plugin

  1. Click the FTP icon in the toolbar (or go to Plugins > NppFTP > Show NppFTP Window)
  2. Click the Settings icon > Profile Settings
  3. Click Add new and enter:
    • Hostname: Your receiver's IP (e.g., 192.168.1.100)
    • Connection type: FTP
    • Username: root
    • Password: [often blank]
  4. Click Connect
  5. 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:

  1. Install Compare Plugin via Plugins Admin
  2. Open two files
  3. Go to Plugins > Compare > Compare
  4. See exactly what changed between versions


3. Column/Block Editing

Edit multiple lines at once:

  1. Hold Alt and drag to select a column
  2. Type to edit all selected lines simultaneously
  3. 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

Code
# 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

  1. Open a file with garbled text
  2. Go to Encoding > Convert to UTF-8 without BOM
  3. 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:

  1. Right-click file in FileZilla > Download to backup folder
  2. Rename backup with date: bouquets.tv.backup.18-01-26
  3. Edit the original file in Notepad++
  4. If something breaks, restore from backup

Create a backup script (save as backup_enigma2.bat):

Code
@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.