Bug #2587
open
FreeSat EPG does not work with error message
Added by Anonymous over 5 years ago.
Updated about 4 years ago.
Description
I'm trying to get freesat S28E2 epg working with vdr 2.4.0 (including the patch from vdr-portal.de) and the latest git version of eepg.
Unfortunately, it is not working with error messages flooding the log like this:
Jun 15 18:28:01 rotorpi vdr9790: [9794] EEPG: Missing table 1 entry: <>
Jun 15 18:28:01 rotorpi vdr9790: [9794] ProcessEventDescriptors:371 EEPG: Title: _AXXъXX-_BNDX%XNXXXVXX[_X:XJ2XXXFwXXGXXMXX"XXfX'SX}X_DFSATTB Decoded:
Jun 15 18:28:01 rotorpi vdr9790: [9794] ProcessEventDescriptors:373 EEPG: channelID: S28.2E-2-2044-10101 Title:
Jun 15 18:28:01 rotorpi vdr9790: [9794] EEPG: Missing table 2 entry: <>
Full log is attached.
Any hints or fixes, how to get this working?
Best
Christian
Anonymous wrote:
I'm trying to get freesat S28E2 epg working with vdr 2.4.0 (including the patch from vdr-portal.de) and the latest git version of eepg.
Unfortunately, it is not working with error messages flooding the log like this:
Jun 15 18:28:01 rotorpi vdr9790: [9794] EEPG: Missing table 1 entry: <>
Jun 15 18:28:01 rotorpi vdr9790: [9794] ProcessEventDescriptors:371 EEPG: Title: _AXXъXX-_BNDX%XNXXXVXX[_X:XJ2XXXFwXXGXXMXX"XXfX'SX}X_DFSATTB Decoded:
Jun 15 18:28:01 rotorpi vdr9790: [9794] ProcessEventDescriptors:373 EEPG: channelID: S28.2E-2-2044-10101 Title:
Jun 15 18:28:01 rotorpi vdr9790: [9794] EEPG: Missing table 2 entry: <>
Full log is attached.
Any hints or fixes, how to get this working?
I've written a fix in https://projects.vdr-developer.org/issues/2586
You can try this patched version: https://github.com/nickb937/vdr-plugin-eepg
please test the new version with the applied patch
Hi,
Fix is available here: https://www.vdr-portal.de/forum/index.php?thread/132832-eepg-freesat-s28e2-funktioniert-nicht-mit-fehlermeldung-eepg-missing-table-2-ent/
diff --git a/eepg.c b/eepg.c
index 1b6c9f0..a78819d 100644
--- a/eepg.c
+++ b/eepg.c
@@ -391,7 +391,7 @@ static bool load_freesat_file (int tableid, const char *filename)
while (fgets (buf, sizeof (buf), fp) != NULL) {
from = binary = to = NULL;
- int elems = sscanf (buf, "%a[^:]:%a[^:]:%a[^:]:", &from, &binary, &to);
+ int elems = sscanf (buf, "%m[^:]:%m[^:]:%m[^:]:", &from, &binary, &to);
if (elems == 3) {
int bin_len = strlen (binary);
int from_char = resolve_char (from);
Also available in: Atom
PDF