Bug #3968
EPG program details/description ignores line breaks (newline)
100%
Description
Linebreaks in program description are ignored.
For example my old vdr's epg.data contains linebreaks as "|" character.
Files
History
Updated by edit4ever ! about 8 years ago
A Blarb wrote:
Linebreaks in program description are ignored.
For example my old vdr's epg.data contains linebreaks as "|" character.
I don't think that the codes above pointed to a solution.
We just need to know what charcters need to appear in the xmltv.xml file in the <desc lang="en"> section to create a line break that will show in the tvheadend epg description field. Right now it seems all version of crlf (ascii/unicode/hexadecimal) are removed when the xmltv.xml file is read into tvheadend.
Updated by edit4ever ! about 8 years ago
As an FYI - the line break in the xmltv.xml file (\n) is passed on to kodi - so it shows there, just not in the tvheadend epg.
Updated by hattori hanzo almost 8 years ago
I have the same issue, but I only use the internal DVB grabber (source is DVB-S ASTRA).
Character encoding should not be the problem (it's set to ISO-8859-1), as CR and LF are ASCII and the same position as in UTF-8 for example.
Updated by Jaroslav Kysela almost 8 years ago
- Status changed from New to Fixed
- % Done changed from 0 to 100
Applied in changeset commit:tvheadend|df352fdde67087afc6d529dd4a0206b9b751b4af.
Updated by Jaroslav Kysela almost 8 years ago
Jaroslav Kysela wrote:
Resolved in v4.1-2403-gdf352fd .
Note: if you use EIT grabber, wait until the EPG events are refreshed (the previous code ignored the special characters). For XMLTV, the change should be effective immediately.
Updated by Jaroslav Kysela almost 8 years ago
Update: There are updates regarding this in v4.1-2405-geb495a0 .