Beefy Boxes and Bandwidth Generously Provided by pair Networks
Clear questions and runnable code
get the best and fastest answer

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.

Replies are listed 'Best First'.
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?

What's my password?
Create A New User
Node Status?
node history
Node Type: note [id://896311]
and all is quiet...

How do I use this? | Other CB clients
Other Users?
Others having an uproarious good time at the Monastery: (3)
As of 2017-03-01 18:56 GMT
Find Nodes?
    Voting Booth?
    Before electricity was invented, what was the Electric Eel called?

    Results (428 votes). Check out past polls.