X-Git-Url: http://git.treefish.org/~alex/usetaglib.git/blobdiff_plain/5efba655476d5687be2fdf9e19ff48f93ea31d27..96a5c804590346014e8fe97b785823f1b88d7078:/usetaglib.cpp?ds=sidebyside diff --git a/usetaglib.cpp b/usetaglib.cpp index 8c04a55..43f60bd 100644 --- a/usetaglib.cpp +++ b/usetaglib.cpp @@ -78,7 +78,7 @@ int action_printTags (const TagLib::FileRef f, TagLib::PropertyMap &propmap) longest = i->first.size(); } } - cout << "-- TAG (properties) --" << 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 --" << endl; + cout << " \\_____/ AUDIO PROPERTIES \\_____ _ _ _" << endl; cout << "BITRATE=" << properties->bitrate() << endl; cout << "SAMPLERATE=" << properties->sampleRate() << endl; cout << "CHANNELS=" << properties->channels() << endl; @@ -121,7 +121,7 @@ void printHelp () " If multiple actions are specified they are executed in given order.\n" "\n" " -l, --list list all tags (implicit if no action given)\n" - " -a, --audio show audio information\n" + " -a, --audio show audio properties\n" " -e, --erase=TAGNAME erase tag TAGNAME\n" " -r, --replace=TAGNAME=TAGVAL replace tag TAGNAME with value TAGVAL\n" " -i, --insert=TAGNAME=TAGVAL insert tag TAGNAME with value TAGVAL\n"; @@ -227,7 +227,11 @@ int main(int argc, char *argv[]) requestedActions.push_back( make_pair(LIST, "") ); for(int i = optind; i < argc; i++) { - cout << "******************** \"" << argv[i] << "\" ********************" << endl; + cout << " _________________________________________ _ _ _" << endl; + cout << "/" << endl; + cout << " " << argv[i] << endl; + cout << "\\_________________________________________ _ _ _" << endl; + TagLib::FileRef f(argv[i]); if(f.isNull())