[prev in list] [next in list] [prev in thread] [next in thread] 

List:       pykde
Subject:    [PyQt] Character encoding problems at Phonon
From:       Gilliard Macedo <gilliardmacedo () gmail ! com>
Date:       2009-08-25 14:22:20
Message-ID: b1a612de0908250722n5f3130afk8c98c14ff4a33229 () mail ! gmail ! com
[Download RAW message or body]

[Attachment #2 (multipart/alternative)]


Hi everyone,

I'm having some problems with character encoding on my application, it
simply doesn't play songs with accent, and returns this(note this is not a
python exception):
(<unknown>:9975): GStreamer-CRITICAL **: gst_element_make_from_uri:
assertion `gst_uri_is_valid (uri)' failed

In this method I tried to encode the path before the setCurrentSource, but
had no effect:

def setPath(self, path):
        self.media.setCurrentSource(Phonon.MediaSource(path))


Anyone know what I have to do?

[]s,

-- 
Gilliard Macedo Vieira de Carvalho

Graduando em Ciência da Computação pela UFCG
Laboratório de Sistemas Embarcados e Computação Pervasiva -
www.embedded.ufcg.edu.br

[Attachment #5 (text/html)]

Hi everyone, <br><br>I&#39;m having some problems with character encoding on my \
application, it simply doesn&#39;t play songs with accent, and returns this(note this \
is not a python exception):<br>(&lt;unknown&gt;:9975): GStreamer-CRITICAL **: \
gst_element_make_from_uri: assertion `gst_uri_is_valid (uri)&#39; failed<br> <br>In \
this method I tried to encode the path before the setCurrentSource, but had no \
effect:<br><br>def setPath(self, path):<br>        \
self.media.setCurrentSource(Phonon.MediaSource(path))<br clear="all"><br><br>Anyone \
know what I have to do?<br> <br>[]s,<br><br>-- <br>Gilliard Macedo Vieira de \
Carvalho<br><br>Graduando em Ciência da Computação pela UFCG<br>Laboratório de \
Sistemas Embarcados e Computação Pervasiva - <a \
href="http://www.embedded.ufcg.edu.br">www.embedded.ufcg.edu.br</a><br>



_______________________________________________
PyQt mailing list    PyQt@riverbankcomputing.com
http://www.riverbankcomputing.com/mailman/listinfo/pyqt

[prev in list] [next in list] [prev in thread] [next in thread] 

Configure | About | News | Add a list | Sponsored by KoreLogic