Jump to content


Photo

Autotimer stopped adding new timers since a few days


  • Please log in to reply
44 replies to this topic

Re: Autotimer stopped adding new timers since a few days #21 Dimitrij

  • PLi® Core member
  • 10,327 posts

+350
Excellent

Posted 19 November 2024 - 16:05

In other images this has long been removed.


GigaBlue UHD Quad 4K /Lunix3-4K/Duo 4K


Re: Autotimer stopped adding new timers since a few days #22 Dimitrij

  • PLi® Core member
  • 10,327 posts

+350
Excellent

Posted 19 November 2024 - 16:13

>>> match = 'blöd'
>>> match.encode('UTF-8')
b'bl\xc3\xb6d'
>>> match = 'blöd'
>>> match.encode('ISO8859-15')
b'bl\xf6d'

 


GigaBlue UHD Quad 4K /Lunix3-4K/Duo 4K


Re: Autotimer stopped adding new timers since a few days #23 WanWizard

  • PLi® Core member
  • 70,523 posts

+1,810
Excellent

Posted 19 November 2024 - 16:19

In other images this has long been removed.

 

That can only be done if you are sure all strings contain UTF-8.

 

 

>>> match = 'blöd'
>>> match.encode('UTF-8')
b'bl\xc3\xb6d'
>>> match = 'blöd'
>>> match.encode('ISO8859-15')
b'bl\xf6d'

 

This is not relevant, as you start out with strings with valid encoding.
 


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 #24 Dimitrij

  • PLi® Core member
  • 10,327 posts

+350
Excellent

Posted 19 November 2024 - 16:27

After changing the encoding you will never find a match, this option was originally wrong.

 

The same problems arise when we try to compare a case-insensitive match.

If it is not English, then there will never be a match, it is a different character set.


Edited by Dimitrij, 19 November 2024 - 16:28.

GigaBlue UHD Quad 4K /Lunix3-4K/Duo 4K


Re: Autotimer stopped adding new timers since a few days #25 WanWizard

  • PLi® Core member
  • 70,523 posts

+1,810
Excellent

Posted 19 November 2024 - 16:29

Ok.

 

Question remains how that ISO8859-15 string got into the autotimer.xml. Because that is the root cause of this problem.


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 #26 Dimitrij

  • PLi® Core member
  • 10,327 posts

+350
Excellent

Posted 19 November 2024 - 16:33

 

 

Question remains how that ISO8859-15 string got into the autotimer.xml. Because that is the root cause of this problem.

 

        # 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))

 

I checked each enabled Autotimer entry and found one which had ISO8859-15 encoding set.
I changed it to UTF-8 and it seems the problem was fixed.

 


GigaBlue UHD Quad 4K /Lunix3-4K/Duo 4K


Re: Autotimer stopped adding new timers since a few days #27 WanWizard

  • PLi® Core member
  • 70,523 posts

+1,810
Excellent

Posted 19 November 2024 - 16:38

Yes, I can read.

 

But that doesn't answer my question

 

I checked each enabled Autotimer entry and found one which had ISO8859-15 encoding set.

 

which is "why was it ISO8859-15 in the first place", as everything in E2 should be UTF-8.


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 #28 klorinczi

  • Senior Member
  • 32 posts

0
Neutral

Posted 19 November 2024 - 17:48

> so if you have an entry in ISO8859-15, there may be more bugs to fix...

I did set ISO8859-15 encoding accidentally for a newly created Autotimer item.

But the EPG text arrived in UTF-8, so this was interfering with the ISO8859-15 encoding setting.

There should be an encoding detection in the Autotimer plugin, which could handle the encoding error and avoid such fatal plugin errors, what resulted the plugin to stop working.

Re: Autotimer stopped adding new timers since a few days #29 WanWizard

  • PLi® Core member
  • 70,523 posts

+1,810
Excellent

Posted 19 November 2024 - 18:14

Thanks for the feedback.

 

How did you "set ISO8859-15"? Just trying to understand what exactly you did.


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 #30 klorinczi

  • Senior Member
  • 32 posts

0
Neutral

Posted 19 November 2024 - 18:31

Created a new Autotimer for an event and (maybe accidentally) changed the encoding from UTF-8 to ISO8859-15.

Doesn't matter why.
It is just possible and it seems it can make the Autotimer plugin to stop working.

Re: Autotimer stopped adding new timers since a few days #31 arkovda

  • Senior Member
  • 55 posts

0
Neutral

Posted 20 November 2024 - 08:48

After removing the autotimer.xml and adding them back manually it start working.

My old autotimer.xml looked like this:

<?xml version="1.0" ?>
<autotimer version="8">
 
 <defaults location="/media/usb/movie/" offset="5">
 </defaults>
 
 <timer name="Allt för Sverige" match="Allt för Sverige" enabled="yes" location="/media/usb/movie/Serier/Allt för Sverige/">
  <afterevent>auto</afterevent>
  <exclude where="title">®</exclude>
 </timer>
 
 <timer name="Whitechapel" match="Whitechapel" enabled="yes" location="/media/usb/movie/deckare/Whitechapel/" offset="5">
  <serviceref>1:0:19:1D7F:1B:46:E080000:0:0:0:</serviceref>
  <serviceref>1:0:19:1D80:1B:46:E080000:0:0:0:</serviceref>
 </timer>
 
 <timer name="Morden i Sandhamn" match="Morden i Sandhamn" enabled="yes" location="/media/usb/movie/deckare/Morden i Sandhamn" offset="5">
  <serviceref>1:0:19:57D:E:46:E080000:0:0:0:</serviceref>
  <afterevent>auto</afterevent>
  <exclude where="title">®</exclude>
 </timer>
.....
</autotimer>


Re: Autotimer stopped adding new timers since a few days #32 WanWizard

  • PLi® Core member
  • 70,523 posts

+1,810
Excellent

Posted 20 November 2024 - 14:30

What EPG produces titles with a ® ?
 
And I still have no clue what you mean by
 

Created a new Autotimer for an event and (maybe accidentally) changed the encoding from UTF-8 to ISO8859-15.

 

encodings don't easily change, that is hard work.


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 #33 arkovda

  • Senior Member
  • 55 posts

0
Neutral

Posted 21 November 2024 - 08:53

I did not put in the ®. It was created by your site

Should be "(" +"R" + ")" 

where="title">®</exclude>



Re: Autotimer stopped adding new timers since a few days #34 klorinczi

  • Senior Member
  • 32 posts

0
Neutral

Posted 21 November 2024 - 12:44

And I still have no clue what you mean by



Created a new Autotimer for an event and (maybe accidentally) changed the encoding from UTF-8 to ISO8859-15.

encodings don't easily change, that is hard work.
See screenshot2, where I changed the encoding to ISO8859-15.

Attached Files



Re: Autotimer stopped adding new timers since a few days #35 WanWizard

  • PLi® Core member
  • 70,523 posts

+1,810
Excellent

Posted 21 November 2024 - 13:55

I did not put in the ®. It was created by your site

 

What do you mean by "your site"?

 

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 #36 arkovda

  • Senior Member
  • 55 posts

0
Neutral

Posted 21 November 2024 - 17:26

When I pasted in the values they where modified by this webb.

I pasted in a left parantes and an R and a right parantes and that was modified by openpli.org to ®


Edited by arkovda, 21 November 2024 - 17:29.


Re: Autotimer stopped adding new timers since a few days #37 littlesat

  • PLi® Core member
  • 57,166 posts

+698
Excellent

Posted 21 November 2024 - 17:56

® when I type ( r ) (without spaces) on this forum. ©

Edited by littlesat, 21 November 2024 - 17:57.

WaveFrontier 28.2E | 23.5E | 19.2E | 16E | 13E | 10/9E | 7E | 5E | 1W | 4/5W | 15W


Re: Autotimer stopped adding new timers since a few days #38 WanWizard

  • PLi® Core member
  • 70,523 posts

+1,810
Excellent

Posted 21 November 2024 - 19:11

Ok, so this is not about the autotimer and the encoding at all... Confusing.


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 #39 littlesat

  • PLi® Core member
  • 57,166 posts

+698
Excellent

Posted 21 November 2024 - 19:26

Yep it is about our forum software. Indied confusing (p)

WaveFrontier 28.2E | 23.5E | 19.2E | 16E | 13E | 10/9E | 7E | 5E | 1W | 4/5W | 15W


Re: Autotimer stopped adding new timers since a few days #40 WanWizard

  • PLi® Core member
  • 70,523 posts

+1,810
Excellent

Posted 21 November 2024 - 19:41

And the question still remains: where did the ISO8859-15 text in the autotimer come from?


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.



4 user(s) are reading this topic

0 members, 4 guests, 0 anonymous users