AminetAminet
Search:
84799 packages online
About
Recent
Browse
Search
Upload
Setup
Services

mus/misc/mp3info-0.2.16.lha

Mirror:Random
Showing: m68k-amigaos iconppc-amigaos iconppc-morphos iconi386-aros iconi386-amithlon iconppc-warpup iconppc-powerup icongeneric icon
No screenshot available
Short:Mp3info - cool command line mp3 ID tag tool
Author: thorvald at natvig.com
Uploader:
Type:mus/misc
Architecture:m68k-amigaos
Date:2003-02-09
Download:mus/misc/mp3info-0.2.16.lha - View contents
Readme:mus/misc/mp3info-0.2.16.readme
Downloads:628

Ported by LouiSe

No source modification needed.

bin/mp3info.sh script can build a complete list of MP3 CD!
(use it from unix-alike shell only ("sh mp3info.sh /cd0 CDLIST.txt")!)

more info and other AMIGA ports at:
http://louise.amiga.hu

-----------------------------------------

**********************
      mp3Info
**********************

A small utility to read and write TAG info, as well as retrieve the MP3
Header info and print it all out in a nice format.

Released under GNU GPL.

Features:
 - Get, Set and Wipe MP3 TAG Info.
 - Get MPEG Audio Version 1, 2 and 2.5 (All Layers) Header info.
 - Userdefinable output formatting (rather advanced).
 - Can rename files according to userdefined scheme.
 - Can now also PLAY MP3s in a correct manner (Linux only).

Author is Thorvald Natvig <thorvald@natvig.com>, if you in any way think this
is a nice program, send me an email saying "Hi". Feedback is nice.

I have only tested it on Linux/x86, but people have reported it to work on
a lot of other machines, and it should theoretically work on anything. I'm
interested in having it compilable on other machines, so mail me any
problems you may have.

A few people have tested this on other Unix-alike platforms, and gotten it
to work, and it's even reported to work under OS/2 :) 

INSTALLATION INSTRUCTIONS:

Just run the file 'INSTALL' to install it, should theoretically work just
fine.

Someday I'll learn how to do autoconfig and then it will be even finer.

If you change any of the source, please, Please send me a patch or the new
source so I can include it. Also send me a email if you use this utility :)

NEW VERSIONS:
New versions will be available on ftp://bimbo.hive.no/pub/mp3info/
They will also be uploaded to sunsite

MP3 PLAYING:

mp3info -e "programname \"%f\"" CoolMusic.mp3

This will run
programname CoolMusic.mp3
which will play the music for you

For AMP, use 
mp3info -e "amp -q \"%f\"" filename.mp3

I have included my playmp script, which I doubt will work on anything but
Linux system where you are root (just edit it and it will work anywhere).
What it does, is use locate to find all your MP3 tunes, and play them
all randomly. It goes with a shell alias:
alias mp='killall -HUP mp3info'
Just type 'mp' to skip to the next song.

*****************************
Output formatting magic

The output from the program can be 100% userdefined. There are two uses, one
is -f <format> to set the output format, and the other is -N <format> to set
a naming scheme. -N will RENAME the files specified according to the format.

The format is built up as a string, with the following special characters:

%% = %
%I = IF (explained below)
%! = Not-IF (also explained below)
%t = title of song
%a = Artist
%l = album
%y = year
%c = comment
%g = genre (text)
%# = genre (number)
%v = MPEG Version (1/2/2.5)
%V = MPEG Version as text
%L = Layer version (I, II, III)
%A = Layer version as number
%C = Error_Protection (0/1)
%b = Bitrate (in kbit/s)
%F = Sampling frequency
%M = mode
%O = Copyright (0/1)
%o = Original (0/1)
%m = length (minutes)
%s = length (remaining seconds.. Ie 3m 2s is "%mm %ss")
%S = length (ALL in seconds).
%N = Newline
%f = Filename (as specified on command line)
%B = Base filename (path stripped)
%i = Size of file (in bytes)
%E = ANSI ESC-code (\0x1B [ )

If cases:
If-cases are %I<WHAT>..
%IT If TAG info present
%IH If HEADER info present
%Ia If Artist info present
%It If Title of song present
%Il If album name present
%Iy If year present
%Ic If comment present
%IC If CRC.
%IO If Copyrighted.
%Io If Original
%IS If Stereo
%IE End-IF.

%! and the same characters means If NOT. So %!T means IF NOT TAG.
%!E is ELSE.

Example..
%IT Tag info present%IE %IHHeader info present %ICwith CRC%IE%IE

should explain it.
As seen, ifs can be nested. 

There is a length limit on the formatting string and the output which can be
set in mp3tools.h

Hint:
Bash etc often has ! as a special char, meaning you can't use it on the
command line, you have to have it in a bash-script of sorts.

Formatting:
mp3info now understands normal printf formatting, so you can use
"%m:%02s" to get 3:02 for the duration.

Naming: I use the following naming scheme :
mp3info -N "%IH%It%t.mp3%IE%IE"
Which calls the tune
Rhythm is a dancer.mp3

Which names the files as <song name>.mp3, which is how I like it.
As an alternative, you can use:
mp3info -N "%IH%It%Ia(%a)-%IE%t.mp3%IE%IE"
Which would produce
(Snap)-Rhythm is a dancer.mp3
as a name.

-------
CREDITS
-------

I got the info about the MPEG Headers from free software available to decode
MPEG2 streams. 

ID3 format by NamkraD/DC (erick@marble.net)
http://www.marble.net/~erick/mpeg3.htm

The debian stuff was added by Clint Adams <schizo@simons-rock.edu>

And a big thanks to all those who sent me an email :)

And another thanks to all those who sent me email on the 'riff' header
problem, which finally drove me to updating.


Contents of mus/misc/mp3info-0.2.16.lha
 PERMSSN    UID  GID    PACKED    SIZE  RATIO     CRC       STAMP          NAME
---------- ----------- ------- ------- ------ ---------- ------------ -------------
[generic]                18005   37472  48.0% -lh5- 8a88 Feb  8  2003 mp3info-0.2.16/bin/mp3info
[generic]                  248     357  69.5% -lh5- 7fc8 Feb  8  2003 mp3info-0.2.16/bin/mp3info.sh
[generic]                 1353    2671  50.7% -lh5- 3402 Feb  8  2003 mp3info-0.2.16/doc/mp3info.doc
[generic]                 1396    2872  48.6% -lh5- c6bd Mar 19  1999 mp3info-0.2.16/man/man1/mp3info.1
[generic]                 2427    4945  49.1% -lh5- 3c48 Feb  8  2003 mp3info-0.2.16/mp3info-0.2.16.readme
[generic]                 1753    3675  47.7% -lh5- 4a68 Mar 19  1999 mp3info-0.2.16/src/mp3info-0.2.16/aclocal.m4
[generic]                   35      35 100.0% -lh0- 4fc0 Mar 19  1999 mp3info-0.2.16/src/mp3info-0.2.16/AUTHORS
[generic]                 2388    4839  49.3% -lh5- ce11 Mar 19  1999 mp3info-0.2.16/src/mp3info-0.2.16/ChangeLog
[generic]                  588    1462  40.2% -lh5- 3c79 Feb  8  2003 mp3info-0.2.16/src/mp3info-0.2.16/config.cache
[generic]                  505    1645  30.7% -lh5- 8e99 Feb  8  2003 mp3info-0.2.16/src/mp3info-0.2.16/config.log
[generic]                 2064    5294  39.0% -lh5- b8d9 Feb  8  2003 mp3info-0.2.16/src/mp3info-0.2.16/config.status
[generic]                13733   47514  28.9% -lh5- b7f3 Mar 19  1999 mp3info-0.2.16/src/mp3info-0.2.16/configure
[generic]                  287     436  65.8% -lh5- 6dfe Mar 19  1999 mp3info-0.2.16/src/mp3info-0.2.16/configure.in
[generic]                 7008   17989  39.0% -lh5- f060 Sep 10  1998 mp3info-0.2.16/src/mp3info-0.2.16/COPYING
[generic]                  176     223  78.9% -lh5- dedc Jun  3  1997 mp3info-0.2.16/src/mp3info-0.2.16/debian/changelog
[generic]                  356     564  63.1% -lh5- 0580 Jun  3  1997 mp3info-0.2.16/src/mp3info-0.2.16/debian/control
[generic]                  150     177  84.7% -lh5- 70e1 Jun  3  1997 mp3info-0.2.16/src/mp3info-0.2.16/debian/copyright
[generic]                  588    1146  51.3% -lh5- 6d19 Jun  3  1997 mp3info-0.2.16/src/mp3info-0.2.16/debian/rules
[generic]                   39      39 100.0% -lh0- 2a00 Mar 19  1999 mp3info-0.2.16/src/mp3info-0.2.16/INSTALL
[generic]                 2229    5584  39.9% -lh5- 1fe6 Sep 10  1998 mp3info-0.2.16/src/mp3info-0.2.16/install-sh
[generic]                 1107    3047  36.3% -lh5- edea Mar 19  1999 mp3info-0.2.16/src/mp3info-0.2.16/layer.cxx
[generic]                 3215    9931  32.4% -lh5- 311c Feb  8  2003 mp3info-0.2.16/src/mp3info-0.2.16/Makefile
[generic]                  225     368  61.1% -lh5- 5b37 Mar 19  1999 mp3info-0.2.16/src/mp3info-0.2.16/Makefile.am
[generic]                 3202    9824  32.6% -lh5- faf9 Mar 19  1999 mp3info-0.2.16/src/mp3info-0.2.16/Makefile.in
[generic]                 2089    6274  33.3% -lh5- 81fa Sep 10  1998 mp3info-0.2.16/src/mp3info-0.2.16/missing
[generic]                  385     732  52.6% -lh5- ccfc Sep 10  1998 mp3info-0.2.16/src/mp3info-0.2.16/mkinstalldirs
[generic]                  406     792  51.3% -lh5- 8dd6 Mar 19  1999 mp3info-0.2.16/src/mp3info-0.2.16/mklsm
[generic]                  947    2517  37.6% -lh5- 7ebc Mar 19  1999 mp3info-0.2.16/src/mp3info-0.2.16/mp3file.cxx
[generic]                 1287    5038  25.5% -lh5- 79e9 Mar 19  1999 mp3info-0.2.16/src/mp3info-0.2.16/mp3format.cxx
[generic]                18005   37472  48.0% -lh5- 8a88 Feb  8  2003 mp3info-0.2.16/src/mp3info-0.2.16/mp3info
[generic]                 1396    2872  48.6% -lh5- c6bd Mar 19  1999 mp3info-0.2.16/src/mp3info-0.2.16/mp3info.1
[generic]                 2201    6693  32.9% -lh5- bf9e Mar 19  1999 mp3info-0.2.16/src/mp3info-0.2.16/mp3info.cxx
[generic]                  900    2352  38.3% -lh5- cd7f Jan 19  1998 mp3info-0.2.16/src/mp3info-0.2.16/mp3info.hxx
[generic]                  297     556  53.4% -lh5- c8fd Mar 19  1999 mp3info-0.2.16/src/mp3info-0.2.16/mp3info.lsm
[generic]                  480     818  58.7% -lh5- eed5 Mar 19  1999 mp3info-0.2.16/src/mp3info-0.2.16/mp3info.spec
[generic]                   13      13 100.0% -lh0- 847b Mar 19  1999 mp3info-0.2.16/src/mp3info-0.2.16/NEWS
[generic]                 2309    4635  49.8% -lh5- 1656 Mar 19  1999 mp3info-0.2.16/src/mp3info-0.2.16/README
[generic]                 1738    5390  32.2% -lh5- 6cde Mar 19  1999 mp3info-0.2.16/src/mp3info-0.2.16/tag.cxx
---------- ----------- ------- ------- ------ ---------- ------------ -------------
 Total        38 files   95530  238263  40.1%            Feb  9  2003
Page generated in 0.01 seconds
Aminet © 1992-2024 Urban Müller and the Aminet team. Aminet contact address: <aminetaminet net>