Beefy Boxes and Bandwidth Generously Provided by pair Networks
Don't ask to ask, just ask
 
PerlMonks  

Re^2: Help with reading MP3's

by StarkRavingCalm (Sexton)
on Aug 25, 2011 at 01:23 UTC ( #922242=note: print w/ replies, xml ) Need Help??


in reply to Re: Help with reading MP3's
in thread Help with reading MP3's

Output:

"Can't call method "get_tags" on an undefined value"

I haven't tried mp3info2 as all the script I have found use MP3Tag


Comment on Re^2: Help with reading MP3's
Re^3: Help with reading MP3's
by toolic (Chancellor) on Aug 25, 2011 at 03:11 UTC
    Let's assume you have an mp3 file named "file.mp3".
    use MP3::Tag; use warnings; use strict; use Data::Dumper; my $file = 'file.mp3'; my $mp3 = MP3::Tag->new($file); $mp3->get_tags(); print Dumper($mp3);
    Substitute "file.mp3" with whatever your mp3 file name is.

    perlintro

Log In?
Username:
Password:

What's my password?
Create A New User
Node Status?
node history
Node Type: note [id://922242]
help
Chatterbox?
and the web crawler heard nothing...

How do I use this? | Other CB clients
Other Users?
Others cooling their heels in the Monastery: (10)
As of 2014-09-23 22:08 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    How do you remember the number of days in each month?











    Results (241 votes), past polls