comparison 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
comparison
equal deleted inserted replaced
161:4b19d824a213 162:447230267c0d
726 726
727 for (int j = 0; j < (int)writers.size(); ++j) { 727 for (int j = 0; j < (int)writers.size(); ++j) {
728 FeatureWriter::TrackMetadata m; 728 FeatureWriter::TrackMetadata m;
729 m.title = reader->getTitle(); 729 m.title = reader->getTitle();
730 m.maker = reader->getMaker(); 730 m.maker = reader->getMaker();
731 if (m.title != "" && m.maker != "") { 731 if (m.title != "" || m.maker != "") {
732 writers[j]->setTrackMetadata(audioSource, m); 732 writers[j]->setTrackMetadata(audioSource, m);
733 } 733 }
734 } 734 }
735 } 735 }
736 } 736 }