Here s what I find with it:
● Three distinct problems were found:
1. CRLF line endings (red herring)
Every file had Windows \r\n line endings. This was the first thing I fixed, but it turned out to be a non-issue — your own working config also has CRLF and works fine. Enigma2 handles both. Time wasted chasing this one.
2. Split #DESCRIPTION line in userbouquet.iptv-org.auto.tv
The channel "100 Auto Moto TV" had its #DESCRIPTION line broken across two lines:
#DESCRIPTION 100
uto Moto TV (406p) [Not 24/7]
The second line had no # prefix, which is invalid. This was caused by a %0a (URL-encoded newline) embedded in the service name that a Windows editor interpreted as a literal line break when re-saving. Fixed by merging the lines and correcting the service name.
3. Corrupt UTF-8 bytes in four files (the actual killer)
Four files — classic.tv, documentary.tv, entertainment.tv, and series.tv — all had the same type of corruption in Russian channel names for the "Смотрим 100" service. Cyrillic characters in UTF-8 are 2-byte sequences starting with 0xd0. In each case the leading 0xd0 byte had been stripped, leaving an invalid lone byte:
classic.tv: Смотрим 100[0x9a]лассика → Смотрим 100 Классика
documentary.tv: Смотрим 100[0xa4]акты → Смотрим 100 Факты
entertainment.tv: Смотрим 100[0x9f]раздник → Смотрим 100 Праздник
series.tv: Смотрим 100[0x9b]юбовь → Смотрим 100 Любовь
+ Смотрим 100[0x9c]ужское → Смотрим 100 Мужское
When OpenWebif's Python parser hit these invalid bytes it threw a UnicodeDecodeError and returned an empty bouquet list — which is why the editor opened but showed nothing. This was the root cause.
Suggestions:
Never edit enigma2 bouquet files on Windows. Windows text editors (Notepad, Notepad++, WordPad) corrupt these files in two ways:
1. They mangle multi-byte UTF-8 characters — Cyrillic, Arabic, Chinese, accented characters, etc. are stored as 2-4 byte sequences. Windows editors that aren't strictly UTF-8 aware will silently drop or alter bytes, producing invalid characters that break the parser.
2. They insert \r carriage returns — enigma2 expects Unix line endings (LF only). Windows saves CRLF which can cause parsing issues depending on the
enigma2 version.
The right tools if editing is necessary:
- Edit directly on the receiver via SSH using nano or vi — they never corrupt encodings
- On Windows, use Notepad++ but ONLY if you explicitly set: Encoding → UTF-8 and Edit → EOL Conversion → Unix (LF) before saving
- On Mac/Linux, any standard text editor is fine
Better yet — use OpenWebif's bouquet editor itself for any bouquet changes instead of editing files by hand. That's exactly what it's there for, and it
writes correctly formatted files every time.
Properly repaired enigma2 folder is attached.
