Re: [PATCH 2/2] python: in =?UTF-8?Q?test-ui=2C=09convert=20to=20?= =?UTF-8?Q?strings=20when=20storing=20media=20info?=




On Tue, 21 Dec 2010 08:52:04 +0100, Simon Pena Placer <spena igalia com> wrote:
On 21/12/10 08:30, Iago Toral wrote:

Hi Simón,

when does "media.get(key)" not return a string?

Iago

In the API, it returns a GValue, and I found that the Python test-ui was complaining when I wanted to store the media length, for example: Python
was getting it as an integer.

Oh of course, it is the GrlData API that you are using here.
Feel free to push the patches.

Iago


[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]