Project

General

Profile

Bug #3942

XMLTV exports invalid chars

Added by Luis Alves over 7 years ago. Updated over 7 years ago.

Status:
Fixed
Priority:
Normal
Assignee:
-
Category:
-
Target version:
-
Start date:
2016-08-19
Due date:
% Done:

100%

Estimated time:
Found in version:
latest git
Affected Versions:

Description

In my case, I'm seeing the ^Z (Ctrl-Z) char being exported among the text.

History

#1

Updated by Jaroslav Kysela over 7 years ago

Could you show an example output? Please, attach it as a file. Or tell us your satellite position and service which causes this (if you use the satellite broadcast).

#2

Updated by Luis Alves over 7 years ago

Hispasat 30ºW (providers: MEO, NOS)

File here:
http://213.58.180.187/xmltv.gz

(search for ^Z char)

Regards,
Luis

#3

Updated by Luis Alves over 7 years ago

By the way, my quick fix was:

--- a/src/htsbuf.c
++ b/src/htsbuf.c
@ -363,6 +363,7 @ htsbuf_append_and_escape_xml(htsbuf_queue_t *hq, const char *s)
case '&': esc = "&"; break;
case '\'': esc = "'"; break;
case '"': esc = """; break;
case '^Z': esc = ""; break;
default: esc = NULL; break;
}

#4

Updated by Jaroslav Kysela over 7 years ago

  • Status changed from New to Fixed
  • % Done changed from 0 to 100

Applied in changeset commit:tvheadend|3de32442508aca18d7d53c6badbaa9c3bfc77242.

#5

Updated by Jaroslav Kysela over 7 years ago

  • % Done changed from 100 to 0

Thanks, Fixed in v4.1-2189-g3de3244 . But it seems also like an issue in the EPG data import side.

#6

Updated by Jaroslav Kysela over 7 years ago

  • % Done changed from 0 to 100

Also available in: Atom PDF