Re: g_idle_add patch proposal



On Tue, 2013-05-28 at 14:59 +0200, Bastien Nocera wrote:
One way you can achieve that is by using totem-pl-parser. You'd do:

if (!totem_pl_parser_can_parse_from_uri(uri, FALSE))
   /* return error */
totem_pl_parser_parse_async (parser, uri, FALSE, ....)

and emit the end of the grilo lookup operation from the callback.

totem-pl-parser is already used by grilo itself, and could be used in
plugins that require quvi support.


In fact, as we already discussed on #grilo irc, very likely this is how
we will do in coming versions: use totem-pl-parser instead of directly
libquvi.

        J.A.




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