GNOME Bugzilla – Bug 431846
Python rhythmdb bindings and RhythmDBEntryType
Last modified: 2007-05-21 10:31:31 UTC
Please describe the problem: I can't make queries involving rhythmdb.PROP_TYPE or RhythmDBEntryType. Steps to reproduce: Create the following query: db = shell.props.db query = db.query_new() entry_type = db.entry_type_get_by_name('song') db.query_append(query, [rhythmdb.QUERY_PROP_EQUALS, rhythmdb.PROP_TYPE, entry_type]) Actual results: I get this error: Warning: g_value_copy: assertion `g_value_type_compatible (G_VALUE_TYPE (src_value), G_VALUE_TYPE (dest_value))' failed Expected results: A query should be created with all the entries of that type. Does this happen every time? Yes. Other information:
I think this is to do with RhythmDBEntryType being a boxed type. Marking as blocker of podcast plugin (bug #323057).
Created attachment 87588 [details] [review] Fix RhythmDBEntryType in rhythmdb_query_append Tested against podcast-feed entries.
Committed to svn, thanks.