Click here to get back home

how to install/use MP3::Tag in Windows environment?

 HomeNewsGroups | Search | About
 comp.lang.perl.modules    Post an article   get this group's latest topics as an RSS feed add this group's latest topics to your My MSN content add this group's latest topics to your My Yahoo content
Subject Author Date
how to install/use MP3::Tag in Windows environment? Ozmodiar 02-06-2007
Posted by Ozmodiar on February 6, 2007, 6:57 pm
Please log in for more thread options


ahoy:

i am working on a project in Windows XP where i must read MP3 file ID3v2
information (particularly long (>30 char) Artist and Title)

(This is perl, v5.8.0 built for MSWin32-x86-multi-thread)


i was able to install and use MP3::Info, by downloading the source to
mp3-info.ppm and doing
C:\Perl> ppm install mp3-info

i could access this from my perl code and it seemed to work as advertised,
but this module does not let me get at the long artist/title information.


it looks like the module i really want is MP3::Tag
http://search.cpan.org/~ilyaz/MP3-Tag-0.9709/Tag.pm

i'm not a windows/perl heavy and don't understand how to go from the
downloadable
modules/MP3-Tag-0.9709.tar.gz
file, to getting this installed from DOS command prompt (C:\Perl>)

i used Stuffit to extract the contents into my Perl dir
then did
C:\Perl> perl Makefile.pl
(got back:
Writing Makefile for MP3::Tag
Writing Makefile for MP3::Tag
)

then i did
C:\Perl> ppm install Tag
(got back:
Error: 'Tag' not found. Please 'search' for it first.
)

Tag.pm is in my working dir, as are folders: /examples, /Tag, /tk-tag
don't know why "not found" (or what i'm really doing).

can anyone baby-talk me through this?


thanks very much,
-rr



Posted by John Bokma on February 6, 2007, 7:23 pm
Please log in for more thread options




> i used Stuffit to extract the contents into my Perl dir
> then did
> C:\Perl> perl Makefile.pl
> (got back:
> Writing Makefile for MP3::Tag
> Writing Makefile for MP3::Tag
> )
>
> then i did
> C:\Perl> ppm install Tag
> (got back:
> Error: 'Tag' not found. Please 'search' for it first.
> )

Yup, wrong.

See http://johnbokma.com/perl/make-for-windows.html
for baby steps :-)


--
John Experienced Perl programmer: http://castleamber.com/

Perl help, tutorials, and examples: http://johnbokma.com/perl/

Posted by Jim Carlock on February 6, 2007, 11:35 pm
Please log in for more thread options


: See http://johnbokma.com/perl/make-for-windows.html
: for baby steps :-)

I noticed a link on that page there. It uses the long version of the kbid
link.

http://support.microsoft.com/default.aspx?scid=kb;en-us;Q132084

Pretty much ALL kbid (scid) links at microsoft can be compressed
and made workable. Drop the Q before the number and delete all
up to the 'question mark' (?). Then delete the page name itself, they
typically are named default.asp or default.aspx these days. The end
result, the links get quite a bit shorter and the same content gets
delivered to the end user. This makes your own pages smaller and
faster. The link presented at the website (as listed above) can be
shortened to the following...

http://support.microsoft.com/?kbid=132084

It's been that way since 1999 (and possibly earlier).

Don't know if such things interest anyone, but if they set up a lot
of links to Microsoft...

--
Jim Carlock
Post replies to the group.



Posted by Sisyphus on February 6, 2007, 10:26 pm
Please log in for more thread options



.
.
> then i did
> C:\Perl> ppm install Tag
> (got back:
> Error: 'Tag' not found. Please 'search' for it first.
> )

All you need do is (while connected to the internet) run:
ppm install MP3-Tag

For ppm installations there's no need to download the CPAN source (or
anything else ftm).

Cheers,
Rob



Posted by Ozmodiar on February 6, 2007, 11:57 pm
Please log in for more thread options



>
> .
> .
>> then i did
>> C:\Perl> ppm install Tag
>> (got back:
>> Error: 'Tag' not found. Please 'search' for it first.
>> )
>
> All you need do is (while connected to the internet) run:
> ppm install MP3-Tag
>
> For ppm installations there's no need to download the CPAN source (or
> anything else ftm).
>
> Cheers,
> Rob
>

that was sweet!
got it all working in no time after that.

thank you *very* much!
-rr




Similar ThreadsPosted
Is there a way to find a complied net:ssh2 module for ms windows environment September 18, 2007, 1:48 pm
Is there a way to find a complied net:ssh2 module for ms windows environment September 18, 2007, 1:48 pm
modulespath via environment-variable ? February 21, 2005, 2:19 am
mod_perl and access to the parent processes environment? July 19, 2006, 4:41 pm
Passing Environment and ExtUtils::MakeMaker options to CPAN methods August 5, 2005, 8:42 am
A c program which printing the tag value of a xml file using expat parser in linux environment October 25, 2007, 7:05 am
Is it possible to use a custom perl binary inside a prebuilt apache/mod_perl environment? April 24, 2007, 5:15 pm
Where to get DBD::pg for Windows? January 12, 2005, 1:02 pm
Net::SFTP on Windows March 21, 2005, 9:55 pm
Windows: Perl:XS July 6, 2005, 4:57 am

Our other projects:

Art Dolls, Fairies and Mermaids - Sunnyfaces.net

Roy's Linux, Programming and Search Engines messages

1-Script XML SitemapXML Sitemap