Beefy Boxes and Bandwidth Generously Provided by pair Networks
good chemistry is complicated,
and a little bit messy -LW
 
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
Replies are listed 'Best First'.
Re^3: Help with reading MP3's
by toolic (Bishop) 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 surveying the Monastery: (12)
As of 2015-08-31 16:19 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    The oldest computer book still on my shelves (or on my digital media) is ...













    Results (358 votes), past polls