diff runner/FeatureExtractionManager.cpp @ 162:447230267c0d jams

Add some metadata; and the data is nested more deeply than I thought
author Chris Cannam
date Wed, 15 Oct 2014 13:02:44 +0100
parents ee56e3e9eeb5
children 795d67a5e266
line wrap: on
line diff
--- a/runner/FeatureExtractionManager.cpp	Wed Oct 15 11:33:14 2014 +0100
+++ b/runner/FeatureExtractionManager.cpp	Wed Oct 15 13:02:44 2014 +0100
@@ -728,7 +728,7 @@
                 FeatureWriter::TrackMetadata m;
                 m.title = reader->getTitle();
                 m.maker = reader->getMaker();
-                if (m.title != "" && m.maker != "") {
+                if (m.title != "" || m.maker != "") {
                     writers[j]->setTrackMetadata(audioSource, m);
                 }
             }