]> git.treefish.org Git - usetaglib.git/commitdiff
Beautified output even more.
authorAlexander Schmidt <alex@treefish.org>
Sat, 7 Feb 2015 23:01:27 +0000 (00:01 +0100)
committerAlexander Schmidt <alex@treefish.org>
Sat, 7 Feb 2015 23:01:27 +0000 (00:01 +0100)
usetaglib.cpp

index 25c0d8df913e6fde2e4cf404fa11292ef4eb06fb..43f60bd15d09cb829f4438a0965a3eb474238eee 100644 (file)
@@ -78,7 +78,7 @@ int action_printTags (const TagLib::FileRef f, TagLib::PropertyMap &propmap)
        longest = i->first.size();
       }
     }
-    cout << "----[ TAGS ]----" << endl;
+    cout << " \\_____/ TAGS \\_____ _ _ _" << endl;
     for(TagLib::PropertyMap::ConstIterator i = propmap.begin(); i != propmap.end(); ++i) {
       for(TagLib::StringList::ConstIterator j = i->second.begin(); j != i->second.end(); ++j) {
        cout << i->first << "=" << *j << endl;
@@ -96,7 +96,7 @@ int action_printAudio (const TagLib::FileRef f)
     TagLib::AudioProperties *properties = f.audioProperties();
     int seconds = properties->length() % 60;
     int minutes = (properties->length() - seconds) / 60;
-    cout << "----[ AUDIO PROPERTIES ]----" << endl;
+    cout << " \\_____/ AUDIO PROPERTIES \\_____ _ _ _" << endl;
     cout << "BITRATE=" << properties->bitrate() << endl;
     cout << "SAMPLERATE=" << properties->sampleRate() << endl;
     cout << "CHANNELS=" << properties->channels() << endl;