eepgcache and title searching
Re: eepgcache and title searching #101
Re: eepgcache and title searching #102
Re: eepgcache and title searching #103
Posted 23 January 2012 - 11:52
But you could take the entire patch, and just remove the if that does the truncating,But the memleak fix (according to the description) is part of the utf-8 truncate commit?
this would fix the titles in more cases, and not truncate the text. It would only leave the posiblity that some titles and text still wouldnt be displayed but wouldnt have the problem you are concerned about
I would recommend that, at least it would fix the situation for some more cases
Edited by awx, 23 January 2012 - 11:52.
Re: eepgcache and title searching #104
Posted 23 January 2012 - 12:21
I'd rather not commit something before it's final
Has it been investigated what happens if an incomplete utf8 sequence it present, because of the truncate hack?
We have to know how the various utf8 parsers (c++, python) handle such situations.
Or rather, we should never store incomplete utf8 sequences.
By using a truncate function such as this (untested):if (data[length - 1] > 0x7F) { do { /* remove all UTF data bytes, not including the start byte, which is {0xC0 <= startbyte <= 0xFD} */ length--; } while (length > 0 && data[length - 1] <= 0xBF); /* remove only databytes */ } /* remove the UTF startbyte, or normal ascii character */ if (length > 0) { length--; } data[length] = 0;
Well we was see some commit in the past that in some situations was even broke the image. I cant understand why not commiting this! I dont think so is good ided to cant read EPG instead to put some untested function in unstable image and users to can test it is it work instead just some people to can do it! I think more real testers - more chance bug to be found ( or at least to understand will the commit have side effect)!
Vu+DUO4KSE, DM920UHD, Vu+Uno4KSE, SF8008Mini, 2xPulse4K, Vu+Solo2, Dreambox DM500HD, Triax 78 (7E,9E,13E,19.2E,23.5E) & 2xTriax 78 (39E)
Re: eepgcache and title searching #105
Posted 23 January 2012 - 12:35
But you could take the entire patch, and just remove the if that does the truncating,
But the memleak fix (according to the description) is part of the utf-8 truncate commit?
this would fix the titles in more cases, and not truncate the text. It would only leave the posiblity that some titles and text still wouldnt be displayed but wouldnt have the problem you are concerned about
I think that would effectively truncate the utf8 as well, wouldn't it?
Or does it produce a short event descriptor with invalid length?
I'd say we fix the truncate, and commit the result.
Or if you prefer, I'll make a utf8 truncate routine. But not right now, I'm working.
Re: eepgcache and title searching #106
Posted 23 January 2012 - 12:39
With out the if check, would produce the same affect as now, the length would roll over to the higher bits and would be 0 and never processed.
But you could take the entire patch, and just remove the if that does the truncating,
But the memleak fix (according to the description) is part of the utf-8 truncate commit?
this would fix the titles in more cases, and not truncate the text. It would only leave the posiblity that some titles and text still wouldnt be displayed but wouldnt have the problem you are concerned about
I think that would effectively truncate the utf8 as well, wouldn't it?
Or does it produce a short event descriptor with invalid length?
I'd say we fix the truncate, and commit the result.
Or if you prefer, I'll make a utf8 truncate routine. But not right now, I'm working.
However since we split the two poritions in my change we have a better chance of not rolling over.
I will rewirte some of the event data processing to store titles seperatly, during this week and have a proper solution to this.
Re: eepgcache and title searching #107
Posted 23 January 2012 - 12:39
I would not make the truncate routine, as I want to fix this so that we dont have to truncate
But you could take the entire patch, and just remove the if that does the truncating,
But the memleak fix (according to the description) is part of the utf-8 truncate commit?
this would fix the titles in more cases, and not truncate the text. It would only leave the posiblity that some titles and text still wouldnt be displayed but wouldnt have the problem you are concerned about
I think that would effectively truncate the utf8 as well, wouldn't it?
Or does it produce a short event descriptor with invalid length?
I'd say we fix the truncate, and commit the result.
Or if you prefer, I'll make a utf8 truncate routine. But not right now, I'm working.
Re: eepgcache and title searching #108
Re: eepgcache and title searching #109
Re: eepgcache and title searching #110
Re: eepgcache and title searching #111
Re: eepgcache and title searching #112
Re: eepgcache and title searching #113
Posted 24 January 2012 - 23:55
It stopped on loading /media/hdd/crossepg/ext.epg.dat
I'd get epg from Linuxsat ExUSSR xmltv provider.
Edited by bigroma, 24 January 2012 - 23:56.
Re: eepgcache and title searching #114
Posted 25 January 2012 - 08:22
Since we change the format of how internals are stored you can not use the old .dat file you have to start freshLast patch incompatible with "enigma2-plugin-systemplugins-crossepg - 0.6.2+git284" when i load epg from net i had gsod from CrossEPG_Loader
It stopped on loading /media/hdd/crossepg/ext.epg.dat
I'd get epg from Linuxsat ExUSSR xmltv provider.
Re: eepgcache and title searching #115
Re: eepgcache and title searching #116
Re: eepgcache and title searching #117
Re: eepgcache and title searching #118
Re: eepgcache and title searching #119
Posted 25 January 2012 - 11:52
This will make it a bit easier to control the changes to them both and create one consistent format and independant of the epgCache format to decouple this portion which will allow us to have a bit more freedom to change the epg format.
I am not sure where an external epg is loaded for something like cross epg, so I will have to look into that. That being said the side affects of changing the data format are that previous dat may no longer be compatible.
Which is why data that must persist like eit recording info will be made into a format that will hopefully never change and if it does will be somehow backwards compatible.
As for epgcache I will try to do the same thing as well so that at least the saved format will be compatible so that it can be loaded, but I cant guarantee this
Re: eepgcache and title searching #120
5 user(s) are reading this topic
0 members, 4 guests, 0 anonymous users
-
Bing (1)