Beefy Boxes and Bandwidth Generously Provided by pair Networks
Syntactic Confectionery Delight
 
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 chanting in the Monastery: (14)
As of 2014-10-21 20:24 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    For retirement, I am banking on:










    Results (110 votes), past polls