Autotimer stopped adding new timers since a few days
Re: Autotimer stopped adding new timers since a few days #41
Re: Autotimer stopped adding new timers since a few days #42
Posted 21 November 2024 - 21:06
That was the question, yes. EPG readers should convert to UTF-8, if not, we might have to fix something. If XMLTV, then that provider needs to fix something.
Which is why I asked:
Autotimers are created either manually (you type in the title and search criteria), or you create it from an EPG entry.
Assuming you did the last, I was wondering where the EPG data came from.
Did you receive it OTA from the channel provider ( in which case I would like to know provider and channel as we might have an EPG reader issue ) or from EPG Import ( in which case the data in the xmltv import was incorrect ).
Currently in use: VU+ Duo 4K (2xFBC S2), VU+ Solo 4K (1xFBC S2), uClan Usytm 4K Ultimate (S2+T2), Octagon SF8008 (S2+T2), Zgemma H9.2H (S2+T2)
Due to my bad health, I will not be very active at times and may be slow to respond. I will not read the forum or PM on a regular basis.
Many answers to your question can be found in our new and improved wiki.
Re: Autotimer stopped adding new timers since a few days #43
Re: Autotimer stopped adding new timers since a few days #44
Re: Autotimer stopped adding new timers since a few days #45
Re: Autotimer stopped adding new timers since a few days #46
Posted 24 November 2024 - 20:14
The point is:
You only need to change that if the timer you created was in ISO8859-15, and the EPG you want to match against is ISO8859-15. In all other cases, changing that setting is pointless.
Given the fact you had a crash when it was set to UTF-8, it suggests that something wasn't UTF-8, but ISO8859-15.
The question asked several times was "what exactly was not in UTF-8"? So we need to know if your provider is to blame, or we need to fix something.
Currently in use: VU+ Duo 4K (2xFBC S2), VU+ Solo 4K (1xFBC S2), uClan Usytm 4K Ultimate (S2+T2), Octagon SF8008 (S2+T2), Zgemma H9.2H (S2+T2)
Due to my bad health, I will not be very active at times and may be slow to respond. I will not read the forum or PM on a regular basis.
Many answers to your question can be found in our new and improved wiki.
Re: Autotimer stopped adding new timers since a few days #47
Posted 25 November 2024 - 06:20
Given the fact you had a crash when it was set to UTF-8, it suggests that something wasn't UTF-8, but ISO8859-15.
No, and again no!
1)See screenshot 1 and 2 https://forums.openp...dpost&p=1652751
I changed encoding in Autotimer plugin to ISO8859-15 accidentally.
2)run autotimer and see result in python3
File "/usr/lib/enigma2/python/Plugins/Extensions/AutoTimer/AutoTimer.py", line 322, in parseTimer builtins.AttributeError: 'str' object has no attribute 'decode'
'str' object has no attribute 'decode' --> match.decode('UTF-8')
old code
if timer.encoding != 'UTF-8': try: match = match.decode('UTF-8').encode(timer.encoding) except UnicodeDecodeError: pass
timer.encoding = "EPG encoding"( default = timer.encoding
selection = ['UTF-8', 'ISO8859-15']
if default not in selection:
selection.append(default)
self.encoding = NoSave(ConfigSelection(choices=selection, default=default))
Edited by Dimitrij, 25 November 2024 - 06:25.
GigaBlue UHD Quad 4K /Lunix3-4K/Duo 4K
Re: Autotimer stopped adding new timers since a few days #48
Re: Autotimer stopped adding new timers since a few days #49
Posted 25 November 2024 - 11:20
Given the fact you had a crash when it was set to UTF-8, it suggests that something wasn't UTF-8, but ISO8859-15.
You wrote wrongly.
The inverse is true:
I had a crash when it was set to ISO8859-15. It suggests that something wasn't ISO8859-15, but UTF-8.
This caused crash in Autotimer plugin.
Autotimer should handle if wrong encoding is set, like ISO8859-15 is set in Autotimer, while UTF-8 is the EIT EPG encoding.
Re: Autotimer stopped adding new timers since a few days #50
Re: Autotimer stopped adding new timers since a few days #51
Posted 25 November 2024 - 22:02
Given the fact you had a crash when it was set to UTF-8, it suggests that something wasn't UTF-8, but ISO8859-15.
You wrote wrongly.
Ok, now I get it. Thanks.
Currently in use: VU+ Duo 4K (2xFBC S2), VU+ Solo 4K (1xFBC S2), uClan Usytm 4K Ultimate (S2+T2), Octagon SF8008 (S2+T2), Zgemma H9.2H (S2+T2)
Due to my bad health, I will not be very active at times and may be slow to respond. I will not read the forum or PM on a regular basis.
Many answers to your question can be found in our new and improved wiki.
5 user(s) are reading this topic
0 members, 5 guests, 0 anonymous users