Beefy Boxes and Bandwidth Generously Provided by pair Networks
Do you know where your variables are?
 
PerlMonks  

Re: I need help about MP3::Tag and perl script.

by Popcorn Dave (Abbot)
on Mar 30, 2011 at 01:54 UTC ( #896311=note: print w/ replies, xml ) Need Help??


in reply to I need help about MP3::Tag and perl script.

Are you sure you have data in $mp3 to begin with? That's the first place I'd check. Make sure you're actually reading the tag.

If you've got an ID3v2 tag only you may not have any data in $mp3.


To disagree, one doesn't have to be disagreeable - Barry Goldwater


Comment on Re: I need help about MP3::Tag and perl script.
Re^2: I need help about MP3::Tag and perl script.
by osmy (Initiate) on Mar 30, 2011 at 02:01 UTC
    It's Id3tag v2. I want to change all Id3tags (v1 and v2) tag automatically with this script. But how =(
      not tested, just quick look into doc:
      $id3v1 = exists $mp3->{ID3v1} ? $mp3->{ID3v1} : $mp3->new_tag("ID3v1")
        could you please write down the full script so I can look and inspect it. I am new at perl scripting. Also if mp3 file has idtagv2 does this script auto recognize and edit it? Also where should I enter Artist Title etc value. Thanks for your response by the way!

Log In?
Username:
Password:

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

How do I use this? | Other CB clients
Other Users?
Others contemplating the Monastery: (7)
As of 2014-08-22 00:50 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    The best computer themed movie is:











    Results (145 votes), past polls