Friday, June 29, 2012
MP3 tagging with Perl
#!/usr/bin/perl
use strict;
use warnings;
use MP3::Tag;
use File::Basename;
my $Directory = ".";
while (<$Directory/*.mp3>) {
my ($FileName) = basename($_, '.mp3');
my $Mp3 = MP3::Tag->new($_);
$Mp3->title_set($FileName);
$Mp3->artist_set('Artist');
$Mp3->album_set('Album');
$Mp3->year_set('2012');
$Mp3->update_tags();
print "Filename: $_\n";
print "Artist: " . $Mp3->artist . "\n";
print "Title: " . $Mp3->title . "\n";
print "Album: " . $Mp3->album . "\n";
print "Year: " . $Mp3->year . "\n";
print "Genre: " . $Mp3->genre . "\n";
$Mp3->close();
}
__END__
Friday, June 8, 2012
How do I add the Bloomberg Excel Add-in to Excel?
- Open Excel
- Go to Tools menu
- Select Addins, then Browse
- Select: C:\blp\API\Office Tools\BloombergUI.xla
- After selecting the add-in the Bloomberg Excel tools should appear checked in your add-ins list. Close the add-ins and the toolbar should appear.
Subscribe to:
Posts (Atom)