@ticed35: c'est sur mais ça fonctionne plutôt bien (tout mes autres plugin fonctionnent bien et mes scripts en IRCC sont plus rapide que les tiens
) .
J'ai un nouveau pb avec ton plugin (je suis chiant hein?):
Dés fois quand je change de chaîne, ça ne met pas les infos à jour: exemple de log: passage de la 3 à la 2 (seul le volume change une fois que je suis sur la 2):
[2017-11-29 19:19:04][DEBUG] : Reception de : apikey=xxxxx / mac=xxxxx / pourcent_p=99 /
[2017-11-29 19:19:07][DEBUG] : Reception de : apikey=xxxxx / mac=xxxxx / duree=720 / chaine=003 / debut=2017-11-29T19:18:00 0100 / nom_chaine=F3 Alsace / fin_p=19:30 / debut_p=19:18 / source=DVBTe / program=19/20 : Edition locale / pourcent_p=9 /
[2017-11-29 19:19:10][DEBUG] : Reception de : apikey=xxxxx / mac=xxxxx / duree=720 / volume=11 / model=KD-65S9005B / chaine=003 / debut=2017-11-29T19:18:00 0100 / nom_chaine=F3 Alsace / fin_p=19:30 / debut_p=19:18 / status=active / source=DVBTe / program=19/20 : Edition locale / pourcent_p=10 /
Exception in thread Thread-426:
Traceback (most recent call last):
File "/usr/lib/python3.4/threading.py", line 920, in _bootstrap_inner
self.run()
File "/usr/lib/python3.4/threading.py", line 1186, in run
self.function(*self.args, **self.kwargs)
File "/var/www/html/plugins/sonybravia/resources/sonybravia_cookie.py", line 55, in timer_callback
if self.process.poll() is None:
AttributeError: 'NoneType' object has no attribute 'poll'
Exception in thread Thread-427:
Traceback (most recent call last):
File "/usr/lib/python3.4/threading.py", line 920, in _bootstrap_inner
self.run()
File "/usr/lib/python3.4/threading.py", line 868, in run
self._target(*self._args, **self._kwargs)
File "/var/www/html/plugins/sonybravia/resources/sonybravia_cookie.py", line 50, in target
self.process = subprocess.Popen(self.cmd + _SendData, shell=True)
File "/usr/lib/python3.4/subprocess.py", line 859, in __init__
restore_signals, start_new_session)
File "/usr/lib/python3.4/subprocess.py", line 1395, in _execute_child
restore_signals, start_new_session, preexec_fn)
UnicodeEncodeError: 'ascii' codec can't encode character '\xeb' in position 297: ordinal not in range(128)
Exception in thread Thread-428:
Traceback (most recent call last):
File "/usr/lib/python3.4/threading.py", line 920, in _bootstrap_inner
self.run()
File "/usr/lib/python3.4/threading.py", line 1186, in run
self.function(*self.args, **self.kwargs)
File "/var/www/html/plugins/sonybravia/resources/sonybravia_cookie.py", line 55, in timer_callback
if self.process.poll() is None:
AttributeError: 'NoneType' object has no attribute 'poll'
Exception in thread Thread-429:
Traceback (most recent call last):
File "/usr/lib/python3.4/threading.py", line 920, in _bootstrap_inner
self.run()
File "/usr/lib/python3.4/threading.py", line 868, in run
self._target(*self._args, **self._kwargs)
File "/var/www/html/plugins/sonybravia/resources/sonybravia_cookie.py", line 50, in target
self.process = subprocess.Popen(self.cmd + _SendData, shell=True)
File "/usr/lib/python3.4/subprocess.py", line 859, in __init__
restore_signals, start_new_session)
File "/usr/lib/python3.4/subprocess.py", line 1395, in _execute_child
restore_signals, start_new_session, preexec_fn)
UnicodeEncodeError: 'ascii' codec can't encode character '\xeb' in position 339: ordinal not in range(128)
Exception in thread Thread-430:
Traceback (most recent call last):
File "/usr/lib/python3.4/threading.py", line 920, in _bootstrap_inner
self.run()
File "/usr/lib/python3.4/threading.py", line 1186, in run
self.function(*self.args, **self.kwargs)
File "/var/www/html/plugins/sonybravia/resources/sonybravia_cookie.py", line 55, in timer_callback
if self.process.poll() is None:
AttributeError: 'NoneType' object has no attribute 'poll'
Exception in thread Thread-433:
Traceback (most recent call last):
File "/usr/lib/python3.4/threading.py", line 920, in _bootstrap_inner
self.run()
File "/usr/lib/python3.4/threading.py", line 868, in run
self._target(*self._args, **self._kwargs)
File "/var/www/html/plugins/sonybravia/resources/sonybravia_cookie.py", line 50, in target
self.process = subprocess.Popen(self.cmd + _SendData, shell=True)
File "/usr/lib/python3.4/subprocess.py", line 859, in __init__
restore_signals, start_new_session)
File "/usr/lib/python3.4/subprocess.py", line 1395, in _execute_child
restore_signals, start_new_session, preexec_fn)
UnicodeEncodeError: 'ascii' codec can't encode character '\xeb' in position 339: ordinal not in range(128)
Exception in thread Thread-434:
Traceback (most recent call last):
File "/usr/lib/python3.4/threading.py", line 920, in _bootstrap_inner
self.run()
File "/usr/lib/python3.4/threading.py", line 1186, in run
self.function(*self.args, **self.kwargs)
File "/var/www/html/plugins/sonybravia/resources/sonybravia_cookie.py", line 55, in timer_callback
if self.process.poll() is None:
AttributeError: 'NoneType' object has no attribute 'poll'
Exception in thread Thread-435:
Traceback (most recent call last):
File "/usr/lib/python3.4/threading.py", line 920, in _bootstrap_inner
self.run()
File "/usr/lib/python3.4/threading.py", line 868, in run
self._target(*self._args, **self._kwargs)
File "/var/www/html/plugins/sonybravia/resources/sonybravia_cookie.py", line 50, in target
self.process = subprocess.Popen(self.cmd + _SendData, shell=True)
File "/usr/lib/python3.4/subprocess.py", line 859, in __init__
restore_signals, start_new_session)
File "/usr/lib/python3.4/subprocess.py", line 1395, in _execute_child
restore_signals, start_new_session, preexec_fn)
UnicodeEncodeError: 'ascii' codec can't encode character '\xeb' in position 339: ordinal not in range(128)
Exception in thread Thread-436:
Traceback (most recent call last):
File "/usr/lib/python3.4/threading.py", line 920, in _bootstrap_inner
self.run()
File "/usr/lib/python3.4/threading.py", line 1186, in run
self.function(*self.args, **self.kwargs)
File "/var/www/html/plugins/sonybravia/resources/sonybravia_cookie.py", line 55, in timer_callback
if self.process.poll() is None:
AttributeError: 'NoneType' object has no attribute 'poll'
Exception in thread Thread-437:
Traceback (most recent call last):
File "/usr/lib/python3.4/threading.py", line 920, in _bootstrap_inner
self.run()
File "/usr/lib/python3.4/threading.py", line 868, in run
self._target(*self._args, **self._kwargs)
File "/var/www/html/plugins/sonybravia/resources/sonybravia_cookie.py", line 50, in target
self.process = subprocess.Popen(self.cmd + _SendData, shell=True)
File "/usr/lib/python3.4/subprocess.py", line 859, in __init__
restore_signals, start_new_session)
File "/usr/lib/python3.4/subprocess.py", line 1395, in _execute_child
restore_signals, start_new_session, preexec_fn)
UnicodeEncodeError: 'ascii' codec can't encode character '\xeb' in position 339: ordinal not in range(128)
Exception in thread Thread-438:
Traceback (most recent call last):
File "/usr/lib/python3.4/threading.py", line 920, in _bootstrap_inner
self.run()
File "/usr/lib/python3.4/threading.py", line 1186, in run
self.function(*self.args, **self.kwargs)
File "/var/www/html/plugins/sonybravia/resources/sonybravia_cookie.py", line 55, in timer_callback
if self.process.poll() is None:
AttributeError: 'NoneType' object has no attribute 'poll'
Exception in thread Thread-439:
Traceback (most recent call last):
File "/usr/lib/python3.4/threading.py", line 920, in _bootstrap_inner
self.run()
File "/usr/lib/python3.4/threading.py", line 868, in run
self._target(*self._args, **self._kwargs)
File "/var/www/html/plugins/sonybravia/resources/sonybravia_cookie.py", line 50, in target
self.process = subprocess.Popen(self.cmd + _SendData, shell=True)
File "/usr/lib/python3.4/subprocess.py", line 859, in __init__
restore_signals, start_new_session)
File "/usr/lib/python3.4/subprocess.py", line 1395, in _execute_child
restore_signals, start_new_session, preexec_fn)
UnicodeEncodeError: 'ascii' codec can't encode character '\xeb' in position 339: ordinal not in range(128)
Exception in thread Thread-440:
Traceback (most recent call last):
File "/usr/lib/python3.4/threading.py", line 920, in _bootstrap_inner
self.run()
File "/usr/lib/python3.4/threading.py", line 1186, in run
self.function(*self.args, **self.kwargs)
File "/var/www/html/plugins/sonybravia/resources/sonybravia_cookie.py", line 55, in timer_callback
if self.process.poll() is None:
AttributeError: 'NoneType' object has no attribute 'poll'
Exception in thread Thread-447:
Traceback (most recent call last):
File "/usr/lib/python3.4/threading.py", line 920, in _bootstrap_inner
self.run()
File "/usr/lib/python3.4/threading.py", line 868, in run
self._target(*self._args, **self._kwargs)
File "/var/www/html/plugins/sonybravia/resources/sonybravia_cookie.py", line 50, in target
self.process = subprocess.Popen(self.cmd + _SendData, shell=True)
File "/usr/lib/python3.4/subprocess.py", line 859, in __init__
restore_signals, start_new_session)
File "/usr/lib/python3.4/subprocess.py", line 1395, in _execute_child
restore_signals, start_new_session, preexec_fn)
UnicodeEncodeError: 'ascii' codec can't encode character '\xe0' in position 304: ordinal not in range(128)
Une idée du problème?
En tout cas, j'adore ton plugin! Trop fort!
+++