diff options
Diffstat (limited to 'music.cpp')
-rw-r--r-- | music.cpp | 7 |
1 files changed, 0 insertions, 7 deletions
@@ -19,12 +19,6 @@ void music::init(std::string root) { if(boost::algorithm::ends_with(root, "/")) root = root.substr(0, root.size()-1); root_directory = root; - - // find_artist test - std::vector<MusicListing::p> ml = find_artist("a"); - for(std::vector<MusicListing::p>::iterator it = ml.begin(); it != ml.end(); it++) { - std::cout << "result: " << (*it)->path << std::endl; - } } MusicListing::p music::get(const std::vector<std::string>& path) { @@ -68,7 +62,6 @@ std::vector<MusicListing::p> music::find_artist(const std::string artist) { boost::shared_ptr<MusicListing> ml(new MusicTrack(*it)); results.push_back(ml); } - std::cout << "results size: " << results.size() << std::endl; return results; } |