mirror of
https://github.com/VDR4Arch/vdr.git
synced 2023-10-10 13:36:52 +02:00
Mapping backtick characters in EPG texts to single quotes
This commit is contained in:
parent
1e897cc3a8
commit
3547208c34
1
HISTORY
1
HISTORY
@ -816,3 +816,4 @@ Video Disk Recorder Revision History
|
|||||||
would otherwise disturb the Title and Subtitle layout in the channel display
|
would otherwise disturb the Title and Subtitle layout in the channel display
|
||||||
(where these are assumed to be single line texts) and would have to be
|
(where these are assumed to be single line texts) and would have to be
|
||||||
specially handled in the 'epg.data' file and the LSTE command in SVDRP.
|
specially handled in the 'epg.data' file and the LSTE command in SVDRP.
|
||||||
|
- Mapping ` ("backtick") characters in EPG texts to ' (single quote).
|
||||||
|
3
MANUAL
3
MANUAL
@ -386,7 +386,8 @@ Video Disk Recorder User's Manual
|
|||||||
0 = no EPG fixing
|
0 = no EPG fixing
|
||||||
1 = basic fixing of text location (Title, Subtitle and
|
1 = basic fixing of text location (Title, Subtitle and
|
||||||
Extended Description)
|
Extended Description)
|
||||||
2 = removal of excess whitespace and hyphens
|
2 = removal of excess whitespace and hyphens, mapping of
|
||||||
|
wrongly used characters
|
||||||
3 = fixing the date in timestamps between 00:00 and 06:00
|
3 = fixing the date in timestamps between 00:00 and 06:00
|
||||||
(use with care - hopefully one day Pro7 and Kabel1
|
(use with care - hopefully one day Pro7 and Kabel1
|
||||||
will learn how to read the clock/calender)
|
will learn how to read the clock/calender)
|
||||||
|
9
eit.c
9
eit.c
@ -16,7 +16,7 @@
|
|||||||
* the Free Software Foundation; either version 2 of the License, or *
|
* the Free Software Foundation; either version 2 of the License, or *
|
||||||
* (at your option) any later version. *
|
* (at your option) any later version. *
|
||||||
* *
|
* *
|
||||||
* $Id: eit.c 1.25 2001/10/07 13:42:48 kls Exp $
|
* $Id: eit.c 1.26 2001/10/07 14:08:40 kls Exp $
|
||||||
***************************************************************************/
|
***************************************************************************/
|
||||||
|
|
||||||
#include "eit.h"
|
#include "eit.h"
|
||||||
@ -451,6 +451,13 @@ void cEventInfo::FixEpgBugs(void)
|
|||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
// Some channels use the ` ("backtick") character, where a ' (single quote)
|
||||||
|
// would be normally used. Actually, "backticks" in normal text don't make
|
||||||
|
// much sense, so let's replace them:
|
||||||
|
strreplace(pTitle, '`', '\'');
|
||||||
|
strreplace(pSubtitle, '`', '\'');
|
||||||
|
strreplace(pExtendedDescription, '`', '\'');
|
||||||
|
|
||||||
if (Setup.EPGBugfixLevel <= 2)
|
if (Setup.EPGBugfixLevel <= 2)
|
||||||
return;
|
return;
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user