Dear visitor, welcome to Dreamboard.
If this is your first visit here, please read the Help. It explains in detail how this page works.
To use all features of this page, you should consider registering.
Please use the registration form, to register here or read more information about the registration process.
If you are already registered, please login here.
Problems with extended event description in EPG
Hi,
some providers badly mix short and extended event description together into one description.
Result is that only part of whole text description is visible in skin (widget source="ServiceEvent", convert type="EventName" ExtendedDescription).
Is it possible to correct it?
Many thanks.
I found this workaround in the OpenPLI lib/service/event.cpp file which works fine:
|
Source code
|
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
|
bool eServiceEvent::loadLanguage(Event *evt, std::string lang, int tsidonid)
{
...
case EXTENDED_EVENT_DESCRIPTOR:
{
...
if (lang == "---" || lang.find(cc) != -1)
{
/*
* Bit of a hack, some providers put the event description partly in the short descriptor,
* and the remainder in extended event descriptors.
* In that case, we cannot really treat short/extended description as separate descriptions.
* Unfortunately we cannot recognise this, but we'll use the length of the short description
* to guess whether we should concatenate both descriptions (without any spaces)
*/
if (m_extended_description.empty() && m_short_description.size() >= 180)
{
m_extended_description = m_short_description;
m_short_description = "";
}
m_extended_description += convertDVBUTF8(eed->getText(), table, tsidonid);
retval = 1;
}
#if 0
...
|
EPG FULL_DESCRIPTION you can get after execute my `python_patcher.sh` and `skin_patcher.sh`
http://www.dream-multimedia-tv.de/board/index.php?page=Thread&postID=109727#post109727
Receivers: dm500; dm7020; 2x dm8000sstt <-Diseq1x4(1.0)<-3x Diseq1x10(1.1)<-
Dishes:
1.8m + 36E;28E;23E;19E;16E;13E;7E
1.6m + 42E;40/39E;36E
1.0m + 10/9E;5E;1W;8W
1.0m + 15W;22W;30W
1.1m + 12W;18W;24W
0.8m + 4/5W
1.1m + 53E;60E
1.0m + 75E;80E
TVs: Philips 42PFL9703h(LCD); Sony KV29c3d(CRT)
Thanks,
I already know such solution from
here, but it isn't permanent solution.
why "permanent"? i execute scripts after each online update, then changes restored
|
Source code
|
1
|
opkg update; opkg upgrade; /usr/script/python_patcher.sh; /usr/script/skin_patcher.sh
|
Receivers: dm500; dm7020; 2x dm8000sstt <-Diseq1x4(1.0)<-3x Diseq1x10(1.1)<-
Dishes:
1.8m + 36E;28E;23E;19E;16E;13E;7E
1.6m + 42E;40/39E;36E
1.0m + 10/9E;5E;1W;8W
1.0m + 15W;22W;30W
1.1m + 12W;18W;24W
0.8m + 4/5W
1.1m + 53E;60E
1.0m + 75E;80E
TVs: Philips 42PFL9703h(LCD); Sony KV29c3d(CRT)