GNOME Bugzilla – Bug 774062
[flac] fix extractor
Last modified: 2016-11-07 23:10:40 UTC
The flac extractor wasn't working for me with: g_object_unref: assertion 'G_IS_OBJECT (object)' failed Trace/breakpoint trap (core dumped) Turns out it was trying to unref the album_artist TrackerResource which can be NULL when the flac has no albumartist tag. After fixing that it turned out that it was still failing with: No metadata or extractor modules found to handle this file Turns out the TrackerInfo was NULL, because we didn't set it in the extractor info. Seems this was an oversight in the move the TrackerResource.
Created attachment 339256 [details] [review] tracker-extract: Albumartist may be NULL in flac album_artist is a TrackerResource, but may be NULL: do not just unref it.
Created attachment 339257 [details] [review] tracker-extract: Pass the flac metadata Oversight from the move to TrackerResource, the flac extractor was not passing the metadata on for further processing.
Attachment 339256 [details] pushed as 375b5a9 - tracker-extract: Albumartist may be NULL in flac Attachment 339257 [details] pushed as f90b07a - tracker-extract: Pass the flac metadata