[linux-audio-user] commandline info viewer ?

Michelle Konzack linux4michelle at freenet.de
Tue Oct 26 14:24:17 EDT 2004


Hello *, 

I have made a BASH script which I use to view varius attachments
in my MUA (mutt). Because I get often mp3 I have made this:

  ____( '/usr/bin/tdfileview' )_________________________________________
 /
| elif  [ `echo "$1" |grep -E ".mp3$"` ] || [ `echo "$1" |grep -E ".mpa$"` ]; then
|   # MPEG audio
|   # 
|   echo $"MPEG ID3 Tag:"
|   echo $"============="
|   mp3info -x -p "File:            %fnTitle:           %tnTrack:           %nnArtist:          %anAlbum:             %lnYear:            %ynComment:           %cnGenre:           %g (%G)n" "$1"
|   echo ""
|   echo $"MPEG technical informations:"
|   echo $"============================"
|   mp3info -x -p "Media Type:      MPEG %3.1v Layer %LnRate:            %r KB/s, %q KHz (%o)nEmphasis:        %enCRC:             %EnCopyright:       %CnOriginal:        %OnPadding:         %pnTime:            %m:%snGood Frames:     %unCorrupt Frames:  %bn" "$1"
| else
 \______________________________________________________________________

Which works perfectly and fast. Now I am searching for a similar
commandline wave-info viewer. Does such proigram exist ?

It must be in the Debian distribution.

Thanks
Michelle

-- 
Linux-User #280138 with the Linux Counter, http://counter.li.org/ 
Michelle Konzack   Apt. 917                  ICQ #328449886
                   50, rue de Soultz         MSM LinuxMichi
0033/3/88452356    67100 Strasbourg/France   IRC #Debian (irc.icq.com)
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 189 bytes
Desc: Digital signature
Url : http://lists.linuxaudio.org/pipermail/linux-audio-user/attachments/20041026/c2769c6d/attachment.pgp 


More information about the Linux-audio-user mailing list