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;
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;
" 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";
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())