Commit 7a46c964 authored by Saiful B. Khan's avatar Saiful B. Khan Committed by Sam Thursfield

writeback: Add GStreamer based writeback module

GStreamer's tag setting API allows saving a more inclusive set
of tags, compared to taglib, but is limited to a few formats based
on the availability of relevant muxers.

https://bugzilla.gnome.org/show_bug.cgi?id=792202
parent 78ca57ee
......@@ -73,6 +73,7 @@ glib = dependency('glib-2.0', version: '>=' + glib_required)
gmodule = dependency('gmodule-2.0', version: '>=' + glib_required)
gobject = dependency('gobject-2.0', version: '>=' + glib_required)
gstreamer = dependency('gstreamer-1.0', required: false)
gstreamer_audio = dependency('gstreamer-audio-1.0', required: false)
gstreamer_pbutils = dependency('gstreamer-pbutils-1.0', required: false)
gstreamer_tag = dependency('gstreamer-tag-1.0', required: false)
gupnp_dlna = dependency('gupnp-dlna-2.0', version: '>= 0.9.4', required: false)
......@@ -470,6 +471,7 @@ if have_tracker_writeback
summary += [
'\nWriteback Formats:',
' Audio files using Taglib: ' + taglib.found().to_string(),
' Audio files using GStreamer: ' + (gstreamer.found() and gstreamer_tag.found() and gstreamer_audio.found()).to_string(),
' XMP: ' + exempi.found().to_string(),
]
endif
......
......@@ -10,6 +10,10 @@ if taglib.found()
modules += [['writeback-taglib', 'tracker-writeback-taglib.c', [tracker_miner, tracker_sparql, tracker_miners_common_dep, taglib]]]
endif
if gstreamer.found() and gstreamer_tag.found() and gstreamer_audio.found()
modules += [['writeback-gstreamer', 'tracker-writeback-gstreamer.c', [tracker_miner, tracker_sparql, tracker_miners_common_dep, gstreamer, gstreamer_tag]]]
endif
if exempi.found()
modules += [['writeback-xmp', 'tracker-writeback-xmp.c', [tracker_miner, tracker_sparql, tracker_miners_common_dep, exempi]]]
endif
......
This diff is collapsed.
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment