CrearAyT/proyecto-anahi — Issue #2: VLC: telnetlib no funciona con unicode.
Author: pardo-bsso
Created: 2011-12-01 15:41:40+00:00
State: open

Hay que ver de usar otra interfaz remota o método de conexión, socks pelados? .

```
$ python sensorplayer.py
VLC media player 1.0.6 Goldeneye
Interfaz de control remoto inicializada. Escribe `help' para ayuda.
Traceback (most recent call last):
File "sensorplayer.py", line 103, in
p._playlist.append(u'/home/pardo/musica/Manu Chao Amadou Et Mariam - Senegal Fast Food.ogg')
File "sensorplayer.py", line 22, in inner
s.changed()
File "/home/pardo/proyectos/elarteylatecnologia/anahi/anahi-test/utils/misc.py", line 19, in __call__
func(self.__slots[key], *args, **kargs)
File "sensorplayer.py", line 52, in __update_playlist
self._vlc.addfile(f)
File "/home/pardo/proyectos/elarteylatecnologia/anahi/anahi-test/utils/vlc.py", line 19, in addfile
self._do('add ' + filename)
File "/home/pardo/proyectos/elarteylatecnologia/anahi/anahi-test/utils/vlc.py", line 14, in _do
self.tn.write(cmd+'\n')
File "/usr/lib/python2.6/telnetlib.py", line 277, in write
if IAC in buffer:
TypeError: 'in ' requires string as left operand
```