[tracker-miners/wip/jfelder/tracker-extract-musicbrainz-external-resources: 1/2] extract-vorbis: Comment musicbrainz extraction code
- From: Jean Felder <jfelder src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [tracker-miners/wip/jfelder/tracker-extract-musicbrainz-external-resources: 1/2] extract-vorbis: Comment musicbrainz extraction code
- Date: Mon, 15 Jul 2019 19:28:09 +0000 (UTC)
commit af5bfee9c71982c130da6d4fcca8b979d8fa3364
Author: Jean Felder <jean felder estimages com>
Date: Mon Jul 15 20:45:25 2019 +0200
extract-vorbis: Comment musicbrainz extraction code
src/tracker-extract/tracker-extract-vorbis.c | 40 ++++++++++++++--------------
1 file changed, 20 insertions(+), 20 deletions(-)
---
diff --git a/src/tracker-extract/tracker-extract-vorbis.c b/src/tracker-extract/tracker-extract-vorbis.c
index 2e5507d8c..2b967afd6 100644
--- a/src/tracker-extract/tracker-extract-vorbis.c
+++ b/src/tracker-extract/tracker-extract-vorbis.c
@@ -170,10 +170,10 @@ tracker_extract_get_metadata (TrackerExtractInfo *info)
if (md.creator_name) {
md.creator = tracker_extract_new_artist (md.creator_name);
- if (vd.mb_artist_id) {
- tracker_resource_set_string (md.creator, "nmm:mbArtistID", vd.mb_artist_id);
- g_free (vd.mb_artist_id);
- }
+ /* if (vd.mb_artist_id) { */
+ /* tracker_resource_set_string (md.creator, "nmm:mbArtistID", vd.mb_artist_id); */
+ /* g_free (vd.mb_artist_id); */
+ /* } */
tracker_resource_set_relation (metadata, "nmm:performer", md.creator);
}
@@ -209,15 +209,15 @@ tracker_extract_get_metadata (TrackerExtractInfo *info)
tracker_resource_set_double (album, "nmm:albumPeakGain", atof (vd.album_peak_gain));
}
- if (vd.mb_release_id) {
- tracker_resource_set_string (album, "nmm:mbReleaseID", vd.mb_release_id);
- g_free (vd.mb_release_id);
- }
+ /* if (vd.mb_release_id) { */
+ /* tracker_resource_set_string (album, "nmm:mbReleaseID", vd.mb_release_id); */
+ /* g_free (vd.mb_release_id); */
+ /* } */
- if (vd.mb_release_group_id) {
- tracker_resource_set_string (album, "nmm:mbReleaseGroupID", vd.mb_release_group_id);
- g_free (vd.mb_release_group_id);
- }
+ /* if (vd.mb_release_group_id) { */
+ /* tracker_resource_set_string (album, "nmm:mbReleaseGroupID", vd.mb_release_group_id);
*/
+ /* g_free (vd.mb_release_group_id); */
+ /* } */
tracker_resource_set_relation (metadata, "nmm:musicAlbum", album);
tracker_resource_set_relation (metadata, "nmm:musicAlbumDisc", album_disc);
@@ -301,15 +301,15 @@ tracker_extract_get_metadata (TrackerExtractInfo *info)
g_free (vd.acoustid_fingerprint);
}
- if (vd.mb_recording_id) {
- tracker_resource_set_string (metadata, "nmm:mbRecordingID", vd.mb_recording_id);
- g_free (vd.mb_recording_id);
- }
+ /* if (vd.mb_recording_id) { */
+ /* tracker_resource_set_string (metadata, "nmm:mbRecordingID", vd.mb_recording_id); */
+ /* g_free (vd.mb_recording_id); */
+ /* } */
- if (vd.mb_track_id) {
- tracker_resource_set_string (metadata, "nmm:mbTrackID", vd.mb_track_id);
- g_free (vd.mb_track_id);
- }
+ /* if (vd.mb_track_id) { */
+ /* tracker_resource_set_string (metadata, "nmm:mbTrackID", vd.mb_track_id); */
+ /* g_free (vd.mb_track_id); */
+ /* } */
if (vd.lyrics) {
tracker_resource_set_string (metadata, "nie:plainTextContent", vd.lyrics);
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]