Project

General

Profile

Bug #3968

EPG program details/description ignores line breaks (newline)

Added by A Blarb about 8 years ago. Updated almost 8 years ago.

Status:
Fixed
Priority:
Normal
Assignee:
Category:
EPG
Target version:
-
Start date:
2016-09-07
Due date:
% Done:

100%

Estimated time:
Found in version:
4.0.8
Affected Versions:

Description

Linebreaks in program description are ignored.

For example my old vdr's epg.data contains linebreaks as "|" character.


Files

codes.jpg (119 KB) codes.jpg Jaroslav Kysela, 2016-09-08 09:15

History

#1

Updated by Jaroslav Kysela about 8 years ago

#2

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.

#3

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.

#4

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.

#5

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.

#6

Updated by Jaroslav Kysela almost 8 years ago

Resolved in v4.1-2403-gdf352fd .

#7

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.

#8

Updated by Jaroslav Kysela almost 8 years ago

Update: There are updates regarding this in v4.1-2405-geb495a0 .

Also available in: Atom PDF