Removing newline characters from EPG entries.

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



Hi,

I found the following code in epg.c lines 633-636:

  // VDR can't usefully handle newline characters in the title and shortText of EPG
  // data, so let's always convert them to blanks (independent of the setting of EPGBugfixLevel):
  strreplace(title, '\n', ' ');
  strreplace(shortText, '\n', ' ');

AFAIK, VDR _can_ handle newlines in the title and shortText,
as long as they are represented as '|'.
So I wonder if it would not be an improvement to change
the above code into

  // Change newline characters into '|', which will be displayed as newline.
  strreplace(title, '\n', '|');
  strreplace(shortText, '\n', '|');

Carsten.


[Index of Archives]     [Linux Media]     [Asterisk]     [DCCP]     [Netdev]     [Xorg]     [Util Linux NG]     [Xfree86]     [Big List of Linux Books]     [Fedora Users]     [Fedora Women]     [ALSA Devel]     [Linux USB]

  Powered by Linux