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 hawtin (Prior)
on Mar 30, 2011 at 11:31 UTC ( #896377=note: print w/replies, xml ) Need Help??


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

One obvious issue would be if you don't have write permission on the file. Check with

use Carp; my $file = '1.mp3'; croak("Cannot write to file $file") if(!-w $file);

You might like to check some of the resources here, for example Fixing mp3 tags for Android 2.0 contains a tested script that uses MP3::Tag to set values in pretty much the way you want.

Log In?
Username:
Password:

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

How do I use this?Last hourOther CB clients
Other Users?
Others examining the Monastery: (8)
As of 2023-12-07 14:00 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?
    What's your preferred 'use VERSION' for new CPAN modules in 2023?











    Results (32 votes). Check out past polls.

    Notices?