[Tracker] tracker-extract-playlist



Hello all,


I am experiencing some problems with tracker-extract-playlist plugin.
There is callback connected to signal "entry-parsed" of and object of type "TotemPlParser".
This is how signal is connected:
g_signal_connect (G_OBJECT (pl), "entry-parsed",
                 G_CALLBACK (entry_parsed), &data);

this is the prototype of callback method :
static void
entry_parsed (TotemPlParser *parser,
              const gchar   *to_uri,
              GHashTable    *to_metadata,
              gpointer       user_data)


My question is where does the GHashTable come from?
because sometimes that member is  NULL and tracker-extract process fails. (no null checks on "to_metadata"  variable)
GLib-Critical **: g_hash_table_lookup: assertion `hash_table != NULL' failed.

Hope i am not knocking on the wrong door and this to be issue because of totem-pl-parse library.

Thanks,
Ionut



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