Beefy Boxes and Bandwidth Generously Provided by pair Networks
Syntactic Confectionery Delight

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]
[Discipulus]: how I can tell in which perl version was included List::Util 1.29 ?
[Discipulus]: to specify use 5.0.x to be sure to have pairmap from the module..
[Corion]: Discipulus: I think Module::Corelist ( or corelist ) can tell you that
[Corion]: Meh - Module::CoreList
[choroba]: Just use List::Util 1.29
[choroba]: Be kind to people using old Perl with newer version of the module
[Corion]: But why not simply specify 'List::Util' => 1.29 in your prerequisites? People might install a more recent version of the module into their Perl
[Corion]: (what choroba said)

How do I use this? | Other CB clients
Other Users?
Others chanting in the Monastery: (6)
As of 2017-05-25 09:19 GMT
Find Nodes?
    Voting Booth?